Web page
HTML is the markup every web page is written in. A saved .html file contains the page's structure and text; its images, styles and scripts usually live in separate files.
Opens in Every web browser
HTML converterTurn HTML web pages into JSON. It is converted in your browser, so the file never leaves your device.
Drop HTML files here
or choose from your computer paste with Ctrl V
from Photos or Files
Ready · other file types work too0 bytes uploaded, ever
Drop HTML (HTM) files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.
Press Convert. There is nothing else to set. The work happens in this tab.
Save the JSON, or download everything as one ZIP if you converted several files.
The HTML to JSON converter is part of this page and runs inside your browser. Your web pages are never sent to ToAny or to anyone else.
Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.
No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.
An HTML file depends on a browser and often on separate image and style files. JSON is what APIs and most programming languages read natively. HTML is at home in web pages and emails; JSON is the usual choice for APIs and data exchanged between programs.
HTML is the markup every web page is written in. A saved .html file contains the page's structure and text; its images, styles and scripts usually live in separate files.
Opens in Every web browser
HTML converterJSON represents data as nested objects and lists in plain text. It is the default language of web APIs. Unlike a spreadsheet it can be nested to any depth, which is also why turning it into rows and columns takes a decision about how to flatten it.
Opens in Any text editor, every programming language, browser developer tools
JSON converter| HTMLWeb page | JSONJSON data | |
|---|---|---|
| Stands for | HyperText Markup Language | JavaScript Object Notation |
| Type | Web page markup | Structured data (text) |
| Compression | None | None |
| Introduced | 1991, by Tim Berners-Lee (now maintained by WHATWG) | 2001, by Douglas Crockford |
| Opens in | Every web browser | Any text editor, every programming language, browser developer tools |
| Best for | Web pages and emails | APIs and data exchanged between programs |
| File extension | .html, .htm, .xhtml | .json |
No. The HTML to JSON conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.
The content is carried over as faithfully as JSON allows; features that JSON does not have are left out.
Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.
The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the HTML file, press Convert and save the JSON. There is nothing to install.
Yes. Data files up to 300 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.