XML Formatter

Indent and tidy XML so nested elements are easy to read. Reports malformed XML.

Loading the tool

How to use XML Formatter

  1. Paste your XML.
  2. Choose the indentation.
  3. Copy the formatted XML.

Privacy and limits

This tool runs in your browser. What you type is processed on your device and is not sent to our server.

Questions

Is XML Formatter free to use?
Yes. You do not need an account and there is nothing to pay.
Does it work offline?
Once the page has loaded, the tool does its work on your device. Some browsers need a connection only to load the page itself.