Document format
YAML
YAML is a human-oriented serialization language for mappings, sequences and scalar values. It favors readable indentation and permits comments.
Learn more
Convert from YAML
Available conversions · 10
Convert to YAML
Available conversions · 6
Conversion is available locally in your browser. VALIDATED records tested, bounded profiles; EXPERIMENTAL records provisional acceptance. Neither status promises complete preservation or support for every file.
What is the format?
YAML is a human-oriented serialization language for mappings, sequences and scalar values. It favors readable indentation and permits comments. Clark Evans, Ingy döt Net and Oren Ben-Kiki developed it. YAML is often used for configuration, but a readable file still needs a precise parser and an application schema.
Technical profile
The cards describe the file format. Conversion boundaries are explained below.
History and evolution
YAML’s design began in the early 2000s. Version 1.1 and version 1.2 differ in important implicit typing rules; YAML 1.2 aligned its core direction more closely with JSON. Revision 1.2.2 clarifies the specification. A tool advertising YAML support may still interpret older rules, so version and schema matter.
Related formats
Compare document models and their uses.
Technical architecture
Block collections use indentation; flow collections use brackets and braces. Scalars may be quoted or use literal and folded multiline styles. Anchors and aliases can express shared nodes; tags identify types. YAML’s full model is richer than JSON and can include complex keys. Tabs must not be used for indentation. Comments are presentation information rather than ordinary data values.
Real-world applications
Deployment configuration, automation workflows and application settings use YAML. Its readability is valuable during review, particularly when comments explain an unusual option. Validate against the tool’s own schema: syntactically correct indentation can still place an option under the wrong parent and change behavior.
Advantages and limitations
Comments and multiline strings improve authoring, but implicit types and indentation create surprising mistakes. YAML is not automatically safe because it is text. Some loaders can construct language-specific objects, while recursive aliases or huge structures can exhaust resources. Use bounded data-only parsing for untrusted input.
Compatibility and software
YAML libraries exist for many languages and configuration platforms. Confirm the supported YAML version and loading mode. Roundtripping through a generic serializer may change quotation, key order, comments or anchors without changing admitted values. Keep the authoring original when comments and formatting are part of the maintenance process.
Conversion considerations
UTCE accepts a bounded YAML 1.2 core profile with string keys and JSON-compatible values. Custom tags, merges, cycles and YAML 1.1 profiles reject. Acyclic aliases are bounded; alias identity, comments and source syntax are not retained. JSON export therefore carries admitted values rather than a reversible copy of the YAML source.
Frequently asked questions
What is the difference between YAML and JSON?
YAML adds comments, indentation-based collections and a richer node model. A JSON-compatible YAML subset can exchange values with JSON, but not every YAML document fits that subset.
Will comments survive conversion?
Not in UTCE’s value-oriented profile. Keep the original configuration if its commentary explains operational decisions.

