StackScraper is a user script that adds HTML and JSON export options to each question. The JSON loosely resembles the API format and includes the HTML and markdown bodies of all posts, as well as their comments and vote counts (if you have permission to view them). The HTML displays the content similarly to Stack Exchange and includes the necessary attribution. Comments are included, but initially hidden.

As an example, here are the JSON and HTML dumps of a deleted question.


Released under the MIT Open Source License.


Click here to install or update StackScraper.


  • Google Chrome, probably
  • Mozilla Firefox + Greasemonkey, possibly

(Not well-tested yet.)


StackScraper was written by me, Jeremy Banks. Feedback and bug reports can be posted as comments or answers below.


StackScraper was written in CoffeeScript. You can view or contribute to the source here on GitHub.

  • Bug Mangles owner of this wiki question.
    – Jeremy
    Commented Mar 18, 2012 at 3:07
  • TODO Fetch revisions list for wiki posts in order to always correctly determine owner/editors.
    – Jeremy
    Commented Mar 18, 2012 at 3:11
  • TODO Stop making requests as soon as you get blocked.
    – Jeremy
    Commented Mar 18, 2012 at 3:30

1 Answer 1


The script is not working.

  1. .post-menu is now .js-post-menu
  2. BlobBuilder was deprecated.

On my copy, I applied corrections to fix the above. That was enough to get an output. There are still other changes, like updating the other classes' names, but I'm unfamiliar with CoffeeScript.


You must log in to answer this question.

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