XML Formatter & Validator
Beautify, validate and minify XML code instantly in your browser
XML Formatter & Beautifier
Paste your XML and click Format to beautify it with proper indentation, or Minify to collapse it into a single line. The tool also validates XML — parsing errors are shown below the input.
Features
- Formats XML with 2-space indentation
- Validates well-formedness and shows errors
- Minifies XML by removing whitespace
- 100% browser-based — no data sent to server