HTML Microdata to JSON-LD Extractor

Extract supported microdata from inert supplied HTML into a JSON-LD draft with a property map and omission findings.

Inputs stay on your device No sign-up Free to use
How this works

The tool runs in this browser. Your file or text is not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Privacy details

Extract microdata controls

Inert HTML up to 200,000 characters. Microdata attributes are read; scripts are never run and resources are never requested.

Relative itemtype, itemid, href and src values resolve against this address locally.

Written into the draft exactly as entered and never fetched. Use a local @vocab or term definitions you already control.

Processed in your browser. Your inputs stay on this device.

Showing a generated example. Generate again for a new result.

How to use HTML Microdata to JSON-LD Extractor

  1. Paste HTML containing the supported itemscope/itemprop declarations.
  2. Enter the local base and the context you want included in the draft.
  3. Compare extracted items and property locations with omissions before using the JSON.

Example: HTML Microdata to JSON-LD Extractor

Extract supported microdata from inert supplied HTML into a JSON-LD draft with a property map and omission findings.

You add
HTML source: "<article itemscope itemref=\"topic\" itemtype=\"https://schema.org/Article\" itemid=\"https://example.org/articles/first\">\n <h1 itemprop=\"headline\">A short example</h1>\n <p itemprop=\"description\">Demonstrates <strong>microdata</strong> extraction.</p>\n <time itemprop=\"datePublished\" datetime=\"2026-10-04T09:00:00Z\">4 October 2026</time>\n <div itemprop=\"author\" itemscope itemtype=\"https://schema.org/Person\">\n <span itemprop=\"name\">Alex Example</span>\n <link itemprop=\"url\" href=\"/people/alex\">\n </div>\n <ul>\n <li itemprop=\"about\">Related</li>\n </ul>\n</article>\n<p id=\"topic\" itemprop=\"about\">Microdata basics</p>\n<div itemscope itemtype=\"https://schema.org/Thing\"><span itemprop=\"name\">Orphan item without itemprop</span></div>" Base URL: "https://example.org/" JSON-LD context to include: "{\n \"@vocab\": \"https://schema.org/\"\n}"
You get
Extracted 3 items and 9 properties with 0 findings.

Options

Base address
Relative supported URL values resolve locally against the entered base. No address or context is requested.
Item relationships
Nested items and supported itemref values follow the declared bounded rules. Missing or cyclic references are reported for review.

Supported inputs and limits

Up to 200,000 HTML characters with bounded items, nodes, depth and references. Up to 100 items, 2,000 properties, 6,000 nodes and 20 item levels. Microdata subset only; no remote context retrieval, RDFa conversion, full semantic validation or rich-result eligibility guarantee.

Where your input is processed

This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Extraction does not validate a rich result

The draft reflects supplied microdata within a limited subset. Unsupported RDFa or scripts do not become verified linked data through this conversion. Check property meanings and the included context before publishing the result.

Questions about HTML Microdata to JSON-LD Extractor

Does it scrape a URL?

It reads pasted HTML without fetching a page.

Will RDFa also be converted?

This extractor handles the supported microdata subset only.

Can I publish the draft without checking it?

Review the property map, omissions and context against the original HTML first.

Project manager: Tony Hines · Content updated 4 October 2026 · Report a problem