XML Formatter
Format, minify, and validate XML with readable indentation.
- Browser-based
- No signup
Developer
Paste XML on the left and right to compare element trees. Attribute order and insignificant whitespace are ignored; child order matters. Comments and declarations are skipped. Differences are listed as added, removed, or changed paths. Comparison runs entirely in your browser.
Attribute order and tag whitespace are ignored.
Results update as you type. Nothing is stored or sent to a server.
children[0].children[0].children[0].textLeft: "Old Title"
Right: "New Title"
children[1]Right: {"name":"book","attributes":{"id":"2"},"children":[{"name":"title","attributes":{},"children":[{"text":"Extra"}]}]}
Paste XML on the left and right to compare element trees. Attribute order and insignificant whitespace are ignored; child order matters. Comments and declarations are skipped. Differences are listed as added, removed, or changed paths. Comparison runs entirely in your browser.
Use the XML Compare form near the top of this page. Enter the values you know, run the tool, and review the results panel. You can change inputs and run it again. Processing stays in your browser and is not uploaded to Utilnivo servers.
Example: open XML Compare, enter a realistic set of inputs for your situation, and note the primary result. Change one input—such as an amount, rate, or option—and compare how the output changes so you can choose a scenario that fits your needs.
Second example: try edge cases that matter for your task—such as zero values, a different unit system, or a second file—and confirm the tool shows a clear result or a helpful validation message.
Paste XML on the left and right. Both sides are parsed into element trees, then compared structurally. Attribute order and insignificant whitespace are ignored; child element order matters. Comments and declarations are skipped. Differences are listed as added, removed, or changed paths. Comparison runs entirely in your browser.
This tool runs in your browser for convenience. Results are estimates or transformations based on the inputs you provide and may not cover every edge case.
No. Attributes are compared by name. Insignificant whitespace between tags is also ignored. Child element order matters.
No. Comments, declarations, and DOCTYPE nodes are skipped so you can focus on element structure, attributes, and text.
No. Comparison runs locally in your browser and input is not stored.