curlok.com
Free developer tool

XML Formatter & Viewer

Paste minified or messy XML, click Beautify, and copy clean, indented XML. It validates your XML and runs 100% in your browser — your data never leaves your machine.

Input XML
Formatted output

      

What is an XML formatter?

XML (eXtensible Markup Language) is widely used for configuration, SOAP APIs, RSS feeds, sitemaps and document formats. It's often stored or transmitted minified — all on one line — which is hard to read. An XML formatter (or "beautifier") re-indents it into a clean, nested tree so you can actually see the structure. This tool also validates your XML and reports where it's malformed.

How to use it

  1. Paste your XML into the Input box on the left.
  2. Click Beautify (or press Ctrl/ + Enter). Pick your indentation.
  3. Copy the clean result from the Output box.

Use Minify to collapse the XML back down to a single compact line.

Is my data safe?

Yes. All formatting happens locally in your browser — your XML is never uploaded to any server, and the tool works offline once loaded.

Related tools

Working with JSON instead? Try the JSON Formatter. Need to inspect a webhook or API call? Create a free endpoint to see exactly what it sends.