Pretty Print JSON
Pretty-print is another name for formatting. This page uses JSON.stringify(value, null, 2) after a successful parse.
Errors
Trailing commas, single quotes, and comments will fail — they are not valid JSON.
FAQ
Tabs or spaces?
Spaces, width 2.
Sort keys?
No. Key order is left as the parser returns it.
More free tools: prompt packs and the buildlog bundle. packs.sadana.app · bundle.sadana.app