Skip to main content

XML Formatter

Pretty-print or minify XML in your browser.

Tool workspace

Pretty-print or minify XML in your browser. Nothing is uploaded. Server Domain parsing disables network entity resolution.

How it works

Paste XML, choose Pretty-print or Minify, then Format. Processing runs in your browser.

Empty input clears the result—no error. Invalid XML shows a parse error. Domain unit tests parse with LIBXML_NONET (no network entity resolution).

Examples

  • <root><a>1</a></root> → indented XML

Privacy

Privacy: this tool processes XML locally in your browser. We do not log or store what you paste. Login is not required.

FAQ

Is my XML uploaded?

No. Formatting runs entirely in your browser.

Do I need an account?

No. All published tools work for guests without login.