Site guide · tested 2 December 2026

Scrape Stack Overflow questions into a spreadsheet.

Open a question list or a tag, click the icon, and each question is a row: title, link, votes, answers, views, an excerpt, the tags and when it was asked. The numbers each arrive twice, once as a bare figure, and this guide says which column to keep.

Clip recorded 4 November 2026 on questions tagged python. Run again 2 December 2026 with version 2.1.5: 15 rows and 27 columns on the first page, 45 rows over 3 pages in 9 seconds. Download the GIF

Which Stack Overflow column is which

Stack Overflow’s list has no header row, so the names come from its markup. Twelve of the 27 are worth keeping. Values are from the first question tagged python.

ColumnWhat it holdsFrom our run
TitleThe questionControlled, atomic cancellation in sympy
UrlThe question’s pagestackoverflow.com/questions/80019790/controlled-atom…
Upvote CountThe score as a number; can be negative4
Answer CountNumber of answers. Blank when there are none1 (filled on 8 of 15 rows)
Post Summary 3Views as a number, on questions that have answers. On questions with none, this cell holds the 0 and the views are in Post Summary 583
Text 4The first lines of the questionI have a complicated rational expression in sympy that looks…
KeywordsThe tags, comma-separatedpython, sympy
Keywords LinkEach tag’s pagestackoverflow.com/questions/tagged/python …
RelativetimeWhen it was asked, as the page words it4 hours ago
Link TextThe asker’s display name(a username)
Todo No Class HereThe asker’s reputation. The odd name is Stack Overflow’s own markup322
Text, Text 2, Text 3The same three figures with words: “Score of 4”, “1 answer”, “83 views”. Drop themScore of 4

The Stack Overflow pages we ran

Question lists all share one layout. The tags index is a different list and reads as one too.

PageReadNote
Newest questions15 rows, 27 columns; 45 rows over 3 pagesFollows the Next link; three pages in 9 seconds.
Questions tagged python15 rows, 27 columnsThe same columns. Every tag page works the same way.
The tags index36 rows, 9 columnsTag name (in a column called Gps Track), its description, total questions (“2521458 questions”), asked today and this week.

From a tag to a spreadsheet

01

Open a list

Newest, a tag, or a tag with a sort such as Votes or Unanswered. Set the per-page number at the bottom of the page to 50 first and each page gives 50 rows, not 15.

02

Click the icon

Fifteen questions and 27 columns on the default page size.

03

Keep twelve columns

The ones in the table above. Click the other headers to leave them out; they are avatars, labels and repeats.

04

Start crawling, then export

Next is followed automatically. Set a page limit unless you really want all of a tag: python alone has more than two million questions.

What a question’s own page adds: not much, signed out

Drill-down on the Url column opened the first question and came back with 7 fields: the page title, its link, an excerpt of the question as the description, and little else. The page’s main heading read “Join Stack Overflow”, the sign-up prompt the site shows to visitors who are not logged in.

So in our signed-out run, the answers and the full question body did not come through as fields. The extension reads the page as your browser shows it, so being signed in to Stack Overflow may give a different result; we tested signed out only.

For most uses the list is the data: titles, votes, answer counts, views and tags are all there without opening anything.

What to know about Stack Overflow data

No answers means a blank, not a zero. Answer Count was filled on 8 of 15 rows; the other seven questions had no answers. Fill blanks with 0 in your spreadsheet before you average.

Views sit in two columns. Stack Overflow marks up a question with answers differently from one without, so the columns do not line up: an answered question has its views in Post Summary 3, an unanswered one in Post Summary 5 (and a 0 in Post Summary 3). After exporting, make one Views column from the two. The same goes for the worded versions, Text 3 and Count.

Every figure arrives twice. Votes are in Text (“Score of 4”) and Upvote Count (4). Keep the bare numbers.

Times are relative. “4 hours ago” is true when you click and wrong tomorrow. Note the date of your run.

Stack Overflow has an official data route too. For bulk analysis of millions of posts, the Stack Exchange Data Explorer and data dumps are the right tool. The extension is for the list in front of you: a tag’s recent questions, a search, the unanswered queue.

Questions about scraping Stack Overflow

Which columns hold the votes, answers and views?

Upvote Count is the score and Answer Count the answers, each as a plain number. Views are in Post Summary 3 for questions that have answers and in Post Summary 5 for those that have none; combine the two after exporting.

Why is Answer Count empty on some rows?

Those questions have no answers yet. Stack Overflow marks up “0 answers” differently from “1 answer”, so the number column stays blank: 7 of our 15 rows.

Can it get more than 15 questions?

Yes. Start crawling follows Next: 45 questions over three pages took 9 seconds. Choosing 50 per page at the bottom of Stack Overflow’s list first makes each page bigger.

Can it export the answers to each question?

Not in our run. Signed out, a question’s page gave only its title and an excerpt through drill-down. The list itself has the answer count.

Related: DEV · Hacker News · Reddit · every site guide. Whether you may collect from a site is between you and that site; see what the law and the terms say.