What this converter does
HTML tables look simple until you try to export one: merged cells shift columns, nested markup
sneaks into values, and multi-table pages make copy-paste useless. This tool parses your HTML
with the browser's own parser, expands colspan and rowspan into a
proper rectangular grid, strips markup from cell values, and lets you export any table — or
all of them — in the format you need.
Supported outputs
- CSV — RFC-4180 quoting, opens cleanly in Excel, Google Sheets and pandas.
- TSV — tab-separated, the most reliable format for pasting into Excel.
- JSON — array of objects keyed by header row (great for APIs and scripts).
- Markdown — pipe tables for READMEs, GitHub issues and docs.
Why use this one?
| Feature | ScrapTheWeb | Typical converters |
|---|---|---|
| Multi-table detection with previews | ✅ | First table only, or manual splitting |
| colspan/rowspan flattening | ✅ Correct grid | Shifted columns |
| Export formats | CSV, TSV, JSON, Markdown | CSV only |
| Processing | In your browser | Server upload, size limits |
| Automation snippet (pandas) | ✅ | ❌ |
Frequently asked questions
How do I convert an HTML table to CSV?
Copy the page source (or just the table markup), paste it above, and every <table> is detected automatically with a preview. Pick the table you want and download it as CSV — or JSON, Markdown, or TSV for Excel.
The page has several tables — can I pick one?
Yes. All detected tables are listed with their size and a preview of the first rows. Click any of them to select it, or export all tables combined into one file.
Does it handle merged cells (colspan / rowspan)?
Yes — merged cells are flattened properly: a cell spanning 3 columns produces 3 CSV cells (value repeated or blank, your choice), and rowspans are carried down into the rows they cover. Most converters get this wrong and shift your columns.
How do I get the HTML of a page to paste here?
In your browser press Ctrl+U (view source), select all and copy. Or in DevTools, right-click the <table> element → Copy → Copy outerHTML. If the table is built by JavaScript, the DevTools method is the one that works.
Is my HTML uploaded to a server?
No. Detection, parsing and conversion all run in your browser. Your data never leaves your device, so it is safe for internal reports and non-public pages.
Can I automate this in Python?
Yes — the tool shows a pandas.read_html() snippet matched to your table selection. For scheduled scraping, that one-liner plus DataFrame.to_csv() replicates what this page does.