Convert an HTML table to JSON
Extract a pasted HTML table into JSON (array of objects), right in your browser.
🔒 100% client-side — no data sent
Paste an HTML table (for example copied from a web page) and get its content as JSON: an array of objects using the first row as keys, or an array of raw rows. 100% local extraction in your browser.
What is it for?
- ▸ Extract data from a web table
- ▸ Turn a table into JSON for a script
- ▸ Get rows as key/value objects
- ▸ Clean up a table pasted from a site
FAQ
Which table is extracted if there are several?
The first <table> tag found in the pasted HTML.
Can I get raw rows instead of objects?
Yes, uncheck the headers option to get an array of arrays (each row = an array of cells).
Is my data sent anywhere?
No, the conversion is entirely local in your browser.
Related tools
Base32 · encode / decode Encode and decode text to and from Base32 (RFC 4648) in your browser. Base58 encode/decode Encode and decode text in Base58 (Bitcoin, IPFS) right in your browser. Base64 · encode / decode Encode and decode text to and from Base64 (UTF-8), right in your browser. Base64URL encode/decode Encode and decode Base64URL (URL-safe variant used in JWT), in your browser. BBCode → HTML Convert forum BBCode into clean, sanitized HTML, right in your browser. Text ↔ binary Convert text to binary (ASCII/UTF-8) and back.