SheepDev

YAML formatter

YAML formatter lets you validate and format YAML 1.2, including duplicate keys in your browser.

⌂ Inputs and results stay in this browser and are not automatically stored or sent.

Waiting for inputFormatting also checks syntax.

Waiting for input

How to use

Paste YAML with its original indentation and line breaks, then format it. Resolve duplicate keys or syntax errors first.

Compare sibling fields with nested fields. Check that tidying the layout did not change the intended hierarchy or value types. Alias expansion is limited rather than unlimited.

Examples

name: SheepDev
tools: 83

Principles and limits

Each input is limited to 1,048,576 bytes, output to 33,554,432 bytes, and processing to 5,000 ms. Input is never silently truncated.

Guides

Related tools

Data and structured data

JSON ⇔ YAML

JSON ⇔ YAML lets you convert between JSON and YAML and identify lossy features in your browser.

Text and regular expressions

Text diff

Text diff lets you compare text by line or character with optional whitespace ignoring in your browser.