YAML Path Query
Query a YAML document with a small yq-like expression language. Local preview only — not full yq.
All processing on this page runs locally in your browser unless noted otherwise.
How to use
- Paste YAML and enter a path (start with .).
- Use [0] for indexes, [] for arrays, and | length / keys / type.
- Copy the result JSON/text.
FAQ
Is this full yq?
No. It covers common path reads and a few pipes for quick inspection.
Multi-document?
Queries run on the first document only. Split with Multi-doc first if needed.
What pipes work?
length (or len), keys, and type.