Skip to content
Leandro Lima

XML formatter & validator

Indent, minify and well-formedness-check XML documents.

Formatting & validation100% client-side

Input

Output

Recent

Nothing here yet.

About this tool

XML is still the wire format for a large share of financial and enterprise integrations, and those payloads tend to arrive as one enormous line. This tool re-indents the document so the structure is visible, and flags well-formedness problems — unclosed tags, mismatched names, stray characters — before you spend time hunting them by eye.

Validation uses the browser's built-in DOM parser. It checks well-formedness, not conformance to a schema, so a document can pass here and still be rejected by an XSD.

How to use it

  1. 1Paste your XML document into the input panel.
  2. 2Pick an indentation width, or minify to strip formatting whitespace.
  3. 3Copy the result, or fix the position the error message reports.

Privacy

This tool runs entirely in your browser. Nothing you type or paste is sent to a server, and your local history is stored only on this device.

Related tools