XML Formatter
Format, minify, and validate XML with readable indentation.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Format, minify, and validate XML with readable indentation.
Compare two JSON documents and list structural differences.
Format, minify, and validate JSON with optional key sorting.
Encode and decode text with Base64.
Decode JWT header, payload, and expiry—including Bearer tokens—on your device.
Generate UUIDs for apps, tests, and databases.
Create compact short links for long URLs.
Test regular expressions against sample text.
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 works on your device.
1. Paste source text, code, or data into the XML Compare input panel. 2. Choose transform or validation options shown for XML Compare. 3. Run XML Compare or read automatic output. 4. Review errors or diff output carefully. 5. Copy the transformed result. Processing runs on your device; inputs are not uploaded to our server.
Example: paste a small sample input into XML Compare, run the transform or validation, and compare the output with the before text—fix any syntax errors reported before copying.
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 works on your device.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your data stays on your device and is not uploaded.
FAQ
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. Your information stays on your device and is not saved.
Page last reviewed: