YAML Anchor & Alias Explorer
About YAML Anchor Explorer
YAML Anchor Explorer makes YAML reuse visible by connecting each &anchor definition to its *alias references and showing the fully resolved configuration.
How it works
Definition inventory
Every anchored scalar, sequence or mapping is listed with its name, escaped JSON Pointer path, source line and column, node kind, compact value preview and reference count.
Alias graph
Alias entries show their source name and usage path, whether resolution succeeded and the line of the anchor definition they resolve to. Reused anchor names are distinguished by source order.
Safe resolved view
The report includes the document after aliases are expanded, with a maximum alias count that prevents excessive recursive amplification.
Frequently asked questions
Does the explorer modify anchors?
No. It reads the syntax tree and produces a report; the source YAML is unchanged.
Can an anchor name be reused?
YAML allows later definitions to shadow earlier ones. The explorer resolves each alias to the latest valid preceding definition and reports its target line.
Are merge keys enabled?
No. YAML 1.2 core does not enable the YAML 1.1 << merge-key extension by default; ordinary aliases are fully supported.
Sources & last verified
The behaviour of this tool and the claims on this page were checked against the specifications below on . Everything runs in your browser, so the output you see is exactly what the engine produced.
Found a wrong result or an outdated claim? Report an error and it will be re-verified.