Paste XML and find out at once whether it is well-formed. If not, you get the first problem in plain words, such as a closing tag that does not match, an unquoted attribute, a stray & or a second root element, with its line and column and a pointer under the exact spot. Valid files show their root element and how many elements and attributes they hold.
Well-formed XML: root <invoice>, 10 elements, 7 attributes, 4 levels deep.
Checks the XML rules every parser enforces. It does not check against a DTD or XSD schema.
Processing runs in your browser. What you type never leaves this device.
Exact line and column of the first error
The broken line shown with a pointer
Plain explanations for each kind of error
Root element, element, attribute and depth counts
Format or minify once it passes
Runs in your browser
Search engines reject sitemaps with a single unescaped & in a URL. Find it here.
Check RSS, podcast and partner XML feeds before they break an importer.
Catch a missing closing tag in pom.xml, web.config or an Android layout before a build fails.
Schema validation (DTD or XSD) checks which elements are allowed where. This tool checks well-formedness, the rules every parser enforces first. For sitemaps, the sitemap validator also checks sitemap rules.
Tidy valid XML with the XML formatter.
XML Formatter
Pretty-print or minify XML after a well-formedness check
Sitemap Validator
Validate XML sitemaps
YAML Formatter
Validate and format YAML; convert to and from JSON
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.