Code · Made a little simpler

TOML to YAML

Preview a YAML 1.2 mapping from local TOML. Keep nested values and large integer digits, and carry date and time values as quoted source text.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Undo: Ctrl/Cmd+Z · Redo: Ctrl/Cmd+Shift+Z or Ctrl+Y. Up to 20 steps and 4 million retained characters in this tab. Clear discards history.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

TOML to YAML: how to use it

  1. Paste TOML, open a UTF-8 file, or load the sample.
  2. Choose the source TOML version and convert it. Read the YAML mapping in the preview.
  3. Check sequence items, integer digits, and quoted date or time values before copying or downloading.

Limits and notes

Use up to 1 MiB per UTF-8 file or 1,048,576 pasted characters, with up to 128 levels of nested values or tables.

How your privacy works →

TOML to YAML: common questions

What happens to a TOML array of tables?

Each table becomes a mapping in a YAML sequence. The sequence keeps the input order.

Does conversion round 64-bit integers?

The exported YAML keeps exact decimal digits. To use the integer in an application, choose a YAML reader that supports its range.

How are TOML date and time values exported?

YAML receives quoted strings with the source offset and fractional digits. Choose date parsing explicitly in the destination if it needs a temporal type.

Guides