Want to batch convert HTML files to JSON files?
Try Withdata Data File Converter, a desktop HTML to JSON converter for Windows, MacOS, and Linux, Batch convert HTML 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.
Batch convert HTML files to JSON files
Select source HTML files -> Set JSON files -> Convert HTML files to JSON files
Click “Start a New Convert” at task dialog.

then show the wizard.
Select From “Files” “HTML” To “Files” “JSON”.

1. Select source HTML files.

And config the first source HTML file.

2. Config target JSON files.

3. Summary.
List source HTML files.


4. Convert HTML files to JSON files, 1 HTML to 1 JSON.

After converting, you can view output JSON files.

More about HTML to JSON converter
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 |
Data File Converter without the manual work
For batch jobs, large files and scheduling use the Data File Converter converter — an offline desktop app for Windows, Linux and macOS. Free trial.
