HTML Table to JSON Converter

Convert HTML tables into JSON arrays of objects. Free, private and instant: everything runs in your browser.

HTML
JSON
Result appears here as you type

What does the HTML Table to JSON Converter do?

An HTML to JSON converter reads each <table>, uses the first row as keys and returns every other row as a JSON object. One table returns an array; several tables return an array of arrays. It is ideal for turning web tables into API-ready data.

How to use the HTML Table to JSON Converter

  1. 1

    Paste your html

    Paste or type html into the input box, open a file from your device, or click Sample to load an example.

  2. 2

    Convert instantly

    The HTML Table to JSON Converter processes your input right in the browser.

  3. 3

    Copy or download the result

    Review the json on the right, then copy it to the clipboard or download it as a .json file.

HTML Table to JSON Converter example

Input
<table><tr><th>name</th><th>city</th></tr><tr><td>Asha</td><td>Pune</td></tr><tr><td>Ravi</td><td>Surat</td></tr></table>
Output
[
  {
    "name": "Asha",
    "city": "Pune"
  },
  {
    "name": "Ravi",
    "city": "Surat"
  }
]

When to use it

  • •Turning web tables into data for apps
  • •Migrating static HTML content to a CMS or API
  • •Testing parsers with structured data

Why use this html table to json converter

  • 100% free, no signup or login
  • Runs locally: your data never leaves the browser
  • Instant results with clear error messages
  • Works on desktop, tablet and mobile
  • Copy to clipboard or download in one click
  • No watermarks and no usage limits

Frequently asked questions

Is the HTML Table to JSON Converter free?+

Yes. The HTML Table to JSON Converter is 100% free with no signup, no login, no usage limits and no watermark. It works on desktop and mobile browsers.

Is my data uploaded when I use the HTML Table to JSON Converter?+

No. The HTML Table to JSON Converter runs entirely in your browser with JavaScript. Nothing you paste or upload is sent to our servers, logged or stored.

Last updated by the Imaginex AI team.