XML Formatter
Pretty print or minify XML, and see the line of any error.
Runs in your browser. Files stay on this device.
How to use XML Formatter
- 1Paste XML or drop an .xml file.
- 2Pick the indent, or Minify for one line.
- 3Copy the result or download it.
Questions
Does it check my XML?
Yes. Your browser's XML parser reads it first, and any error is shown with its line and column.
Are comments and CDATA kept?
Yes. Comments, CDATA sections, the XML declaration and DOCTYPE stay as they are.
Is my file uploaded?
No. The XML stays in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DeveloperBase64 EncoderEncode text or files to Base64 and decode it back, with URL-safe and data URL options.
- DeveloperDiff CheckerCompare two texts and see what was added and removed, line by line or word by word, and download a patch.
- DeveloperHash GeneratorGet the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or any file, and check it against a hash you were given.
- DeveloperJSON FormatterFormat, check and minify JSON, with the exact line of any error.
- DeveloperJWT DecoderRead the header and claims of a JSON Web Token, see when it expires, and check an HMAC signature.
- DeveloperRegex TesterTest JavaScript regular expressions live: every match highlighted, capture groups in a table, and a replace preview.