Your files stay on your device YAML formatter, validator, converter Check YAML with positioned errors, reformat it, or walk it to and from JSON through the shared interchange model: anchors resolved away, merge keys expanded, comments counted as dropped, every loss in the report. Loading editor…Loading editor…OptionsDownload Anchors, aliases, and merges YAML lets you name a block once and reuse it. The &name marks an anchor, *name pulls in a copy of that node, and << merges a mapping into the current one. Merges are a widely supported extension rather than part of the core YAML 1.2 spec, so not every parser accepts them. &base anchor on the node that follows *base alias that reuses the anchored node <<: *base merge the anchored mapping into this one Unquoted yes and no YAML 1.1 reads unquoted yes, no, on, and off as booleans. A country list with NO for Norway parses as false. YAML 1.2 narrows booleans to true and false, but plenty of tools still follow the older rules. Quote a value like 'NO' when the text is meant to stay a string. What JSON cannot hold JSON has no comments and no anchors. Converting to JSON therefore resolves each alias into its value, so repeated data is written out in full. Comments have nowhere to go, so the report lists each one as dropped. Read that report before you trust the converted file. More config file tools - TOML (/config/toml) - JSON converter (/json/convert) - docker run → compose (/config/docker) - XML (/config/xml) All config file tools (/config) Was this tool useful? YesNo Canonical HTML: https://nutter.tools/config/yaml Markdown version: https://nutter.tools/config/yaml.md Plain-text version: https://nutter.tools/config/yaml.txt Agent index: https://nutter.tools/llms.txt