Pretty-print, minify, or pinpoint-validate XML documents.
📄 Parsing uses your browser’s own XML engine — namespace-aware and spec-compliant. Whitespace-only text between elements is discarded when beautifying.
Beautifying re-indents nested elements for reading and diffing; minifying collapses all insignificant whitespace into one line, cutting transfer size for SOAP payloads and sitemaps. Both preserve data exactly.
Validation uses your browser’s own XML parser, so error messages quote the spec — including mismatched tag names and illegal characters with their position.
Documents using xmlns declarations round-trip untouched: prefixes, default namespaces, and attribute values survive formatting byte-for-byte apart from whitespace.
More tools you might find useful
Paste YAML and get clean, formatted JSON instantly.
Format and validate JSON with proper indentation.
Decode JWT tokens and inspect header, payload, and signature locally.
Every ASCII character with dec/hex/oct/bin codes, searchable.