Z

HTML Table Extractor

Extract <table> elements from HTML into CSV, TSV, JSON, or Markdown. Picks individual tables when the page has more than one.

Free No signup Client-side Privacy friendly

How to use

  1. 1 Paste HTML containing one or more <code class="font-mono text-xs">&lt;table&gt;</code> elements.
  2. 2 If multiple tables are detected, pick which one to extract.
  3. 3 Choose output format — CSV, TSV, JSON (array of objects), or Markdown.
  4. 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.

Summary

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

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Try Zerethon free