TOML to YAML Converter
NEWConvert TOML to YAML in your browser with a 2- or 4-space indent and clear errors that show the line.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
TOML comments are not carried over. Dates and date-times stay as YAML timestamps, times of day become strings, and integers beyond 2^53 are written as quoted strings so no digit is lost.
Quick Examples
Typical inputs and the results this tool produces.
Overview
TOML to YAML Converter reads a TOML file and writes the same data as YAML. Tables become nested mappings, arrays of tables become lists of mappings, and strings are quoted only when YAML needs it, for example when they look like numbers or booleans.
Use it to move settings from Cargo.toml or pyproject.toml style files into tools that expect YAML, such as CI pipelines or Kubernetes-style manifests. TOML dates and date-times stay timestamps, times of day become strings, and integers beyond 2^53 are quoted so no digit is lost. Invalid TOML is reported with its line and column.
Nothing leaves your browser.
Why use this tool?
- Converts TOML settings for tools that only read YAML
- Quotes ambiguous strings so "true" and "123" do not turn into other types
- TOML syntax errors point to the line and column
- Works offline in the browser — your config is never uploaded
Features
Paste or upload
Paste TOML or open a .toml file up to 2 MB.
Indent choice
Write nested YAML with 2 or 4 spaces.
Dates preserved
TOML dates and date-times are written as YAML timestamps.
Safe quoting
Text that could read as a number, boolean or date is quoted.
Swap direction
Send the YAML to the YAML → TOML tool to test the round trip.
Copy or download
Copy the YAML or save a .yaml file.
How to Use
Add your TOML
Paste it, open a file, or press Load sample.
Choose the indent
Pick 2 or 4 spaces for the YAML output.
Review the result
Errors appear in red with the line; amber notes mention very large integers.
Copy or download
Use Copy, Download .yaml, or Swap to convert back to TOML.