Skip to content
Input
XML
Limit
1 MiB
Runtime
Browser

Select XML nodes with a safe path subset

Select elements with documented child or descendant steps, wildcards, indexes, and exact attribute or text literals without executing general XPath or user code.

Local processingNo sign-upNo network access

Query 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.

Use / or // element steps, * wildcards, one-based indexes, or exact @attribute and text literals. Functions and scripts are not accepted.

Matched node paths

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

What this tool does

XML 1.0, bounded, and local

This selector resembles a simple XML path but is not XPath. It limits navigation and matching to deterministic element steps and bounded literal predicates so a query remains inspectable.

A path is navigation, not evaluation

Slash steps match direct children and double-slash searches descendants. A step may use a wildcard, one-based index, exact attribute value, or exact text value; comparisons, arithmetic, regex, templates, and functions remain unsupported.

Namespace identity remains explicit

Prefixes are lexical aliases rather than namespace identities. Inspect declarations first when documents use default or prefixed namespaces, and review how the bounded selector contract resolves names.

Primary references

Questions and answers

Related XML tools