Input (TOML)
title = "Example"
[owner]
name = "Alice"
active = true
[database]
ports = [8000, 8001]This tool converts between TOML and YAML, two human-friendly configuration formats. TOML (Tom's Obvious Minimal Language) uses explicit key/value pairs and bracketed tables, and is the format behind Cargo, pyproject.toml, and many Rust and Python projects. YAML uses significant indentation to express the same nested maps and lists more compactly. The converter parses one format into an in-memory data model and serializes it to the other, preserving structure, types, and nesting.
Everything runs locally in your browser using JavaScript parsers, so your configuration never leaves your machine and nothing is uploaded to a server. This makes it safe for secrets-bearing config files. Paste TOML to get equivalent YAML or paste YAML to get equivalent TOML, then copy the result. It is handy when migrating a project's config style, reading an unfamiliar format, or producing YAML for a CI system from existing TOML settings.
The main file is the entry point for each run.
Use the Input panel to pipe standard input to your program when it needs data.
Run sends your code to a fresh hosted runtime and streams the result into the output panel.
Your draft stays in this browser, and Share creates a separate snapshot link.
title = "Example"
[owner]
name = "Alice"
active = true
[database]
ports = [8000, 8001]title: Example
owner:
name: Alice
active: true
database:
ports:
- 8000
- 8001[[servers]]
name = "alpha"
ip = "10.0.0.1"
[[servers]]
name = "beta"
ip = "10.0.0.2"servers:
- name: alpha
ip: 10.0.0.1
- name: beta
ip: 10.0.0.2count = 42
ratio = 3.14
enabled = false
label = "v1.0"count: 42
ratio: 3.14
enabled: false
label: v1.0[package]
name = "app"
version = "1.2.0"
[package.metadata]
license = "MIT"package:
name: app
version: 1.2.0
metadata:
license: MITpoint = { x = 1, y = 2 }
tags = ["a", "b"]point:
x: 1
y: 2
tags:
- a
- b[build]
started = 1979-05-27T07:32:00Z
retries = 3build:
started: 1979-05-27T07:32:00Z
retries: 3The editor uses Monaco, the engine behind VS Code, with language-aware editing tools and familiar keyboard controls.
Paste TOML to get YAML, or paste YAML to get equivalent TOML.
One format is parsed to a data model, then serialized to the other.
Bracketed [tables] and key/value pairs map to YAML nested maps.
Lists and nesting carry across in both directions.
Value types are kept intact through the conversion.
JavaScript parsers run in-browser, so config never leaves your machine.
Safe for secrets-bearing files like pyproject.toml or Cargo.toml.
Migrate a project's config style without rewriting by hand.
Produce YAML for a CI system from existing TOML settings.
Output
YAML output