XML Minifier
Minify XML data by removing unnecessary whitespace
Minify XML data by removing unnecessary whitespace
Minify XML data by removing unnecessary whitespace
Input text
input: <person id="1"> <name>Ana</name> </person>
Use the example button when available, or paste these values into the corresponding fields.
XML 1.0, one root, at most 100 nested elements. DOCTYPE and ENTITY declarations are rejected, including declaration-like text inside comments or CDATA. Only predefined entities and valid numeric character references are accepted; external resources are never loaded. Namespace names are retained without fetching or validating schemas. Parser-reserved element names __proto__, constructor and prototype reject. Conservative minification collapses whitespace in tag markup and empty paired tags. All text whitespace, including whitespace-only nodes, is retained because its significance cannot be determined without a schema. Attribute values, CDATA, comments, declarations and processing instructions remain intact. No XML canonicalization claim.
Tool processing runs on your device. Your input is not sent to a processing server. Some tools may download runtime files or use platform features; see the tool notes.
Review delimiter, headers and data types. Keep a backup and inspect the converted output before importing it elsewhere.
Yes. ToolXovo tools are free to use. Beta tools are still being validated; check their notes and exported results.