Convert YAML configuration documents and files into standard TOML 1.0 format with formatted tables.
Your data is computed entirely inside your browser's JavaScript engine and is never transmitted across the network.
1apiVersion = "apps/v1"2kind = "Deployment"34[metadata]5name = "converthub-api"67[metadata.labels]8app = "converthub"9tier = "backend"1011[spec]12replicas = 31314[spec.selector.matchLabels]15app = "converthub"1617[spec.template.metadata.labels]18app = "converthub"1920[[spec.template.spec.containers]]21name = "api-server"22image = "ghcr.io/converthub/engine:v2.4.0"2324[[spec.template.spec.containers.ports]]25containerPort = 80802627[spec.template.spec.containers.resources.limits]28cpu = "1"29memory = "1024Mi"3031[spec.template.spec.containers.resources.requests]32cpu = "250m"33memory = "256Mi"34Follow these 3 simple steps to complete your conversion in seconds.
Paste your YAML to TOML code directly into the left editor pane or click Upload to select a file.
Adjust indentation (2 or 4 spaces), toggle alphabetical key sorting, set SQL table name and dialect quotes, or pick a built-in template.
View formatted output in real time with line numbers and syntax highlighting. Click Copy or Download to save.
Formula representation used for accurate calculations:
Quick reference lookup table for standard unit calculations.
| Data Type / Construct | JSON Representation | YAML / TOML Representation |
|---|---|---|
| Key-Value Map | { "key": "value" } | key: value / key = "value" |
| Array / List | [1, 2, 3] | - 1\n- 2 / [1, 2, 3] |
| Boolean | true / false | true / false |
| Null / Nil | null | null / ~ (omitted in TOML) |
| Multiline String | "Line 1\nLine 2" | | (Literal) / """ (Multiline) |
| Numbers / Floats | 42 / 3.14159 | 42 / 3.14159 |
Common questions and answers about YAML to TOML Converter.