Site guide · tested 2 December 2026
Scrape a Wikipedia table into a spreadsheet.
Open the article and click the icon. The table comes out with its own headers as column names, headers that span two rows joined into one, and every linked cell’s address in a column beside it.
Clip recorded 4 November 2026 on List of largest cities. Run again 2 December 2026 with version 2.1.5: 85 rows and 17 columns. Download the GIF
How Wikipedia’s headers become columns
From List of largest cities, whose table has headers on two rows. The values are Jakarta’s row.
| Column | What it holds | From our run |
|---|---|---|
| City | A plain header, kept as it is | Jakarta |
| City Link | The address of the article the cell links to | en.wikipedia.org/wiki/Jakarta |
| Country | Text of the cell, without the flag | Indonesia |
| Country Image | The flag’s image address | thumb.wikimedia.org/…/Flag_of_Indonesia… |
| UN 2025 Population | A one-row header | 41,913,860 |
| City proper Definition | Two header rows joined: “City proper” over “Definition” | Special region |
| City proper Population | The same group, next column | 10,154,134 |
| City proper Density (/km2) | Footnote markers stay in the cell | 15,292[14] |
| Urban area Population | Second group of the two-row header | 33,756,000 |
| Metropolitan area Area (km2) | Third group; units stay in the name | 7,063 |
The four articles we ran
Three read correctly at the first click. One needed Another table, and it is worth knowing why.
| Page | Read | Note |
|---|---|---|
| List of largest cities | 85 rows, 17 columns | Two-row headers joined; every cell filled. |
| Countries by population (United Nations) | 238 rows, 10 columns | The first row is “World”, the table’s own total line. |
| Largest companies by revenue | 50 rows, 14 columns | One header came out as “Headquarters[note 1]”, footnote and all. |
| List of tallest buildings | 98 rows, 18 columns, after choosing Another table | The first pick was the article’s 218 references. Wrong list? → Another table gave the buildings. |
From an article to a spreadsheet
Open the article
Any Wikipedia article with a table: a list of countries, a filmography, a season’s results.
Click the icon
The list with the most rows is picked first. On most articles that is the table you came for.
If it isn’t, press Another table
Under Wrong list?. Each press moves to the next list on the page. The tallest buildings article had the main table second and the 64-row “by pinnacle height” table third.
Tidy and export
Click a header to leave a column out (the image columns, usually), double-click to rename one. Then CSV, Excel, JSON or a new Google Sheet.
Opening every linked article
A Wikipedia table is a list of links, and drill-down can follow them. On the population table we pointed it at the Country or territory Link column and it read 40 fields from the first linked article (World population), including the page’s title, its last-modified date, its main image and the figures in that article’s own tables.
What comes back depends heavily on the article, because Wikipedia articles are not laid out alike, so the columns from one row may be empty on the next. Try it on the three free rows and keep the columns that are filled on all three.
What to know about Wikipedia tables
Long reference lists can win. The first pick is the list with the most rows, and an article with 218 citations has a bigger list at the bottom than the table at the top. If your columns are called Jump Up and Citation, you have the references: press Another table.
Footnote markers stay. “15,292[14]” and “Headquarters[note 1]” are what the cells say. In Excel, Find and Replace with [*] as the search removes them all at once.
Numbers keep their commas, so 41,913,860 arrives as text in some spreadsheet settings. Excel usually converts on open; in Google Sheets, format the column as a number.
Total rows come too. The population table’s first row is World. Remove it in the preview (the × on its row) before exporting if you plan to sum the column.
Questions about Wikipedia tables
It picked the references and not the table. What now?
Click Wrong list? then Another table. The first pick is the list with the most rows, and on a heavily cited article that can be the reference list. On List of tallest buildings one press gave the 98-row table.
How do I get the second or third table on a page?
The same button. Each press of Another table moves to the next list; the tallest buildings article offered the 98-row main table, then a 64-row one, then 46, 43 and 32.
Do merged header cells work?
Yes. A header that spans two rows is joined into one name, so “City proper” over “Population” becomes City proper Population.
Does it work on Wikipedia in other languages?
The reading is the same in any language, since it goes by the table’s structure. We ran these four on English Wikipedia; see the guide to sites in other languages.
Related: Any table to Excel · Straight to Google Sheets · Yahoo Finance · every site guide. Whether you may collect from a site is between you and that site; see what the law and the terms say.