XML Formatter
Format and indent XML data
Format and indent XML data
Format and indent XML data
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. Source-preserving formatting adds two-space LF indentation only to compact element-only content. Existing text whitespace, mixed content and xml:space subtrees remain unchanged. Attribute spelling, comments, CDATA, declarations and arbitrary processing instructions are retained. 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.