Loona Automation logoLoona Developer Tools
Home › Data Converters

TOML to YAML Converter

In short: paste TOML (pyproject, Cargo, Hugo) and get YAML — tables as nested maps, array-of-tables as a list of objects, datetimes carried as strings.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

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.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.