Put it to work
Validate XML, format it, or remove formatting whitespace.
From input to output
- Open XML formatter & minifier and load the example.
- Read the format notes, choose your options, and replace the example with your input. Start with test data instead of sensitive information.
- Run the tool and inspect the result and status. If an error appears, correct the input format and run it again.
- Copy the output or download a file. Generated and converted results are not saved automatically.
XML formatter & minifier
Validate XML, format it, or remove formatting whitespace. Preserves mixed content and xml:space="preserve". DTDs and external entities are unsupported.
Example input
<users><user id="1"><name>Alice</name></user></users>
Reading the result
<users>
<user id="1">
<name>Alice</name>
</user>
</users>Details that matter
Format and meaning
Preserves mixed content and xml:space="preserve". DTDs and external entities are unsupported.
Supported scope and limits
Text 1 MB
Split inputs that exceed the limit. If a format or algorithm is unsupported, choose a tool that matches your requirements instead of silently changing the format.
What happens to your data?
Tools run in your browser. DNS lookup sends the queried domain to the named external provider. Ads may appear on home, guide, and workspace pages according to settings.
Open tool