TOML to YAML Converter
Example
Input:
title = "Demo" [owner] name = "Ali"
Output:
title: Demo owner: name: Ali
About this converter
The reverse migration — TOML configs heading into YAML ecosystems (GitHub Actions matrices, Kubernetes-adjacent tooling, Ansible). The converter parses TOML (tables, dotted keys, array tables, inline tables, typed scalars and datetimes-as-strings) and renders YAML with the writer's quoting discipline, so strings that YAML would misread (yes, 012, strings containing :) are protected. Nothing about the data changes; only the notation does.
Frequently Asked Questions
How are datetimes rendered?
As ISO strings in the YAML — YAML timestamps would be an alternative, but strings round-trip identically everywhere.
Are comments preserved?
No — like most format converters, comments do not survive; the data and structure do.