Text & code / LING.TOOLS

XML validator & formatter

Validate XML syntax and optionally format documents without fetching external resources.

Input & settings

01
Configure tool input
Processed in your browser. Your input is never uploaded or saved.

Result

02

Ready when you are

Set up your input and run the tool. Your result will appear right here.

Private · Instant · Local

GUIDE & CONTEXT

About this tool

Parsing is local. External DTD and entity declarations are rejected to avoid loading or expanding untrusted content. Formatting may change insignificant whitespace.

How to use it

  1. Paste XML and choose validate or format.
  2. Run and review parser errors or formatted output.
Example

<root><item>Hi</item></root> can be validated or indented.

↑ ↓ navigate · Enter openEsc close