TOML → YAML — TOML configs as readable YAML

Turn TOML into YAML using the same JSON intermediate as other FastMinify converters — indentation controls included.

Loading…
TOML → YAML converter
Turn TOML configs into readable YAML for reviews and GitOps diffs.

Developer notes

• YAML comments must be added manually after conversion. • Use readable layout for human review; tight layout for compact diffs.

When teams pick this route

• Share TOML configs with teammates who prefer YAML. • Preview YAML equivalents before migration projects.

About these options

CSV exports: choose a delimiter (Auto follows locale — semicolon on /fr), RFC-minimal vs always-quoted fields, line endings, and whether to emit a header row. CSV imports: delimiter + whether row 1 holds column names (Auto delimiter follows locale only for convenience). JSON output (XML, YAML, or CSV sources): indentation (including compact one-line) and optional recursive key sort. JSON → XML: toggle pretty-printing and indent width. YAML output: indent width, readable vs tighter layout, and deterministic string quoting (there is no source YAML file to “preserve”). XML comments are not represented in the intermediate JSON tree.

Worked example

Package section

Sample input

[package] name = "fastminify" version = "1.0.0"

Sample output

package: name: fastminify version: 1.0.0

Dependencies

Sample input

[dependencies] serde = "1.0"

Sample output

dependencies: serde: "1.0"

Navigate related tools

See TOML → JSON, YAML → TOML, or YAML beautifier.

TOML → YAML FAQ

Emitter options

String quoting in YAML?

Controlled via YAML string quoting options on the conversion panel.

Round-trip fidelity?

Comments and stylistic choices may differ — diff manually for critical configs.

Privacy?

All conversion runs locally in your browser.

Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.