FreeToolbelt

XML Formatter

Paste XML to pretty-print it with consistent indentation — element order, attributes, and text content are preserved exactly, and malformed XML is reported with its line number instead of producing broken output. Handy for reading minified configuration files, SOAP payloads, RSS feeds, and API responses. Runs entirely in your browser.

XML input
Formatted output

Frequently asked questions

No. Formatting runs entirely in your browser using JavaScript. Your XML never leaves your device.

Related tools