Skip to main content

YAML to TOML

Convert YAML configuration files to TOML format.

yamltomlconvert
Read the guide
Shortcuts:⌘ KSearch
0 lines

Frequently Asked Questions

How does nested YAML turn into TOML here?

Plain nested objects become TOML tables like [parent.child], and arrays of objects become array-of-table blocks like [[services]].

Can it read inline YAML arrays like [1, 2, 3]?

Yes. This parser has special handling for bracketed inline arrays and converts each item recursively.

Why did my null value become an empty string in TOML?

In this implementation, null and undefined are serialized as "". That is a converter choice here, not a TOML null type.

Are YAML comments preserved in the output?

No. The converter strips # comments before parsing, unless the # appears inside a quoted string.

Will this handle YAML dates, anchors, or custom tags?

Not reliably. The parser only understands a small scalar set plus simple objects, lists, and inline arrays.

Related Tools