Skip to XML formatter workspace

XML Formatter, Validator & Minifier

Prettify compact XML with 2-space, 4-space or tab indentation, minify payloads to a single line, and pinpoint unclosed tags by line and column — 100% locally via browser DOMParser.

Zero Server Upload 2 / 4 Spaces · Tab · Minify Exact Line & Column Check
Output mode
Waiting for XML 0 elements · 0 B

Input XML

Formatted Output

Format, debug and minify XML safely.