Hacker News Scraper

Export Hacker News stories, points and comment counts to a spreadsheet

DataLens is a Chrome extension that turns Hacker News story lists into rows in Excel or CSV. In our test on the front page it collected 40 stories — the 30 on page 1, then it followed the "More" link — with each title and link, the site, points, author, age and comment count.

Free · Runs in your own browser

Related searches: Hacker News scraper · export Hacker News to CSV · scrape HN front page · Hacker News data to Excel · Hacker News top stories list

Updated

Past the first page in one sheet

Hacker News shows 30 stories a page. DataLens follows the "More" link while it collects, so one export can go past the first 30 (our test covered two pages).

Sort by points or discussion

The front page is ordered by HN's own ranking. In a spreadsheet you can sort the same stories by points or by comment count, or count how many stories each site placed.

Links to the story and the thread

Each row keeps the story URL and the HN item URL behind the age and comments, so you can open the discussion for any row later.

Pages it works on

Each page type below was run on the live site. Pages we have not tested are left off.

PageStatusNotes
Front pageWorks40 rows across two pages via the "More" link, signed out.

Sample output

5 of 40 rows from a real DataLens run on the Hacker News front page, November 28, 2026. The export also has an author column, left out here.
TitleLinkSitePointsAgeComments
Unkernel: Real Linux kernel, compiled to WebAssemblyhttps://unkernel.dev/unkernel.dev89 points2 hours ago7 comments
Credit card skimming scripts using WebRTC found on popular shopping siteshttps://www.infohawk.com/news/2026-11-27-black-friday-webrtc-skimmerinfohawk.com483 points14 hours ago249 comments
The Riemann Hypothesis proof written out as readable papershttps://news.ycombinator.com/item?id=506747177 points1 hour agodiscuss
US Air Force's cloud computing platform hackedhttps://news.sky.com/story/us-air-forces-cloud-computing-platform-hacked-13617163sky.com338 points16 hours ago209 comments
Group chat where your AI talks behind your backhttps://construct22.com/construct22.com696 points23 hours ago288 comments

Real-world use cases

A founder whose launch reached the front page exports it each day of launch week to see where their post sat against everything else by points and comments.

A developer-tools marketer exports a few pages of stories and counts which sites and topics reach the front page most often.

A newsletter writer exports the front page every morning and picks the most-discussed stories for that day's issue.

How it works

  1. 1Open the Hacker News front page in Chrome (news.ycombinator.com).
  2. 2Open the DataLens sidebar and ask for the stories, such as "scrape these stories with title, link, site, points, author, age and comments, 60 rows". It shows the columns before it starts.
  3. 3DataLens collects the page, clicks "More" for the next one, and stops at your row count. Export to Excel (.xlsx), CSV or JSON.

Frequently asked questions

Short answers to what people usually ask before installing.

What did your Hacker News test return?

On November 28, 2026, the front page gave 40 rows across two pages. Each row had the story title and link, the site, points (such as "89 points"), the author, the age (such as "2 hours ago") and the comment count (such as "7 comments"), plus the links to the author page and the HN discussion.

Why are some cells not numbers?

DataLens exports what Hacker News shows. Points and comments keep their words ("89 points", "7 comments"); a story with no comments yet shows "discuss" instead of a count; age is relative ("14 hours ago"), not a date; and posts without an external link have no site, so that cell is empty.

Do I need a Hacker News account?

No. Our test ran signed out.

Is the Hacker News scraper free?

DataLens is free to install and new accounts get 400 free points. Points are used as DataLens works: AI scraping is billed by the AI usage of each run, so the cost depends on the page and how many rows you ask for. Current rates are on the pricing page.

30 seconds to start

Install free. Your first table in minutes.

Free Chrome & Edge extension. Sign in and start.

You start with 400 free credits, enough to try your first table. Top up only when you need more.