TOML → YAML Converter

Convert TOML to YAML. Paste TOML or import a file; preview, copy, and download.

TOML
Paste TOML directly or import a .toml or .txt file from this device.
YAML
YAML output updates as soon as the input contains valid TOML.
title: TOML Example
owner:
  name: Tom Preston-Werner
database:
  ports:
    - 8001
    - 8001
    - 8002
  enabled: true

What this tool is for

Use this tool when you need to turn valid TOML into YAML that is easier to scan, share, or commit. Everything runs locally in the browser.

Where it helps

  • Converting API examples into YAML for docs or config files.
  • Rewriting copied TOML payloads into a format that is easier to diff by eye.
  • Preparing structured content for tools and workflows that expect YAML.

What to watch for

  • Input must be valid TOML in this tool.
  • The converter preserves data structure, but YAML presentation can still differ from hand-written style.
  • If you need to go the other direction, use the YAML to TOML converter instead.