Format a mapping
Input
name: toolbox
ready: trueExample output
name: toolbox
ready: true
Format and validate YAML locally with bounded alias expansion and configurable indentation.
| Input | YAML text |
|---|---|
| Output | Validated, consistently indented YAML |
| Processing | Local Web Worker; input is not uploaded |
| Maximum input | 2 MB |
Input
name: toolbox
ready: trueExample output
name: toolbox
ready: true
Alias expansion is bounded to protect browser resources.
Comments are retained during normal formatting; sorting keys rebuilds the data model and therefore removes comments.
This version accepts one YAML document per run rather than a multi-document stream.
No. Parsing and formatting run locally in a Web Worker.
Normal formatting preserves comments. Enabling key sorting rebuilds mappings and removes comments, so leave sorting off when comments matter.
It checks whether the text parses as YAML. It does not validate application-specific fields or a separate schema.