Format, minify, and validate XML in your browser — pretty-print with 2/4/tab indentation, real-time well-formedness validation with line & column, an interactive searchable tree view, statistics, and a namespace/DOCTYPE/entity summary. External entities and DTDs are never resolved (XXE-safe); nothing is ever uploaded.
Where it runs
Your browser
Data retention
None — nothing is uploaded or stored
Maintained by
EasyTechLabs Engineering
🔒 Nothing you paste, type, or drop is uploaded, stored, or logged. All processing happens in your browser and the data never leaves your device — close the tab and it is gone.
A controlled, single-pass tokenizer parses your XML into a node tree, checks well-formedness (balanced/nested tags, quoted and unique attributes, a single root, terminated comments/CDATA/PIs/DOCTYPE) and reports the line and column of any problem. Formatting re-serialises the tree with your chosen indentation (or minified), preserving names, attributes, text, CDATA, comments, and entity references exactly. A summary collects the declaration, DOCTYPE, namespaces, processing instructions, entity references, and duplicate attributes. The tokenizer is used deliberately instead of a DOM parser.
🔒 Runs entirely in your browser — nothing you paste, type, or drop is uploaded, stored, or logged.