JSON / XML / YAML Formatter
Format, minify, and validate JSON, XML, and YAML. Everything runs locally in your browser.
Auto Detect
JSON
XML
YAML
2 spaces
3 spaces
4 spaces
5 spaces
Format
Minify
Validate
Copy Output
Clear
Input
Output