XML Formatter
Format XML with syntax error feedback and preserve mixed text content.
Up to 100 KiB. DTDs and entity declarations are not accepted. This is a formatter, not an XSD validator. All processing stays on this device.
Result
Your result will appear here after processing.
How do I use this tool?
Paste XML and format it with two-space indentation. The formatter preserves text whitespace and does not fetch external resources.
What does it support?
Up to 100 KiB. DTDs and entity declarations are not accepted. This is a formatter, not an XSD validator.
Does my input leave my device?
No. Processing runs locally in your browser. Input and results are kept only on this page and are cleared when you leave, reload or clear the tool. Copy and download happen only when you choose those actions.