How to download a Wikipedia table as CSV or Excel
Open the Wikipedia article, run LightCube Data Extractor, choose Tables, select the table (usually the largest one, not the infobox) and click CSV or Copy. Then remove footnote markers like [1] with Find and Replace in your spreadsheet.
Do this in one click with LightCube Data Extractor, a free Chrome extension. No account needed.
Add to Chrome, free ↗Step by step
- Open the article and scroll to the table you want.
- Click the extension, then Extract Tables.
- Choose the table by size; the infobox is usually a small 2-column table.
- Click CSV or Copy.
- In Excel or Sheets, use Find and Replace with a wildcard or regex to remove footnote markers.
Cleaning tips
- Footnotes: in Google Sheets, find
\[\d+\]with regex and replace with nothing. - Sortable tables sometimes include hidden sort keys; delete any duplicate columns.
- Merged cells (rowspan) leave blanks; fill down if needed.
Reuse and licence
Wikipedia text is available under a Creative Commons licence that requires attribution. If you publish the data, credit the article.
Alternative for live data
In Google Sheets, =IMPORTHTML(url, "table", n) can load public Wikipedia tables and refresh them. The extension is simpler when you just need a snapshot.
FAQ
- Which table number is it?
- Pick by size in the extension list; no need to count tables.
- Will links in cells be kept?
- Table mode exports cell text. Use Links mode to get URLs.
- Is it free?
- Yes, table export is free with no daily cap.
Related guides
Updated 2026-11-11.