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

  1. Paste YAML and enter a path (start with .).
  2. Use [0] for indexes, [] for arrays, and | length / keys / type.
  3. 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.

Related tools