XML Formatter & Validator
Pretty print and validate XML for sitemaps, RSS feeds, SOAP and config files, with clear well formedness errors. Parsed safely, never executed.
Runs on your device
Result
Results appear here as you type.
What it does
XML is parsed with the browser’s built in parser, which does not fetch external entities, so XXE attacks are not possible here.
How to use it
- Paste XML.
- Choose indentation.
- Copy or download the formatted result.
Example
The example fills in realistic values and runs the tool. Select Try an example above to see it.
When it helps
- Reading sitemaps and feeds.
- Debugging SOAP and payment gateway responses.
- Cleaning Android and Maven config.
Questions
Does it validate against a schema (XSD)?
No. It checks well formedness: matching tags, quoting and escaping.
Are comments kept?
Yes, along with CDATA sections.
More developer tools
See all 25- JSON Formatter & Validator Format, validate, minify or key sort JSON with clear error messages. Runs in your browser, so API responses and configs never leave your device.
- Base64 Encoder & Decoder Encode text to Base64 or Base64URL and decode it back, with full UTF-8 support for accents, Urdu script and emoji.
- URL Encoder & Decoder Percent encode or decode URL components and full URLs. Handles Unicode and reports malformed escape sequences instead of failing silently.
- JWT Decoder Decode a JSON Web Token header and payload, convert iat, nbf and exp to readable dates, and see whether it has expired. Tokens stay on your device.
- SHA Hash Generator Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text using the browser Web Crypto API. Nothing you type is uploaded.
- UUID v4 Generator Generate up to 1,000 random version 4 UUIDs at once using a cryptographically secure random source, in lowercase, uppercase or without hyphens.
People also use
Browse all 200 tools- Calorie Calculator (TDEE) Estimate how many calories you burn per day (TDEE) with the Mifflin-St Jeor equation, plus targets to maintain, lose or gain weight steadily. Health & fitness
- Readability Score Checker Measure how easy English text is to read with Flesch Reading Ease, Flesch Kincaid Grade, Gunning Fog and Coleman Liau scores. Text & writing
- Working Days Calculator Count business days between two dates, excluding weekends of your choice (Saturday and Sunday, or Friday and Saturday) and a list of public holidays. Business
- Compress Image to a Target Size (KB) Shrink a photo to under a target file size such as 100 KB, 50 KB or 20 KB for online forms, automatically finding the best quality that fits. Media & files