XML Formatter

Pretty print or minify XML.

Loading tool…

About XML Formatter

Pretty print or minify XML. It is free, needs no account and works on desktop and mobile.

How to use XML Formatter

  1. Paste your input or choose a file.
  2. Pick the options you need.
  3. Copy or download the output.

Privacy

This tool runs in your browser. What you type, paste or upload is not sent to our servers.

Frequently asked questions

Is XML Formatter free?

Yes. XML Formatter is free to use with no sign-up and no usage limits.

Is my data uploaded or stored?

No. The tool runs in your browser, so your input stays on your device.

Does XML Formatter work on mobile?

Yes. It works in any modern browser on phones, tablets and desktops.