XML formatter and validator

Validate XML and output formatted XML locally in your browser.

XML is formatted locally in your browser and is not uploaded.

XML Formatter helps you validate and pretty-print xml documents.

Example input
Paste or enter xml input in the workspace.
Example output
Review the xml formatter result and copy it when ready.

XML is formatted locally in your browser and is not uploaded.

What is XML Formatter used for?

Validate and pretty-print XML documents

Does this tool upload my input?

XML is formatted locally in your browser and is not uploaded.