XML formatter and validator
Check XML syntax and format element structure without fetching resources.
Bookmark this page
Keep this page handy for next time.
- On a computer
- Press Ctrl + D, or Command + D on a Mac.
- On a phone or tablet
- Open your browser's menu or Share menu and look for Add Bookmark, Bookmark or Add to favourites.
A bookmark saves the page link. Save any tool results separately.
How to use this tool
- Paste XML without a DTD.
- Choose readable indentation or compact formatting.
- Text values, attributes and element order are retained.
Things to know
- DTDs and entity declarations are rejected. Pretty formatting is avoided for mixed text content so whitespace does not change its meaning.
- Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
- Structured documents accept up to 128 nesting levels and 250,000 values; query and schema modes have additional limits.
You might also need
More in data & csvJSON formatter and validator
Validate and format JSON without rounding large integers.
TOML formatter and validator
Validate TOML configuration and produce consistent formatting.
YAML formatter and validator
Parse and reformat a YAML document with safe alias limits.
Bulk file renamer
Preview new filenames with prefixes, replacements and numbering, then download a renamed ZIP.
XPath tester
Run XPath 1.0 queries on local XML and inspect matching nodes.
JSON Schema validator
Check JSON data against a local draft-07 JSON Schema.
CSV row filter
Keep CSV records matching text or numeric conditions in a selected column.
JSON structural diff
Compare JSON values by structure and show changed JSON Pointer paths.
ZIP file maker
Combine selected files into a ZIP archive on your device, with duplicate-name checks.