No upload, no server
Paste the TOML,
get errors by line and column
Paste a TOML v1.0.0 document and the parser lays every value out as a type table, pointing at duplicate keys, table redefinitions and syntax errors with their exact line and column. Convert to JSON or YAML on the same screen, or bring JSON and YAML back to TOML. Zero input sent to a server (advertising and affiliate widgets excepted).
- TOML v1.0.0
- Line and column errors
- JSON · YAML both ways
- Four date-time types
- Arrays of tables
- Zero input sent
Input
Paste TOML as it is. For JSON or YAML, change the format below; the tool reads exactly the format you choose and never guesses.
Conversion result
Switching tabs also switches what Copy and Download act on. The result is produced only in this browser.
Diagnostics
Keys and types
| Key | Type | Value |
|---|
Output options
Options apply to the JSON, YAML and TOML result together. Rewriting TOML does not preserve comments or the original key order.
Conversion notes
Every parse and conversion happens in this browser. The document you paste is never stored.
How to use it
- 01Paste a document
Drop in TOML, or pick one of the Cargo.toml, pyproject.toml and wrangler.toml samples. The input format can be TOML, JSON or YAML.
- 02Read types and errors
The type table lists the path, type and value of every key. Selecting a diagnostic moves the caret to that line of the input.
- 03Convert and export
Copy or download the JSON, YAML or TOML tab. Re-run with key sorting and a different indent, and take the Markdown diagnostic report with you.
What the workbench holds
TOML v1.0.0 parser
Basic, literal and multi-line strings, decimal, hex, octal and binary integers, floats with inf and nan, offset and local date-times, inline tables, arrays of tables and dotted keys.
Diagnostics with positions
Duplicate keys, table redefinitions, extension of inline tables, 64-bit overflow, bad escapes and invalid dates, each with a line and column and a message in the page language.
Type table
Every key as a row of path, type and value. Strings, integers, floats and booleans sit beside offset date-time, local date-time, local date and local time, which stay distinct.
Conversion both ways
TOML to JSON and YAML, JSON and YAML back to TOML. Choose key sorting and an indent of 2, 4 or a tab; arrays of tables are rebuilt as [[table]].
Conversion warnings
Lost comments, dates becoming strings, null that TOML cannot hold and integers beyond 64 bits are reported above the result. Nothing is changed silently.
Markdown report
Diagnostics, types and conversion notes as a Markdown report, with the same data copyable or downloadable as JSON. The report never contains the input itself.
Why the input never leaves
A configuration file mixes internal host names, tokens and values that are not public yet. This tool is built so that no input is sent anywhere.
No upload
Parsing, conversion and the report all run in browser memory. Open the network tab in developer tools while pasting a document and you will see zero input sent to a server.
No storage
The pasted document is not stored. A reload clears it; only your theme and language choice remain.
No API
Parsing and conversion are not processed on a server. The site is static HTML and JavaScript, with no JSON API behind it.
Frequently asked
Is the configuration file I paste transmitted?
No. Format selection, TOML parsing, type analysis, JSON, YAML and TOML conversion and the report all run in this page's JavaScript. Apart from advertising and affiliate widgets, zero input is sent to a server.
How much of TOML 1.0.0 is supported?
The grammar of the specification. Integers beyond the signed 64-bit range are rejected, and date-times keep their offset or local form. Acceptance, rejection and values were checked against Python's standard-library tomllib.
How much YAML can it read?
A practical subset of the YAML 1.2 core schema: block and flow mappings and sequences, quoted strings, block scalars, comments, null, booleans and numbers. Anchors, aliases, tags and multiple documents are refused with a clear error rather than guessed at.
Do comments survive a conversion?
JSON and YAML have nowhere to keep TOML comments, and writing TOML back out does not restore the original comments either; only values are carried over. Keep the original file when comments matter.
What happens to dates and times?
TOML date-times become ISO 8601 strings in JSON and YAML. Going the other way, strings are not silently reinterpreted as dates: leaving them as strings is safer, and the tool warns when a string looks like a date.
Does it validate my configuration file?
It checks syntax and table structure only. It does not validate the Cargo, pyproject or wrangler schema, required fields or the meaning of values. Use each tool's own checker before shipping.
TOML guides
All guidesFive guides: grammar basics, dates and times, tables and dotted keys, the traps of JSON and YAML conversion, and how to read lint results.
Open a TOML file now
Load the Cargo.toml sample to fill the type table and every conversion at once. You never need a real configuration file.