Tip: Press Ctrl/⌘ + Enter to format. If you paste HTML with multiple JSON-LD scripts, the tool outputs a JSON array.
No network calls. Your schema stays in your browser.
- Schema Tool Checker (JSON-LD) – Validate Structured Data Offline
- Online Schema Generator
- Keyword Formatter — Clean, Deduplicate & Export Keyword Lists
- Canonical Checker (Offline)
- UTM Checker Tool (Offline)
- Meta Generator Online (Title, Description, Open Graph)
- Online Sitemap Generator (Excel → sitemap.xml)
- JSON Schema Tool – Validate and Generate Schemas Effortlessly
How to use
Use this tool to format or compress your schema markup without sending data anywhere.
- Paste your JSON-LD (or HTML containing
application/ld+jsonscript tags) into the input. - Choose indentation, optionally enable key sorting, and choose whether to wrap output in a script tag.
- Click Format for readable output or Minify for compact output. Use Validate to check JSON syntax.
FAQ
Can I paste HTML instead of raw JSON-LD?
Yes. If your input contains <script type="application/ld+json">, the tool extracts and formats the JSON-LD inside.
What happens if the HTML contains multiple JSON-LD script tags?
The tool parses each script and outputs a single JSON array containing each JSON-LD block.
Does “Sort keys (deep)” change my schema meaning?
No. JSON object key order doesn’t affect meaning, but sorting can make reviews and diffs easier; array order is kept.
Will this validate my schema against Google rich result requirements?
No. It validates JSON syntax only; use a schema checker for structured-data rules.
Why does it say “Invalid JSON” even though my code looks right?
Common causes are trailing commas, smart quotes, or pasted JavaScript objects that aren’t strict JSON (unquoted keys, single quotes).
Can I output a ready-to-paste script tag?
Yes. Enable Wrap in <script> to generate a complete application/ld+json block.
Is my schema sent to a server?
No. The formatter runs entirely in your browser and does not make network requests.