OCXLY
Developer Essentials · Free Tool

XML Formatter

Pretty-print, indent and validate XML — or minify it — entirely in your browser. Your data is never uploaded.

Indent

How it works

The XML is parsed with the browser's DOMParser to check it's well-formed (any syntax error is reported), then re-indented tag by tag. Minify strips the whitespace between tags for the smallest valid output. It only reformats — your content and attributes are untouched — and everything runs on your device.