Guide · Wikipedia · Excel

How to get a Wikipedia table into Excel

Copying a Wikipedia table and pasting it into Excel often gives broken columns, stray footnote numbers and merged cells. Here is what works, free first, and where each method falls short.

Add to Chrome — free
Free: every export, up to 50 rows per scan. Pro: unlimited rows and webhook push, $30 once or $9/month, taxes included.

The free way: Excel's own web import

Excel can read a Wikipedia table without any add-in. On the desktop versions of Microsoft 365 and recent Excel releases:

  1. Open a blank workbook and go to Data > Get Data > From Other Sources > From Web. In older Excel it is Data > From Web.
  2. Paste the article address, for example https://en.wikipedia.org/wiki/List_of_countries_by_population_(United_Nations), and click OK.
  3. In the Navigator window the page's tables are listed as Table 0, Table 1 and so on. Click each one to see a preview.
  4. Pick the right one and click Load to drop it into a sheet, or Transform Data to open Power Query and fix columns first.

This is a good method. It is free, it stays linked to the page, and Data > Refresh All pulls the latest version. Be aware of the limits:

The one-click way with SheetScraper

  1. Open the Wikipedia article in Chrome and click the SheetScraper icon.
  2. Click Auto-Detect Table. If the article has several tables, pick the one you want from the list in the side panel.
  3. Check the preview. Use the column editor to rename, hide or reorder columns before you export.
  4. Click Excel to download a native .xlsx file, then open it. Prefer CSV or JSON? Those buttons sit next to it.
  5. Longer lists: if the table is split over several pages, use Collect pages to merge them into one table.
SheetScraper detecting an encyclopedia-style table of planets and copying it out of the page
Recorded with SheetScraper v1.0.3 on a demo article styled like an encyclopedia page, with sample figures.
Now live in v1.1: native Excel (.xlsx) export, "Collect pages" (clicks Next or scrolls for you, up to 50 pages, merged into one table) and a column editor to rename, hide and reorder columns. Coming in v1.2 (in review): Watch this page, which re-checks a page and tells you when a table changes.

When to use which

Excel From WebSheetScraper
CostIncluded with desktop ExcelFree up to 50 rows per scan; Pro removes the limit
Choosing a tableBrowse Table 0, 1, 2 in a Navigator listAuto-Detect shows each table with a preview in the side panel
Stays linked to the pageYes, with Refresh AllNo, it is a one-time export (Watch this page is coming in v1.2, in review)
Pages you are signed in toNeeds the address; sees the raw pageReads the table in your open tab
OutputStraight into the workbookExcel (.xlsx), CSV, JSON or Copy to Sheets

If you need a live, refreshing link to one known table, use Excel's From Web. If you want to see the table first, grab one of many in a few seconds, or pull a table from a site that Excel's importer cannot read, use SheetScraper. Wikipedia text is shared under the CC BY-SA licence, so credit Wikipedia and link to the article if you publish the data.

Questions

Can I paste a Wikipedia table straight into Excel?

Sometimes. Select the table from its first cell to its last and paste. It often works on simple tables, but footnote numbers, merged header cells and hidden sort icons can break the columns, which is why the methods above exist.

Why does Excel show several tables when I use From Web?

A Wikipedia article usually contains many tables, including layout and navigation boxes. Excel lists them as Table 0, Table 1 and so on. Click each name to preview it until you find the one you want.

Does SheetScraper cost anything?

The free plan covers every export up to 50 rows per scan. Pro removes the row limit and adds webhook push: $30 once for lifetime, or $9 per month, taxes included.

Does it work on languages other than English?

Yes. SheetScraper reads the table on the page you have open, so it works on any Wikipedia language edition and on other websites.

Try it on your own page

I built SheetScraper because copying tables by hand wastes an afternoon. Install it, open a Wikipedia article, click Auto-Detect.

Add to Chrome — free
Free: every export, up to 50 rows per scan. Pro: unlimited rows and webhook push, $30 once or $9/month, taxes included.

More guides