# YAML Viewer Guide

Validate and explore a YAML document.

- Tool: https://ilham.dev/tools/yaml-viewer/
- Guide URL: https://ilham.dev/guides/yaml-viewer/
- Tool guides index: https://ilham.dev/guides/tools/
- Broader guide: Working With Structured Data (https://ilham.dev/guides/working-with-structured-data/)

## What it does

A collapsible tree view of a YAML document, showing the structure and the value counts on each branch. Anchors and aliases are resolved, so you see the effective document rather than the shorthand.

## Use the tool

Open https://ilham.dev/tools/yaml-viewer/, add the input the tool asks for, run it, and check the output before using it elsewhere.

## Input and output

- Input: text.
- Output: text.
- Category: Formats.

## Privacy and processing
Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

## Questions

### Are YAML anchors expanded?

Yes, which means the tree shows what the document means rather than how it was written. That is usually what you want, but it does hide where the reuse came from.