← All Tools

YAML Parser🔒 100% local

Parse and validate YAML. Privacy-first, no server uploads, no tracking.

Related Tools

API ClientAPI Key RedactorAspect Ratio Scaler

Reads a pasted YAML document with a small parser that covers the subset most config files use: nested maps, block lists written with a leading dash, inline lists in square brackets, and quoted or bare scalars. The output is an indented tree of the value it built, with a type label such as string:John or number:30 against every leaf and object{2} or array[2] against every branch, followed by the top-level keys. Parsing happens in the page and the document is never uploaded.

How to use it

  1. Paste the YAML into the input box and press Process.
  2. Read the tree under === Parsed structure ===: keys are printed with their inferred type, and containers are summarised before their contents are listed underneath.
  3. Check the last line, Top-level keys, to confirm the root really is a map of the keys you expect.
  4. Use Copy Output to take the whole tree, or Clear to empty both boxes.

Worked example

name: John age: 30becomes=== Parsed structure === name: string:John age: number:30 Top-level keys: name, age

The default example in the box.

server: host: localhost port: 8080 tags: - a - bbecomes=== Parsed structure === server: object{2} host: string:localhost port: number:8080 tags: array[2] [ string:a string:b ] Top-level keys: server, tags

Nested maps are indented under their key; array items are wrapped in their own [ and ] lines.

When to use it

What it does not do