JSON-LD Pretty Printer
Specialised JSON formatter for schema.org JSON-LD. Pretty-prints, auto-wraps in the correct
<script> tag, detects the schema type, and surfaces type-specific hints.
Technical SEO Intelligence
Minified JSON-LD is a maintenance nightmare: pretty-print before you ship.
Google doesn't care if your JSON-LD is minified or formatted. Humans do. Pretty-formatted JSON-LD is reviewable, diffable, and auditable. Use the minifier only right before deploy if payload size matters. This tool also detects your schema type and reminds you of the Google rich result fields.
Input
Detected
Output
Pretty-printed JSON-LD
Next steps
After formatting, validate against Google's requirements
The Schema Markup Validator checks every type against schema.org and Google rich result rules.
Frequently asked questions
What is JSON-LD?
JSON for Linking Data: JSON structured with schema.org vocabulary. The standard format for structured data on the web.
How is this different from the JSON Formatter?
This one is schema-aware: detects the
@type, surfaces Google rich-result requirements for that type, auto-wraps in <script>.Does Google care about JSON-LD vs Microdata vs RDFa?
Google recommends JSON-LD. All three formats work but JSON-LD is cleaner, decoupled from markup, and the industry standard.
Should I minify JSON-LD for production?
Payload savings are negligible. Pretty-formatted JSON-LD is reviewable and auditable. Keep it formatted unless size is critical.
What is @context?
The schema vocabulary URL, usually
https://schema.org. Required at the top of every JSON-LD block.What is @graph?
A property that lets you declare multiple entities in one JSON-LD block with references between them. Standard practice for complex pages.
What does the tool detect?
The
@type field, then shows the required and recommended fields for that type (Product, Article, LocalBusiness, Event, FAQPage, HowTo, Organization, etc.).Can I have multiple JSON-LD blocks on one page?
Yes. Google reads all of them. For cleaner markup use @graph instead.
What is the maximum JSON-LD size?
Google processes up to 1MB per page. Rarely a concern.
Does the tool validate against Google rich results?
For common types yes, surfaces required fields. For full validation use Google's Rich Results Test on the live URL.
What is sort keys for?
Alphabetises JSON keys. Useful for diffing two JSON-LD blocks to see what changed.
Free · no account
SEORCE for Chrome, Edge and Firefox
Audits the page you are on: headings, meta tags, schema, indexability, and whether AI crawlers can read it. Export the result as a PDF. Free, with no account.
It audits one page at a time and does not track AI answers. About the extension
Across the whole site
One check here. Every page in SEORCE.
This tool does one job. SEORCE Technical Suite crawls your whole site with fast and secure crawlers and ranks technical issues by impact. AutoFix applies fixes for meta tags, schema, canonical tags, image alt text, headings and internal links for orphan pages on your live site, through one script tag, and the list keeps growing.
3,000+ users · Free forever plan, no card needed