Skip to tool

Categories

File formats / 11 formats, every pair

HTML to JSON converter

Turn HTML into JSON — an array of objects, one per row — in this browser tab. Paste your HTML, copy the JSON: the quoting and escaping JSON needs are applied for you.

On-device prototype

HTML to JSON, worked out

3 rows and 4 columns: 30 lines of HTML become 20 lines of JSON.

HTML in

<table>
  <thead>
    <tr>
      <th>product</th>
      <th>region</th>
      <th>units</th>
      <th>unit price</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Desk lamp</td>
      <td>EU</td>
      <td>128</td>
      <td>24.50</td>
    </tr>
    <tr>
      <td>Chair</td>
      <td>R&amp;D</td>
      <td>64</td>
      <td>98.00</td>
    </tr>
    <tr>
      <td>Monitor</td>
      <td>APAC</td>
      <td>32</td>
      <td>249.99</td>
    </tr>
  </tbody>
</table>

JSON out

[
  {
    "product": "Desk lamp",
    "region": "EU",
    "units": "128",
    "unit price": "24.50"
  },
  {
    "product": "Chair",
    "region": "R&D",
    "units": "64",
    "unit price": "98.00"
  },
  {
    "product": "Monitor",
    "region": "APAC",
    "units": "32",
    "unit price": "249.99"
  }
]

JSON result

[
  {
    "product": "Desk lamp",
    "region": "EU",
    "units": "128",
    "unit price": "24.50"
  },
  {
    "product": "Chair",
    "region": "R&D",
    "units": "64",
    "unit price": "98.00"
  },
  {
    "product": "Monitor",
    "region": "APAC",
    "units": "32",
    "unit price": "249.99"
  }
]

Conversions next to this one

Chosen from where these tools sit in the catalogue — the same workbench, the same category, the same words. Nothing here measures what you or anyone else opened.