XML tools
Format, minify and validate XML locally while preserving mixed text, CDATA and namespaces.
Text, files and images are processed in your browser and are not uploaded.
Result
Run the tool to see the result.
How to use
Paste or import UTF-8 XML to format, minify or check well-formedness. Layout changes whitespace between elements; mixed text, CDATA, comments and xml:space="preserve" remain intact. Downloads use UTF-8. DTD and entity declarations are rejected. Limits: 1 MB, 128 levels and 50000 nodes.