XML Validator, Formatter and Linter

Syntax errors with line and column. Pretty-print with 4-space indent, or minify. XML Schema (XSD 1.0). Lint duplicate attributes and external DTDs. XML stays in your browser — nothing is uploaded.

Validate XML — line and column

Paste or type XML and get well-formedness errors with a line and column. Open a finding to jump to that spot in the editor.

Format and minify

Pretty-print with 4-space indent, or minify to a compact document. Formatting runs only when the document is well-formed XML.

XML Schema (XSD 1.0)

Paste an XSD to check the document. Schema checks use XML Schema 1.0 in the browser. Remote schemaLocation values are not fetched.

Lint what a silent parser hides

Some parsers keep the last value for a duplicate attribute and skip external DTDs. This linter reports those problems.

Your XML never leaves the browser

Validation, formatting, and schema checks run on your device. Nothing is uploaded.

What does this tool do?

It validates, pretty-prints, minifies and lints XML in your browser, with line/column errors and optional XML Schema (XSD 1.0).

Does my XML leave the browser?

No. Nothing is uploaded.

Which schema language?

XML Schema (XSD 1.0).

Why not just open it in a browser?

Silent parsers hide many issues. This tool reports findings with line and column.