代码、数据与二维码工具

TOML转YAML

提供TOML转YAML的交互处理。

优先本地处理无需注册隐私说明 ↗

TOML up to 100,000 characters. Supports tables, arrays, strings, booleans, numbers, inline tables, and dates.

使用步骤

如何使用

  1. Paste TOML up to 100,000 characters, including tables, arrays, strings, numbers, booleans, or dates.
  2. Convert and review the YAML output and any syntax boundary message.
  3. Copy the YAML or download it as a .yaml file.

TOML values and dates

The converter supports quoted and literal strings, booleans, finite integers and floats, arrays, inline tables, and RFC 3339 local or offset date/time values. Dates are emitted as quoted YAML strings so the value is not silently changed by a YAML parser.

Tables, arrays, and safe limits

Dotted table headers create nested mappings, while arrays and inline tables stay as YAML sequences and mappings. Array-of-table headers ([[table]]) are outside this focused converter; mixed arrays are rejected. Input is limited to 100,000 characters and nesting is limited to eight levels to keep output bounded and readable.

Local processing

Parsing, YAML serialization, copying, and download preparation happen in your browser. Nothing is sent to a server.

常见问题

你可能还想知道

Are dates converted to YAML dates?

No. TOML dates and times are quoted strings in the YAML output so their exact spelling and timezone information remain intact.

Can arrays contain different types?

No. TOML arrays are required to contain compatible values here; mixed arrays produce a clear error instead of ambiguous YAML.

Does this upload my TOML?

No. Conversion runs locally in your browser.