Skip to content
Input
XML
Limit
1 MiB
Runtime
Browser

Check XML 1.0 well-formedness locally

Parse XML 1.0 syntax and report whether its document structure is well formed without claiming schema or business-rule validity.

Local processingNo sign-upNo network access

Validate XML

Inputs are limited to 1 MiB and stay in this browser tab.

Paste or edit the source. Tool Swim does not upload or save it.

Well-formedness report

Nothing is placed in a URL, account, or remote log.

What this tool does

XML 1.0, bounded, and local

A well-formed document obeys XML syntax: it has one document element, properly nested tags, quoted attributes, legal characters, and valid namespace usage. That is narrower than validation against XSD, RELAX NG, or an application contract.

The result answers one exact question

The report identifies XML version and root information for accepted input. It never implies that element names, attribute values, record counts, or domain rules are correct.

External processing is excluded

The parser rejects DTD declarations and does not resolve external entities, schemas, stylesheets, XInclude targets, URLs, or local files.

Primary references

Questions and answers

Related XML tools