Table to CSV Bookmarklet
Free Table to CSV bookmarklet: find every HTML table on a page, preview it, and download it as CSV or copy it for Google Sheets and Excel. No extension.
On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.
The Table to CSV bookmarklet gets data out of web pages and into a spreadsheet without messy copy-paste. Click it and a panel lists every HTML table on the page with its size and a short preview. Pick the one you need and download it as a CSV file, or copy it as tab-separated text that pastes into Google Sheets, Excel or Numbers in perfect columns.
It is made for analysts grabbing statistics from Wikipedia, SEO people exporting ranking or comparison tables, shoppers comparing spec sheets, and developers pulling test data from an admin page. Merged cells are handled properly: colspan and rowspan cells are expanded so every row keeps the same number of columns and nothing shifts out of place.
The CSV is properly quoted (commas, quotes and line breaks inside cells are escaped) and saved as UTF-8 with a byte order mark, so accented characters and currency symbols open correctly in Excel. A Show button scrolls to the table on the page and highlights it so you know you picked the right one.
What it does
- Lists all <table> elements with caption or first-row summary and rows x columns
- Previews the first rows of each table
- Download CSV (RFC 4180 quoting, UTF-8 with BOM for Excel)
- Copy TSV for pasting straight into Google Sheets or Excel
- Expands colspan and rowspan so columns stay aligned
- Show button scrolls to and highlights the table on the page
How to install the Table to CSV bookmarklet
- Show your bookmarks bar. Press
Ctrl+Shift+Bon Windows/Linux orCmd+Shift+Bon a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar. - Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
- Open any website and click the bookmark to run it on that page. Click it again to close it.
Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.
How to use it
- Open the page that contains the table.
- Click Table to CSV and find your table in the list (use Show to confirm).
- Click Download CSV to save a file, or Copy for Sheets and paste into cell A1.
- Repeat for other tables; each has its own buttons.
Tables that do not appear
The bookmarklet reads real HTML table elements. Some modern sites draw "tables" with div grids or load them inside iframes, and those cannot be exported this way; try selecting the data and pasting it into a sheet instead. If a table loads more rows when you scroll or page through it, only the rows currently in the page are exported. Copy for Sheets is usually the fastest route: click it, switch to your spreadsheet, select cell A1 and paste.
Bookmarklet code
This is the exact code inside the button above (8,105 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.
Frequently asked questions
Will the CSV open correctly in Excel?
Yes. It is saved as UTF-8 with a BOM and standard quoting, so Excel shows special characters and commas inside cells correctly.
What is the difference between CSV and Copy for Sheets?
CSV downloads a file; Copy for Sheets puts tab-separated text on your clipboard that pastes into separate cells.
How are merged cells handled?
Colspan and rowspan cells are expanded into a regular grid; the value goes in the first cell and the covered cells are left empty.
Related bookmarklets
Free Page to Markdown bookmarklet: converts an article to clean Markdown with headings, lists, links, tables and code.…
Free Image Extractor bookmarklet: lists every image on a page, including srcset originals, CSS backgrounds and og:image,…
Count DOM elements, nodes and nesting depth on any page, with a sortable per-tag table and Lighthouse DOM-size…
Free Word Counter bookmarklet: count words, characters, sentences and paragraphs on any web page or selection, plus…