Try the live tool: Open Format, Minify and Sort JSON-LD →
What this tool does
Pretty-print, minify and reorder JSON object keys without changing structured-data facts or array order.
1. Paste valid JSON
Copy your JSON-LD into the formatter. Invalid JSON such as trailing commas is rejected rather than silently repaired.
2. Choose formatting
Select pretty-print or minify, choose indentation, and optionally sort object keys. Array order stays unchanged.
3. Inspect and export
Review the output and copy or download it. If you need eligibility guidance, send the result to the main checker.
Practical example
A compact Product object becomes an indented JSON object with the same @context, @type and name values.
Limits and responsible use
Formatting is not Schema.org validation. Key sorting is a readability choice; it does not change search rankings.
Keep the original markup for comparison. Review facts against the real page, and use the dated Google feature catalogue or official Google Search Central documentation where relevant. A local check is not a search-ranking or rich-result guarantee.
Authoritative references
Frequently asked questions
Answers are educational. FAQ markup does not guarantee Google FAQ rich results.
Does formatting fix missing required Google fields?
No. It changes representation, not factual content or eligibility.
Are JSON arrays reordered?
No. Arrays preserve their original element order.
What happens with invalid JSON?
The formatter reports a parse error and does not fabricate a corrected object.



