XML Formatter

Make XML readable and check that it is well formed. It runs in your browser.

Your files stay with you. Your files never leave your browser. This tool runs on your device: nothing is uploaded to our servers, so there is nothing for us to store or see.

How to use it

  1. Paste your XML or open a .xml file.
  2. Choose the indentation, or Minified.
  3. Copy or download the result.

Questions people ask

What does the validator check?
That the XML is well formed: tags are opened and closed in the right order, there is a single root element, attributes are quoted and comments and CDATA sections are closed. It does not check against an XSD or DTD.
Does formatting change my data?
Whitespace between elements is re-indented, and runs of spaces inside text are collapsed. Content that depends on exact whitespace should not be reformatted.
Can it handle SOAP, RSS and sitemap files?
Yes, they are ordinary XML. Namespaces in tag names such as soap:Body are accepted.
Is my XML uploaded?
Your text is processed in your browser and never sent to our servers.

Want this inside your own account?

Marketiism keeps your invoice numbers, GST reports, UPI payment links and WhatsApp reminders in one place. Leave your details and we'll call to set it up for your business, or start the trial yourself.

Start free trial

We use this only to contact you about Marketiism. No spam.

More Developer tools

JSON Formatter

Format, validate and minify JSON, and see exactly which line has a mistake.

JSON to CSV

Turn a JSON list of records into CSV for Excel or Google Sheets.

CSV to JSON

Convert CSV rows into a JSON list, with numbers and true/false detected.

YAML to JSON

Convert YAML config files into JSON and catch indentation mistakes.

Try it on your own business for two weeks.

14 days free, no card. If you get stuck setting up WhatsApp, we'll get on a call and do it with you.