TTable to SheetsAdd to Chrome — free

2026-06-18 · Table to Sheets guide

How to export a Wikipedia table to a spreadsheet (CSV or Google Sheets)

Wikipedia is full of tidy, sourced tables — List of countries by GDP (nominal), every Grand Slam singles champion, populations, medal counts, box-office rankings. The good news for anyone trying to pull one into a spreadsheet: Wikipedia tables are real HTML <table>s, not JavaScript-rendered grids. That means you have more than one way to get them out — including a free built-in one. The catch is what comes with the data: footnote markers like [1] and numbers formatted with commas that land in your spreadsheet as text. Here's how to get a Wikipedia table into Google Sheets or Excel cleanly.

Option 1: =IMPORTHTML (free, works on Wikipedia)

Because Wikipedia's tables are static HTML, Google Sheets' built-in =IMPORTHTML function genuinely works on them. This is worth knowing — it's free and needs no extra software.

`` =IMPORTHTML("https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)", "table", 2) ``

The three arguments are the page URL, "table" or "list", and the index (1st table on the page, 2nd, and so on). Wikipedia pages often start with an infobox or a navigation box, so the table you want is rarely index 1 — step through 2, 3, 4 until the right one appears.

It pulls the rows in fine. What it doesn't do is clean them up:

So IMPORTHTML is a fine free option for Wikipedia's static tables — just expect to do cleanup afterward.

Option 2: copy and paste (and why it fights you)

The obvious move is to select the table on the page and paste it into Sheets or Excel. It sometimes works, but Wikipedia tables are exactly the kind that break it:

You usually spend more time fixing the paste than the paste saved you.

Option 3: a browser extension — clean export in one click

Table to Sheets reads the table directly in your browser, off the page you're already looking at. Open the Wikipedia article, click the toolbar button, and it lists every table on the page so you can pick the exact one you want — no index guessing.

From there:

It runs only when you click (it uses activeTab), reads the page's rendered HTML — no screenshots, no OCR — and doesn't track you. Because it reads the table's real structure, your columns stay aligned.

The honest comparison: for Wikipedia's plain, public tables, IMPORTHTML already does the fetching for free, and you can clean up the footnotes and commas yourself. The extension's edge is doing that cleanup automatically in one click — and the fact that the same button also works on the many sites where IMPORTHTML fails (JavaScript-rendered dashboards, stats pages, and anything behind a login), which Wikipedia happens not to be.

The short version

Get Table to Sheets — free

Export any table on any web page to a clean CSV in one click. Free and unlimited — no row caps. One click to Google Sheets with Pro.

Add to Chrome