Search common YAML syntax for maps, lists, comments, booleans, nulls, multiline strings, and anchors.
Last updated: August 2026 | By Workshelve Team
name: Workshelve
A key followed by a scalar value.
site: title: Workshelve live: true
Indent child keys with spaces.
tools: - YAML Beautifier - YAML Validator
Use a dash and a space for each list item.
users:
- name: Ada
role: adminIndent extra keys under the first list item key.
# deployment settings
Comments start with # and continue to the end of the line.
title: "Use quotes when: punctuation matters"
Quote strings that contain special YAML characters.
enabled: true archived: false
Use true and false for boolean values.
owner: null
Use null when a key is intentionally empty.
body: | Line one Line two
The pipe preserves line breaks within the block; trailing line-break behavior depends on the chomping indicator.
summary: > Long text can wrap across several lines.
The greater-than marker folds lines into text.
--- name: first --- name: second
Triple dashes can separate documents.
defaults: &defaults retries: 3 job: <<: *defaults
Anchors reuse blocks in YAML processors that support merges.
YAML uses indentation to show hierarchy. Use spaces for indentation; tabs are not allowed as indentation characters.
Quotes are helpful when values contain colons, hashes, braces, or leading zeros.
Related Tools
Build and preview Valorant crosshair settings.
Search common Vim commands.
Turn JSON rows into bar, line, or pie charts.
Convert WebP files and Base64 data in both directions.
Escape or unescape XML entity text safely.
Encode XML as Base64 or decode Base64 back to XML.