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.
Format, minify, and validate JSON with optional key sorting.
Validate XML structure and report errors.
Compare two XML documents and list structural differences.
Format or minify HTML markup on your device.
Compare two JSON documents and list structural differences.
Encode and decode text with Base64.
Decode JWT header, payload, and expiry—including Bearer tokens—on your device.
Paste XML to convert it into JSON with attributes, text nodes, and repeated elements preserved. Conversion uses the browser XML parser on your device.
Open the XML to JSON form on this page, enter the values or file required for your task, and run the tool. Review the results panel and adjust inputs as needed. Your data stays on your device and is not uploaded.
Paste XML to convert it into JSON with attributes, text nodes, and repeated elements preserved. Conversion uses the browser XML parser 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
Yes. It is free to use and you do not need to sign in or create an account.
See the privacy note on this page. Many tools run on your device; some heavier file tools may use secure temporary processing when required.
Yes. Open this page on your phone or tablet, enter your inputs, and use the on-screen controls.
Page last reviewed: