Free tools. Always useful.
← All tools
DATA & ENCODING

YAML formatter & converter

Validate or format YAML 1.2, or convert one document between YAML and JSON. Numeric values are preserved; unsupported conversions are reported. Formatting supports multi-document YAML and preserves comments. Inputs stay in your browser.

Runs in your browser
>_Ready when you aresysadmin.au / yaml-tools
Up to 1 MiB. Conversion accepts one document; formatting supports multiple documents.

Formatting preserves YAML comments. JSON has no comments or aliases; conversion expands supported aliases and reports values it cannot represent.

Readable configuration, without silent numeric rounding.

A useful starting point

Example input: service: nginx port: 443

Private by default

Your inputs and results stay in this tab. Optional Ask Gavin shares only what you review and send. Chat limits and privacy →