XML Formatter

Paste XML and get indented, readable output. Uses a simple tag-based indenter.

Format XML

How it works

We parse tags and add indentation per nesting level. Same approach as HTML formatter.

When to use it

Use when inspecting API responses or config files.

Frequently asked questions

Namespaces?

We preserve tag names as-is; namespace prefixes are kept.