All tools

Extract Tables

AI / Agent

Extract HTML tables into JSON arrays with headers and rows. Parse any HTML page for tabular data.

Pricing tables, spec sheets, and leaderboard data on a page you've scraped or saved are usually sitting in real `<table>` markup, and this parses the raw HTML source into a JSON array of header/row objects per table without you writing a DOM parser by hand. You paste HTML rather than a URL. This tool doesn't fetch pages itself, so grabbing the source first (view-source, curl, or your own scraper) is a required step. Simple tables convert cleanly, but rowspan/colspan merges are flattened best-effort and may not perfectly preserve the visual structure, so it's worth spot-checking the output against the source table. It only recognizes genuine `<table>`/`<tr>`/`<td>` markup: a div-based grid styled to look like a table won't be detected, since there's no reliable generic way to infer table structure from arbitrary div layouts.

htmltableextractparsejsonscrape

How to use Extract Tables

  • 1.Paste the HTML source of a page containing one or more <table> elements to get each table parsed into a JSON array of header/row objects.
  • 2.Use it to pull pricing tables, spec sheets, or leaderboard data off a page you scraped or saved, without writing a DOM parser.
  • 3.Grab the raw HTML via your browser's "View Source" or a fetch request, then paste it here to quickly check whether a table is even parseable before building a scraper around it.

Frequently asked questions

Does this fetch the URL for me, or do I need to paste HTML?
You paste raw HTML — this tool doesn't make network requests, so you need to fetch the page yourself (browser view-source, curl, or your own scraper) first.
Does it handle nested tables or merged cells (rowspan/colspan)?
Simple tables convert cleanly, but rowspan/colspan merges are flattened best-effort and may not perfectly preserve the visual structure — always spot-check the output against the source table.
Is my HTML sent to a server?
No, parsing happens entirely in your browser using the native DOM parser.
What if the page has no <table> tags but looks like a table (divs styled as a grid)?
This tool only recognizes real <table>/<tr>/<td> markup — div-based grids won't be detected, since there's no reliable generic way to infer table structure from arbitrary div layouts.

Use via API, SDK, or MCP

cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/extract-tables \
  -H "Authorization: Bearer utx_live_..." \
  -H "Content-Type: application/json" \
  -d '{"html":"<table><tr><th>Name</th><th>Age</th></tr><tr><td>Alice</td><td>30</td></tr></table>"}'

Get an API key from your dashboard · Full API docs →