What you get
A run reads one Hacker News thread: a story, an Ask HN, a Show HN, or a single comment opened as its own page. Each comment becomes a row with its author, time, full text, the links written inside it, how deep it sits and the comment it replies to. Every row also carries the story's title, link, points and comment count, so files from several threads stack into one sheet.
Founders keep every comment from their Show HN in one sheet and sort it into questions, objections and requests. Readers pull every link a big "what are you reading" thread recommends from the links column.
Hacker News comment scraper vs other ways to get Hacker News comments
Hacker News has no export button, but it has two free public APIs, so the routes to a file are:
| Method | Which threads | Comments per thread | Cost | Setup |
|---|---|---|---|---|
| This extension | Any thread you open | Every comment and reply, including replies under deleted comments | Free for 500 exported rows a month, Pro 10,000 for $9.99 | Chrome, no account, no code |
| Free Hacker News Thread Exporter | Any thread, from its link | Algolia's tree, which can miss replies under flagged comments | Free | None; CSV only |
| Algolia HN Search API | Any thread, plus search and a user's comments | The whole tree in one request, with the same gaps | Free, no key, up to 10,000 requests an hour per IP | A short script |
| Official HN API | Any story or comment | Every comment, one request each | Free, no key, no rate limit stated | A script that walks the tree |
| Copy and paste | Any thread | What the page has expanded | Free | Depth is lost, and "more" links hide replies |
For many threads, a search, or one user's comments across the site, the APIs are the better fit. For one thread in a spreadsheet, the extension needs no code and checks Algolia's tree against the official API, so replies Algolia leaves out are still there. How to export Hacker News comments has a ready script for the API route.
Only need one thread as a CSV? The free Hacker News Thread Exporter works in your browser with nothing to install. For the official API routes and their trade-offs, read How to export Hacker News comments. For the same job on Reddit, use the Reddit Comments Scraper. Every site is on the review scraper hub.