Scrub Tools · free, private data tools

HTML Table to CSV

Copy a table from any web page and paste it here, or paste the page's HTML source, and download each table as a clean CSV. Merged cells are spread out so every row has the same number of columns. The HTML is read in your browser and never uploaded.

Paste a copied table here (select the table on a web page, copy, then click below and paste):

How it works and privacy

The pasted HTML is read with the browser's built-in parser, which does not run scripts or load images from it. Each table's rows and cells are read, merged cells are expanded into a grid, and the grid is saved as CSV. The page is plain HTML and JavaScript that runs on your device: your data is read and processed in this browser tab and is never uploaded, stored on a server or shared. There are no tracking cookies. The only network request this page can make is the optional Pro license check, which sends just your license key to Gumroad.

How to use

  1. On the web page, select the table with your mouse and copy it (Ctrl+C or Cmd+C).
  2. Click the paste box here and paste (Ctrl+V or Cmd+V). Or paste the page's HTML source into the second box and press Find tables.
  3. Check the preview of each table found.
  4. Press Download CSV under the table you want.

Free and Pro

Free: the first table on the page, up to 200 rows. Pro: every table, unlimited rows.

Questions

How do I copy a table from a website into Excel or Google Sheets?

Select the table on the page, copy it, paste it into the box above and download the CSV. Excel and Google Sheets open CSV files directly, and the columns stay lined up because merged cells are expanded first.

What happens to merged cells (colspan and rowspan)?

A cell that spans several columns or rows is spread out over all of them, so the CSV is a clean grid. By default its text is repeated in each covered cell; untick the option to leave the extra cells blank instead.

Can it grab a table from a URL?

No. Fetching other websites would mean sending requests from this page, and the tool is built to make no network calls with your data. Open the page yourself, copy the table or view the page source, and paste it here.

Does it work with tables copied from Excel or Google Sheets?

Yes. Those copy as HTML or as tab-separated text, and both are understood.

Is anything I paste uploaded?

No. The HTML is read by your own browser, which does not run scripts or load images from it. Nothing is sent to a server.

More free tools