XML Formatter & Validator

Pretty-print, minify and validate XML.

Runs in your browser: data never leaves your device. Free, no sign-up. Also known as: xml beautifier, xml lint, prettify.

How to use XML Formatter & Validator

  1. Paste your input, open a file, or press Sample to see an example.
  2. Pick a mode or adjust the options; results update instantly.
  3. Use Copy or Download to take the result with you.

Frequently asked questions

What does the XML Formatter & Validator do?
Pretty-print, minify and validate XML.
Is the XML Formatter & Validator free?
Yes. It is completely free, with no sign-up, no watermark and no usage limits.
Is my data safe?
Yes. This tool runs entirely in your web browser. Your text and files are never uploaded to a server, stored or logged.
Does it work on mobile?
Yes. It works in any modern browser on Windows, macOS, Linux, Android and iOS, with nothing to install.
What other data & code tools are there?
Runeforge has 14 data & code tools in The Codex, plus 91 more tools across other categories.

More from The Codex