opyeb tomllab

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).

Paste TOML, JSON or YAML to see types and conversions.

Input

0 lines

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

    KeyTypeValue

    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

      1. 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.

      2. 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.

      3. 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

      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.

      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 guides

      Five 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.