JSON Formatter
Pretty-print or minify JSON and catch syntax errors.
How it works
The JSON is parsed, then written back out with 2-space indentation (prettify) or no whitespace (minify).
Questions
- How does the JSON formatter work?
- The JSON is parsed, then written back out with 2-space indentation (prettify) or no whitespace (minify).
- Is my text sent to a server?
- No. The tool runs entirely in your browser; nothing you type is uploaded.
Related tools
- Case ConverterChange text to UPPERCASE, lowercase or Title Case.
- Roman Numeral ConverterConvert numbers 1–3999 to Roman numerals and back, rejecting invalid numerals.
- Morse Code TranslatorTranslate text to International Morse code and back.
- NATO Phonetic AlphabetSpell text with the NATO phonetic alphabet (Alfa, Bravo, Charlie…) and back.
- Word CounterCount words, characters, sentences, paragraphs and lines.
- Text ReverserReverse text character by character and check whether it is a palindrome.
Want this on your site? Embed the json formatter.