XML Formatter
Paste XML to pretty-print, minify, or validate it. Parse errors are reported inline so you can fix broken markup fast.
Mode
Indent
How to pretty-print and validate XML with MakeMyTxt
Paste any XML document to pretty-print or minify it. Malformed markup is reported with the exact line and column of the problem.
Open the XML Formatter
Paste your XML
Choose pretty-print or minify
Copy, download, or fix errors
Frequently asked questions
- Does the XML formatter send my data anywhere?
- What counts as a parse error?
- How does minify differ from just stripping whitespace?
- Does the tool support namespaces, comments, and CDATA?