YAML to TOML

Convert one YAML object/mapping to TOML. Multi-document YAML is not supported.

All processing on this page runs locally in your browser unless noted otherwise.

How to use

  1. Paste a single YAML mapping (not multi-doc).
  2. Convert live or on demand.
  3. Copy or download the TOML output.

FAQ

Why must the root be an object?

TOML documents are tables. A bare array or scalar cannot be a valid TOML root.

Are comments preserved?

No. Conversion goes through data values, so comments are dropped.

Related tools