Withdata Software

Convert HTML to JSON

Want to convert HTML table to JSON file?

Try Withdata Data File Converter, a desktop HTML to JSON converter for Windows, MacOS, and Linux, Convert HTML table to JSON, Easy and Fast.

Download Withdata DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit

Convert HTML table to JSON

Choose HTML file -> Set JSON file -> Convert HTML table to JSON

“Start a New Convert” for “HTML to JSON”.

Select From “File” “HTML” To “File” “JSON”.

1. Open source HTML file.

Support large HTML file ( > 4GB ).

Source HTML file’s content is like this:

2. Config target JSON file.

3. Set rows options.

4. Convert HTML table to JSON.

After converting, you can view the output JSON file.


More about HTML to JSON converter

See Video: Convert html table to JSON file in a few clicks

See also:

HTML → JSON reference

Type mapping

Value kindin HTMLin JSON
Int<td>1234</td>1234 (number)
Bigint<td>9007199254740993</td>9007199254740993
Decimal<td>1234.56</td>1234.56 (number)
Float<td>1.234e+10</td>1.234e10 (number)
Text<td>text</td>"text" (string)
Long text<td>multi-line text</td> (entities for &amp; &lt;)"multi-line\ntext" (escaped newline inside a string)
Date<td>2026-09-18</td>"2026-09-18" (string)
Datetime<td>2026-09-18 14:30:00</td>"2026-09-18T14:30:00Z" (string)
Binarynot representable in a cell"base64:..." (string)
Boolean<td>true</td>true / false (boolean)
JSON<td>{&quot;a&quot;:1}</td> (quotes escaped)nested object or array, kept as structure

Dialect differences

Both HTML and JSON are file formats, so what differs below is how each one chooses to represent a value.

Propertyin HTMLin JSON
identifiersAttribute values in quotes; entities for reserved charactersDouble quotes; backslash escapes
datesWhatever text was renderedNo date type: dates arrive as strings and the reader must p...
binarydata: URIs inside src attributesNot supported natively - base64 inside a string
separatorTags, not delimitersBraces and commas
encodingDeclared in a meta charset tag or the HTTP headerUTF-8 by definition
typingNonestring, number, boolean, null, object, array - no date type
shapeFree form; tables are row/column structures inside markupNested objects and arrays
ceilingNo formal limitWhole document is usually parsed into memory

Convert HTML to JSON the easy way

Use the HTML to JSON converter — an offline desktop app for Windows, macOS and Linux. Nothing to upload, large files and batch runs supported (free trial).