XML Formatter & Minifier

Format XML with proper indentation or minify it to reduce size. 100% client-side.

Preserves mixed text, CDATA, and xml:space="preserve". Formatting changes whitespace-only indentation between child elements; avoid it when that whitespace is meaningful. Limit: 1 MiB.