# How to export Hacker News comments to CSV

Hacker News threads are where developers and founders say what they really think about a product. The site has no export button, but its data is open, so this is one of the easier sources to get into a spreadsheet. Here are three ways to do it and how to read the result.

Source: https://commentdownloader.com/how-to-export-hacker-news-comments . Updated 19 November 2026. By Liran Blumenberg, maker of Comment Downloader.

## Quick answer

To export Hacker News comments, copy the thread link (news.ycombinator.com/item?id=...) and paste it into Comment Downloader. It reads the whole thread through the public Algolia Hacker News API and saves author, date, comment text, whether each one is a reply, and a link to every comment, as a CSV. It is free and needs no Hacker News account.

## Your options compared

| Method | What you get | Catch |
|---|---|---|
| Copy and paste | Any comment on the page | Long threads take ages and lose the reply structure |
| Official HN API | Every item, one request at a time | You fetch each comment by its id and walk the tree yourself; there is no search |
| Algolia HN API | A whole thread as a tree in one request, plus search | You still write code to flatten it into rows |
| Comment Downloader | The whole thread as a CSV, replies under their parent | Comments carry no points, because the data does not include them |

The official API is documented on [GitHub](https://github.com/HackerNews/API) and says there is currently no rate limit. The [Algolia HN Search API](https://hn.algolia.com/api) adds full-text search and returns a full comment tree in one call. Both are free and need no key. If you write code, Algolia is the shorter path. If you just want the file, use a tool.

## Step by step with Comment Downloader

- Open the Hacker News thread and copy its link from the address bar. It ends in item?id= and a number.
- Install the Comment Downloader extension, paste the link and press Collect.
- The thread is read in one request, so even a big one takes seconds.
- Open the collection, filter or search it, then export a CSV, JSON or Markdown file.

If you link to a single comment rather than the story, you get the replies under that comment.

## What the CSV holds

One row per comment, in thread order, with each reply right after its parent.

| Column | What it holds |
|---|---|
| author | Hacker News username |
| posted | Date and time, ISO format |
| likes | Empty: Hacker News does not share comment points |
| is_reply | yes when it answers another comment |
| comment | The text, with paragraphs kept and HTML removed |
| link | Link to that comment on news.ycombinator.com |

Need the tree itself? Under Columns, add the parent id to see which comment each reply answers. The file is UTF-8 with a byte order mark, so Excel shows accents and other languages correctly when you double-click it. Under Columns you can pick your own layout, for example add the item id and the source title when you merge several exports into one sheet.

## Honest limits

- **No comment scores.** Points exist only on the story, so you cannot sort comments by votes. Sort by reply count or read in thread order instead.
- **Deleted and dead comments are skipped.** They have no text to save.
- **Size.** The extension saves up to 5,000 comments a run. On our server a run keeps up to 2,000. Almost every thread fits.
- **One thread per run.** For a topic, collect several threads and compare them.
- **Algolia is a mirror.** A comment posted in the last moments may not be there yet.

Hacker News readers are mostly developers, founders and technical buyers. Their views are sharp and useful for software, but they are not a fair sample of everyday shoppers. Pair them with app store or review site data when you sell to a wider market.

## Turning the export into findings

A CSV is the raw material. The useful part is the pattern: which tools people say they switched from and why, which prices they call fair or absurd, and which features they ask for. Launch threads and "Ask HN" threads are especially rich for B2B and developer products.

- Read the most negative items first. Complaints about a rival are angles for you.
- Group the ones that say the same thing in different words, and count each group.
- Keep the exact phrases people use. They make better hooks than anything you write yourself.

For a quick first pass, paste the text column into the free [comment analyzer](https://commentdownloader.com/tools/comment-analyzer). It shows the most used words and phrases, every question people ask, and the lines that sound like complaints or wishes. It runs in your browser and needs no sign-up.

For the full job, run a Comment Downloader AI report on the collection. It ranks what people complain about, the doubts that stop them buying and what they want, and every finding links to the real quote. See a [sample report](https://commentdownloader.com/sample-report) built from 146 YouTube comments. The free plan includes 5 AI reports a month; plans and credits are on the [pricing page](https://commentdownloader.com/pricing).

## From Claude or ChatGPT

You can also ask an AI assistant to do it through the Comment Downloader connector. Ask "find Hacker News threads about time tracking and tell me what people dislike about the current tools". Hacker News is collected on our server, free, so it works without the extension. The assistant can also find threads for you, then put several into one report. Setup steps for Claude, ChatGPT and other assistants are on the [Claude MCP page](https://commentdownloader.com/claude-mcp-customer-research).

## Questions

**Is there an official Hacker News API?**

Yes. The official API is free and needs no key, but it returns one item at a time. The Algolia HN Search API returns a whole thread in one request and adds search.

**Can I export comment points?**

No. Hacker News does not share points for comments, only for the story, so no tool can export them.

**Do I need a Hacker News account?**

No. The data is public and Comment Downloader reads it without signing in.

**How many comments can I export?**

Up to 5,000 a run in the extension and 2,000 on our server, which covers almost every thread.

**Is it free?**

You can try it free: collecting Hacker News, CSV export and 5 AI reports a month. Paid plans start at $39 a month; more reports use credits.
