I'm interested in downloading a backup of all my questions and answers on all Stack Exchange sites in the form of markdown files. I'm already aware of this SE data explorer query, but this downloads all of my questions and answers into a CSV file. I'm also aware of this question that was asked over 10 years ago, but I did not see any recent answers. Does there exist an app that does this? Or would I need to make one?

  • 1
    Have you tried submitting a GDPR access and/or data portability request?
    – Makyen
    Commented Jan 14 at 19:28
  • @Makyen yes, but it doesn't seem to download my questions and answers in the form of Markdown files.
    – mhdadk
    Commented Jan 15 at 6:14
  • Are you saying it doesn't provide the Markdown? Or, are you saying that it just doesn't separate the Markdown for each question or answer into a separate file?
    – Makyen
    Commented Jan 15 at 6:31
  • @Makyen the Markdown is embedded inside json files that are difficult to parse. Also, as you mentioned, the Markdown is not separated into separate question and answer files. I'm currently working on my own solution to do this using the Stack API, so we'll see how it goes...
    – mhdadk
    Commented Jan 15 at 13:48

1 Answer 1


I created a Python script that does what I want. The announcement for it can be found here, and the code itself with instructions on how to use it can be found here: https://github.com/mhdadk/stack-exchange-backup

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .