iziznkit

XML formatter

Free · no sign-up

Beautify or minify XML and see parse errors clearly — right in your browser.

Indent:
Output

Runs entirely in your browser — your data never leaves your device and nothing is stored. No sign-up.

Format messy XML or compress it to a single line — validate with the browser's DOMParser and see human-readable parse errors when something is wrong. Choose 2-space, 4-space or tab indentation for beautify. No upload: parsing and serialisation stay on your device. Free, no sign-up.

  • ✓Beautify with 2 / 4 spaces or tabs
  • ✓Minify by stripping inter-tag whitespace
  • ✓DOMParser validation with clear errors
  • ✓No dependencies — pure browser XML
  • ✓One-click copy of the result
  • ✓Runs locally — nothing uploaded

Who it's for

  • Cleaning API or config XML
  • Debugging malformed payloads
  • Preparing readable samples for docs
  • Shrinking XML before embedding

How it works

  1. 1Paste your XML into the input.
  2. 2Pick an indent size if you plan to beautify.
  3. 3Click Beautify or Minify.
  4. 4Copy the result or fix any reported parse error.

Frequently asked questions

Does this validate against an XSD?+

No — it checks well-formedness via DOMParser (application/xml). Schema validation is out of scope.

What does minify do?+

It removes insignificant whitespace between tags while keeping element structure and text content.

Why did I get a parser error?+

The markup is not well-formed — common causes are unclosed tags, mismatched names, or illegal characters in text. The message points at what the browser rejected.

Are namespaces preserved?+

Yes — attributes and tag names are serialised as the parser saw them, including prefixed names.

Is my XML uploaded?+

No. Everything runs in your browser.

You may like

Some links may be partner links — how this works