HTML to JSON Converter
Parse an HTML table or list into structured JSON data.
Structured JSON extracted from HTML
Tips:
Table mode uses the first row as headers.
List mode works with
<ul>, <ol>, and <dl>.
Use Extract modes to pull specific elements from any HTML page.
Features
- HTML Table → JSON: Converts table rows to objects using the header row as keys.
- HTML List → JSON: Extracts ul/ol list items or dl definition pairs into a JSON array.
- Extract Links: Pulls all
<a>tags with their text and href. - Extract Headings: Extracts all h1–h6 headings with their level and text.
- Extract Images: Pulls all
<img>tags with src, alt, and dimensions. - File Upload: Upload an .html file directly.
How to Use
- Choose Mode: Select what to convert (table, list, links, headings, or images).
- Paste or Upload: Enter your HTML or upload a file.
- Convert: Click "Convert" to generate JSON.
- Copy: Click "Copy JSON" to copy the output.