HTML Table to JSON Converter Online


Convert HTML to JSON online helps to convert HTML Table to json which saves a lot a time. Copy, Paste and Convert to JSON. It traverse the DOM and look for tables from the HTML data.

What can you do with HTML to JSON?

  • This tool helps you to get plain json from html table very quickly without writing single line of code.
  • From HTML to JSON allows loading the Website URL which has tables converting to JSON. Click on the URL button, Enter URL and Submit.
  • Parsing HTML into JSON supports loading the HTML File to transform to JSON. Click on the Upload button and select File.
  • HTML to Plain JSON Converter Online works well on Windows, MAC, Linux, Chrome, Firefox, Edge, and Safari.

Example of HTML

HTML with Table Try it.

<table border=1>
	<thead>
		<tr>
			<th>firstName</th>
			<th>lastName</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>Tom</td>
			<td>Cruise</td>
		</tr>
		<tr>
			<td>Maria</td>
			<td>Sharapova</td>
		</tr>
		<tr>
			<td>James</td>
			<td>Bond</td>
		</tr>
	</tbody>
</table>

Converted HTML 2 JSON

[
  {
    "firstname": "Tom",
    "lastname": "Cruise"
  },
  {
    "firstname": "Maria",
    "lastname": "Sharapova"
  },
  {
    "firstname": "James",
    "lastname": "Bond"
  }
]

For Advanced Users

HTML with Table External URL

Load HTML External URL in Browser URL like this https://xhcode.com/html-to-json-converter.html?url=external-url

https://xhcode.com/html-to-json-converter.html?url=https://gist.githubusercontent.com/cbmgit/644916fb1e435ddc367233c6d785652f/raw/html-table.html