HTML Table Extractor
Extract <table> elements from HTML into CSV, TSV, JSON, or Markdown. Picks individual tables when the page has more than one.
How to use
- 1 Paste HTML containing one or more <code class="font-mono text-xs"><table></code> elements.
- 2 If multiple tables are detected, pick which one to extract.
- 3 Choose output format — CSV, TSV, JSON (array of objects), or Markdown.
- 4 Copy or download the result.
Why use this tool
- Detects every table on the page and lets you pick by index.
- Output formats: CSV (RFC 4180 quoted), TSV, JSON (objects keyed by first row), or aligned Markdown.
- Cell whitespace is collapsed for clean rows.
- Pure client-side. No upload, no analytics on your content.
Frequently asked questions
What about rowspan / colspan?
Cells are emitted in the order they appear in the source. Spanning cells are not expanded — the cell appears once, attached to its first row/column position.
How is the JSON keyed?
The first row of each table is treated as headers. Subsequent rows become objects keyed by those header values. If the first row is empty, fallback keys `col1`, `col2`… are used.
Related tools?
See <a class="text-brand-600 hover:underline" href="/csv-to-json">CSV to JSON</a> for advanced CSV→JSON conversion, or <a class="text-brand-600 hover:underline" href="/markdown-table-generator">Markdown Table Generator</a> to build new tables.
HTML Table Extractor is a free developer utility by Zerethon Tools. Extract <table> elements from HTML into CSV, TSV, JSON, or Markdown. Picks individual tables when the page has more than one. Runs entirely in the browser — no signup, no upload.
- Category
- Developer
- Pricing
- Free
- Privacy
- Browser-based
- Signup
- Not required
Privacy
Your data never leaves your browser unless explicitly stated. HTML Table Extractor runs entirely client-side — no server upload, no logging, no tracking of your input.
Related tools
JSON Formatter
Format, validate, and minify JSON online. Free, no signup — your data never leaves your browser.
Open toolSQL Formatter
Format SQL queries online — beautify MySQL, PostgreSQL, SQLite, SQL Server, Oracle, and BigQuery.
Open toolUUID Generator
Generate UUIDs online — v1, v4, v7, and Nil. Bulk generation up to 10,000. Free, no signup.
Open toolPassword Generator
Generate strong, cryptographically random passwords. Configurable length and character sets — runs in your browser.
Open toolBuild, share, and grow on Zerethon Social
Free signup. Earn points, collect achievements, and connect with creators worldwide.