SEO Tools
JSON-LD Extractor
Paste HTML to extract every JSON-LD structured data block. Pretty-printed JSON, Schema.org type breakdown, and validation health check.
Parsing uses the browser DOMParser. Scripts inside the pasted HTML are never executed, and no remote resource is ever fetched. The HTML stays in your browser.
Summary
Blocks
0
Valid
0
Invalid
0
Top types
0
Paste HTML to see how many JSON-LD blocks the page ships and which Schema.org types they declare.
Health check
Validation results appear here once JSON-LD blocks are detected.
Output
Every block, parsed and prettified
Paste HTML on the left to see its JSON-LD blocks here. Try Load sample for a worked example.
How to use
- Paste HTML into the input area. You can paste a full view-source page or just the head block. Click Load sample if you want a worked example first.
- Read the summary for total blocks, valid versus invalid JSON, and the count of distinct Schema.org top-level types.
- Scan the health check for parse errors, missing or wrong @context, missing @type, non-object payloads, and duplicate singleton records like multiple WebSite or Organization blocks.
- Switch the output between Pretty JSON, ready-to-paste Script tags, a Types TSV table, or a Types JSON summary.
- Open each per-block card to see the prettified JSON, then click Copy JSON or Copy script tag to grab a clean version for your CMS, audit doc, or pull request.
About this tool
JSON-LD Extractor parses any HTML you paste, finds every script type="application/ld+json" block, and prettifies the JSON inside. The summary panel shows how many blocks were detected, how many parsed as valid JSON, and how many distinct Schema.org types are declared once @graph members and embedded entities are counted. A health check flags the mistakes that block rich results: malformed JSON (with the parser's error message preserved so you can fix it), missing @context, an @context that does not include https://schema.org, missing @type on the top-level node, top-level values that are not JSON-LD objects, and duplicate singleton records like multiple WebSite, Organization, BreadcrumbList, or WebPage blocks on the same page. Four output views cover every workflow: Pretty JSON shows each block parsed and indented in document order, Script tags wraps the cleaned JSON back into ready-to-paste script tags, Types (TSV) gives you a Type / Count / Blocks table that pastes straight into Google Sheets or Excel, and Types (JSON) is a structured summary for audit pipelines. Each block gets its own card with the detected top-level types, a copy button for the prettified JSON, and a copy button for the full script tag. Parsing uses the browser DOMParser, which builds an inert document, so scripts inside the pasted HTML never run and no remote resource is fetched. Useful for SEO audits, content migrations (verify the new CMS emits the same structured data as the old one), debugging Google Rich Results Test errors, comparing a competitor's structured data setup, validating JSON-LD before pushing it to production, and answering the everyday question: what schema is actually on this page right now? Everything runs locally in your browser, so the HTML you paste here never leaves your device.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Schema Markup Generator
Generate JSON-LD schema markup for ten common types with live validation.
Open tool
SEOMeta Tag Extractor
Extract every meta, title, OG, Twitter Card, canonical, and icon tag from HTML.
Open tool
SEOMeta Tag Preview
SERP, Open Graph, and Twitter Card preview with pixel-accurate length checks.
Open tool
SEOHTML Headings Extractor
Extract h1-h6 from any HTML, view the outline, and check for skipped or empty headings.
Open tool
SEOBreadcrumb Schema Generator
Build BreadcrumbList JSON-LD, microdata, or RDFa from a URL or a manual list.
Open tool
SEOFacebook Post Preview
Preview Facebook desktop and mobile link cards and validate Open Graph tags.
Open tool