Skip to content
Input
XML
Limit
1 MiB
Runtime
Browser

Inspect XML namespace declarations and usage

Inventory default and prefixed namespace bindings and show how qualified element and attribute names resolve through the document tree.

Local processingNo sign-upNo network access

Inspect namespaces

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.

Namespace report

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

What this tool does

XML 1.0, bounded, and local

A prefix is only a local alias. The namespace name is the URI bound in scope, and the default namespace applies to unprefixed element names but not ordinary unprefixed attributes.

Scope changes the meaning of a prefix

A nested declaration can rebind a prefix for its descendants. The report treats each binding in scope rather than assuming one document-wide prefix table.

URI identity matters more than spelling

Two documents can use different prefixes for the same namespace name. Conversion and comparison preserve namespace identity separately from the lexical prefix.

Primary references

Questions and answers

Related XML tools