Your files stay here

Every tool runs inside this browser tab. Files you open are read and saved on this device and are never uploaded.

There is no account and no tracking. Recent files and saved tools are kept in this browser until you clear them.

Developer

XML Formatter

Indent XML so it is easy to read, or minify it onto one line, after checking that it is well formed.

Loading the tool…

Runs in this browser. Nothing is uploaded.

How to use XML Formatter

  1. Paste or type into the box.
  2. Change the settings beside your file if you need to.
  3. The result updates as you type. Copy it when you are done.

Questions

Does it change my text content?
No. Elements that mix text and tags are kept on one line exactly as written. Only whitespace between tags is changed.
Is XML Formatter free?
Yes. There is no account, no trial and no limit on how often you use it.
Is what I type sent anywhere?
No. Everything is worked out in your browser; nothing you enter leaves this page.
Does it work offline?
Once the page has loaded, most tools keep working without a connection.

More developer tools