A nested map
A nested YAML mapping becomes a TOML table.
database: host: localhost port: 5432
Paste one YAML document. Comments are dropped, and null is an error.
Comments in the YAML are discarded. TOML has no null, and timestamps stay strings under the YAML 1.2 core schema.
Ctrl+Enter or ⌘+Enter runs this tool immediately.
Waiting for input.
Parsing stays in this browser. Input is not uploaded or saved.
A nested YAML mapping becomes a TOML table.
database: host: localhost port: 5432
Under the core schema, 2024-01-15 is a string, not a TOML date.
shipped: 2024-01-15
Convert TOML 1.1 configuration to YAML with 2-space or 4-space indentation. Dates become strings, comments are dropped, and invalid TOML produces no YAML.
Convert YAML configuration to readable or compact JSON in the browser. Comments are dropped, and parse errors include line and column when the parser reports them.
Convert a JSON object to TOML in the browser. Null values and mixed arrays are rejected, and invalid JSON produces no TOML.