XML Formatter
Pretty-print XML with clean indentation
Formatted XML appears here…Basic formatter: whitespace inside text nodes is normalized and attributes always use double quotes. Your XML is parsed in your browser with its built-in XML parser, nothing is uploaded.
About this tool
API responses and config files often arrive as a single unreadable line of XML. Reading, debugging or editing that is painful.
Paste it here for instant pretty-printing with your preferred indentation. Invalid XML gets a helpful error message pointing at the problem. Free, private, no sign-up.
How to use the xml formatter
- 1Paste your XML.
- 2Choose indent size.
- 3Click Format.
- 4Copy the readable result.
Frequently asked questions
Related tools
More free tools you might find useful.
JSON Formatter
Validate, format, beautify and minify JSON instantly
Developer ToolsHTML Minifier
Compress HTML for faster page loads
Developer ToolsJSON Validator
Validate JSON with friendly error messages
Developer ToolsRegex Tester
Test regular expressions live with highlighted matches
Developer ToolsPart of Developer Tools on JoliTools, free tools, no sign-up.