LightCube Data Extractor Add to Chrome ↗

Export a Wikipedia table to Google Sheets

Two easy ways. In Sheets, =IMPORTHTML("page URL", "table", 1) pulls the first table and refreshes. Or open the article, use LightCube Data Extractor, pick the table, click Copy and paste into A1. The extension is easier when the article has many tables and you are not sure of the index.

Do this in one click with LightCube Data Extractor, a free Chrome extension. No account needed.

Add to Chrome, free ↗

Step by step

  1. Open the Wikipedia article.
  2. Use the extension: Tables, pick the table from the list, Copy.
  3. In Google Sheets, click A1 and paste.
  4. Or type =IMPORTHTML("URL","table",N) and adjust N until the right table appears.

Cleaning Wikipedia data

  • Remove footnote markers like [1] with Find and replace using a regular expression such as \[\d+\].
  • Convert numbers with commas using VALUE or Format > Number.
  • Check merged header cells, which may become two rows.

Which to use

IMPORTHTMLExtension
RefreshesYesNo
Choosing a tableBy index numberFrom a list with preview
Sortable tablesWorksWorks

Licensing

Wikipedia text is under a Creative Commons license that requires attribution. Credit the article if you republish the data.

FAQ

Why does IMPORTHTML show the wrong table?
The index counts every table, including navigation boxes; try other numbers.
Can I export to CSV instead?
Yes, click CSV. See the Wikipedia CSV guide.
Is the extension free?
Yes.

Related guides

Updated 2026-11-11.

Stop retyping
tables.

Add to Chrome, free ↗

Free, no account. Web exporter Pro is $9 once.