Free website audit in 60 seconds
Skip to content
Webmaster.ae
  • Loading…
Webmaster.ae
Free website auditSpeed, SEO, security and email, with a PDF report

Follow us

Runs in your browserFree · no sign-up

XML formatter and validator

Paste XML to indent it neatly or minify it, and to check that every tag is closed and matched. Works for sitemaps, RSS feeds, SOAP payloads and config files.

Live resultUpdates as you type

Press “Format XML” to see the result here.

How do I use the XML formatter and validator?

XML formatter and validator: frequently asked questions

Does it validate against a schema?

No. It checks that the XML is well-formed (tags opened and closed in the right order), not that it matches an XSD.

Is my XML uploaded?

No. Formatting runs in your browser.

Are comments and CDATA kept?

Yes. Comments, CDATA sections and the XML declaration are preserved.

Can I format a sitemap?

Yes. Paste the sitemap XML to read it more easily or check it is well-formed.

Why does minify help?

Removing whitespace between tags makes files smaller to send, for example in APIs.

What does “closing tag does not match” mean?

A tag was closed in the wrong order, e.g. <a><b></a></b>. Fix the nesting.

Does it change my data?

Only whitespace between tags. Text inside elements is kept.

Can I convert XML to JSON?

Not yet. That converter is on our roadmap.

Is there an API for this tool?

Selected tools are available through a rate-limited public API. Contact us if you need higher volumes.

Is the xml formatter and validator free?

Yes. It is free with no sign-up and no usage limits for normal use.