Timestamp Converter
Convert Unix timestamps to readable dates and back, in any time zone.
YAML config into TOML tables — the format Cargo, Hugo and pyproject.toml want.
Drop a YAML file here, or click to choose one
Converted on your device — the file is never uploaded
The YAML to TOML Converter produces TOML from YAML configuration: nested mappings become [tables], lists of mappings become [[array tables]], and nulls — which TOML cannot express — are dropped and counted.
Rust’s Cargo, Hugo, Netlify, Poetry and every modern Python project with a pyproject.toml read TOML, while the same settings often already exist as YAML from an older setup or another tool. The two formats look similar and are not: TOML has real tables, explicit types, and no concept of null at all.
Paste YAML and get TOML. Nested mappings become [tables], deeper ones become dotted [table.names], and a list of mappings becomes the [[array of tables]] form that Cargo and Hugo use for dependencies and menu entries. Strings, numbers, booleans and dates are written in their TOML forms with proper quoting and escaping. Because TOML cannot express null, those keys are dropped — and counted, so you know exactly how many and can give them real values.
Nested mappings become [tables] and deeper ones dotted [table.names].
A list of mappings becomes the [[entry]] form Cargo and Hugo use.
TOML has no null, so those keys are dropped — and the number is reported.
Strings are escaped and quoted to TOML’s rules, including multi-line values.
The stats show how many keys, tables and array tables were written.
It must start with keys: TOML documents are tables, not lists.
Drop them, which TOML requires, and read the count in the stats.
The stats show how many [tables] and [[array tables]] were produced.
Paste it into Cargo.toml, config.toml or pyproject.toml.
TOML has no null. A key with no value cannot be represented, so those keys are dropped and the number removed is shown. Give them a real value in the YAML if they matter.
TOML’s way of writing a list of objects. Each entry repeats the table header in double brackets — the form Cargo uses for dependencies and Hugo for menu entries.
Dates and date-times written in ISO 8601 stay in that form, which TOML supports natively as first-class types.
No, and no converter can: a TOML document must be a table of named keys. Wrap the list under a key first, for example items: [ … ].
What people who use the YAML to TOML Converter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the YAML to TOML Converter. It takes half a minute and no account.
Write the first reviewConvert Unix timestamps to readable dates and back, in any time zone.
Turn a web page or rich text into BBCode a forum will accept.
Build a .vcf file from a spreadsheet of contacts, with the columns matched for you.
Turn a stored integer back into an IP address — IPv4 and IPv6, both directions.
Move between kilo, mega, milli, micro, nano and every SI prefix — exactly.
Convert newtons, kilonewtons, kgf, lbf, dynes and kips in one table.
Clean, escaped HTML table markup from JSON — flat columns or nested tables.
HEX and RGB to the OKLCH colour space for modern CSS — and back, gamut-mapped.