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.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Convert files locally and privately, avoid uploading large HTML file(s) to online services.
- Support Windows, Linux, and macOS.
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
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
See Video: Convert html table to JSON file in a few clicks
See also:
HTML → JSON reference
Type mapping
| Value kind | in HTML | in 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 & <) | "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) |
| Binary | not representable in a cell | "base64:..." (string) |
| Boolean | <td>true</td> | true / false (boolean) |
| JSON | <td>{"a":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.
| Property | in HTML | in JSON |
|---|---|---|
| identifiers | Attribute values in quotes; entities for reserved characters | Double quotes; backslash escapes |
| dates | Whatever text was rendered | No date type: dates arrive as strings and the reader must p... |
| binary | data: URIs inside src attributes | Not supported natively - base64 inside a string |
| separator | Tags, not delimiters | Braces and commas |
| encoding | Declared in a meta charset tag or the HTTP header | UTF-8 by definition |
| typing | None | string, number, boolean, null, object, array - no date type |
| shape | Free form; tables are row/column structures inside markup | Nested objects and arrays |
| ceiling | No formal limit | Whole 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).