Advertisement

TOML to YAML

Convert TOML to YAML free, in seconds. Paste your data below, press Convert, then copy the result and use it in Docker Compose, CI configs and apps. Everything runs in your browser, so nothing is ever uploaded.

TOML input

Paste your TOML below, then press Convert.

Tables and [[arrays of tables]] are supported, including dotted keys.

YAML output

Waiting for TOML input.

Private by design: conversion runs entirely in your browser with a built-in TOML parser, so your data never leaves your device.
Advertisement

How this conversion works

Paste TOML into the input box and press Convert (or just keep typing, conversion happens as you type). The tool parses it with a built-in TOML parser that understands tables, arrays of tables, dotted keys and inline tables, then emits it as YAML with proper two-space indentation, quoting strings only when needed. Conversion runs entirely in your browser with a built-in TOML parser, so your data never leaves your device.

YAML output notes

The output uses standard two-space indentation, so it works in strict YAML parsers including Docker Compose, GitHub Actions and Kubernetes manifests. Strings are quoted only when they need it: values with colons, hashes, leading special characters or number-like text get quotes, while plain strings, numbers and booleans stay clean and readable.

TOML to YAML FAQs

Why convert TOML to YAML?
YAML is the config language of Docker Compose, GitHub Actions, Kubernetes and countless apps. Converting gives you human-readable, hand-editable config from raw data exports.
How is my TOML parsed?
With a built-in TOML parser that supports [tables], [[arrays of tables]], dotted keys, inline tables, multiline arrays and all scalar types (strings, integers, floats, booleans and dates).
How are strings quoted?
Only when needed: values with colons, hashes, leading special characters or number-like strings are quoted, while plain strings stay clean. Numbers and booleans keep their native YAML types.
How is nesting represented?
With standard two-space indentation and dash lists, so the output works in strict YAML parsers without modification.
Is my data sent to a server?
No. conversion runs entirely in your browser with a built-in TOML parser, so your data never leaves your device.
Advertisement