Free Online YAML Tree Viewer
Explore YAML Config Files as a Collapsible Tree
Need to use YAML Tree Viewer right now?
YAML's indentation-based structure is compact to write but easy to misread at a glance — a deeply nested config file (Kubernetes manifests, GitHub Actions workflows, docker-compose files) can hide its real hierarchy behind whitespace that's hard to visually track past a few levels.
Click any object or list to collapse or expand it. Useful for exploring config files like docker-compose.yml or GitHub Actions workflows.
Other tools in Developer Tools
Features
- Runs entirely in your browser
- Privacy-first — your data is never uploaded
- Real-time, instant results
- 100% free, no sign-up required
- Works on desktop, tablet, and mobile
- No installation needed
Who uses this tool?
About YAML Tree Viewer
YAML's indentation-based structure is compact to write but easy to misread at a glance — a deeply nested config file (Kubernetes manifests, GitHub Actions workflows, docker-compose files) can hide its real hierarchy behind whitespace that's hard to visually track past a few levels.
This tool parses YAML and renders it as an interactive, collapsible tree — the same structure a JSON tree viewer shows, but built from YAML's syntax — so you can expand only the sections you're currently working on and collapse the rest, rather than scanning indentation levels by eye.
Because YAML and JSON represent the same underlying data model (objects, arrays, and scalar values), the tree view looks and behaves identically regardless of which format the source file used, making this equally useful for exploring a converted JSON payload written in YAML syntax.
How it works
- Paste your YAML. Paste any valid YAML document or config file content.
- Explore the tree. Click any object or list to expand or collapse it.
- Scan by color. Strings, numbers, and booleans are color-coded for quick scanning.
Examples
Simple config
Input
name: my-app ports: - 8080 - 443
Output
A tree showing "name" and an expandable "ports" list with two entries.