Html Table To Json API
https://api.findutils.com/api/tools/html-table-to-json/execute 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, ….
Needs an API key. Running a tool needs an API key. Keys are not for sale yet: ask for early access. About API keys
Request body
application/json-
html
string required
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 optional
"objects" (default) maps each row to an object; "arrays" returns rows as string arrays. One of
objects · arrays. Default"objects". -
first_row_headers
boolean optional
When format is "objects", use the first row as object keys (default true). When false, keys are column1, column2, …. Default
true. -
table_index
integer optional
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>"
} More Data tools
- Api Docs Generator Return API documentation generated from a list of endpoints, as Markdown (with table of contents, request/response examples)…
- Bookmarks Html To Csv Convert a browser bookmarks.html export from Chrome, Firefox, Edge, Safari or any other browser that writes the Netscape bookmark format…
- Bookmarks Json To Html Convert a bookmarks JSON file into a Netscape bookmarks.html that Chrome, Firefox, Edge and Safari import.
- Coupon Code Generator Generate a batch of unique random coupon or promo codes: an optional prefix, a random part of a chosen length and character set (with…
- Csv Dedupe Remove duplicate rows from a CSV or TSV table.
- Csv Diff Compare two CSV or TSV tables by key column and list the rows that were added, removed or changed - a table diff, not a line diff, so rows…