Source
Result
Formatted Output
Enter or open JSON/XML content to begin.
Problems Found 0
Repairs Made 0
About PrettyFormatter
Online JSON & XML Formatter
PrettyFormatter is a free online JSON and XML formatter for formatting, validating, beautifying, and minifying structured data. Paste JSON or XML and PrettyFormatter automatically detects the format and produces clean, readable output.
JSON Formatter & Validator
Format and validate JSON, pretty-print minified JSON, identify syntax problems, and create readable JSON output. When a safe repair is possible, PrettyFormatter explains exactly what changed.
XML Formatter & Beautifier
Beautify and format XML with readable indentation while checking the document for XML syntax problems. Valid XML can also be minified for application use.
Private, Browser-Based Formatting
JSON and XML processing happens locally in your browser. Your document content is not uploaded to a formatting server.