XML formatter and validator

Check XML syntax and format element structure without fetching resources.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.

Options

Options

How to use this tool

  1. Paste XML without a DTD.
  2. Choose readable indentation or compact formatting.
  3. Text values, attributes and element order are retained.

Things to know

  • DTDs and entity declarations are rejected. Pretty formatting is avoided for mixed text content so whitespace does not change its meaning.
  • Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
  • Structured documents accept up to 128 nesting levels and 250,000 values; query and schema modes have additional limits.

You might also need

More in data & csv