Html Table To Json

Data REST API MCP

Convert an HTML <table> into JSON — an array of objects keyed by the header row, or an array of row arrays. Cell text is extracted with tags stripped and entities decoded. Empty header cells become column1, column2, ….

This page documents the HTTP endpoint POST /api/tools/html-table-to-json/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/html-table-to-json/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/html-table-to-json/execute \
  -H "Content-Type: application/json" \
  -d '{
    "html": "<table><tr><th>Name</th><th>Age</th></tr><tr><td>Ann</td><td>30</td></tr></table>"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/html-table-to-json

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
html string yes HTML that contains at least one <table> element. A full page is fine; the first table is used unless table_index is set.
format string (objects | arrays) no "objects" (default) maps each row to an object; "arrays" returns rows as string arrays. Default: "objects".
first_row_headers boolean no When format is "objects", use the first row as object keys (default true). When false, keys are column1, column2, …. Default: true.
table_index integer no Zero-based index of the table to convert when the HTML has several. Default 0. Default: 0.

Example arguments (verified)

{
  "html": "<table><tr><th>Name</th><th>Age</th></tr><tr><td>Ann</td><td>30</td></tr></table>"
}

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:html_table_to_json after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Html Table To Json →

More Data tools