Code and config

TOML viewer

To open a TOML file, drop it in the box below. It opens straight away, even with no extension or the wrong one. Your browser opens it on your device: nothing is uploaded.

Opened on this device, never uploadedDrop or paste another file at any time

What you see

TOML in the viewer
Read byOur own TOML 1.0 reader, checked against Python’s tomllib
TreeTables, arrays of tables, dates, 64-bit integers, inf and nan
ErrorsThe line and the rule it breaks
ConvertTo JSON or YAML
Extensions.toml
UploadNone: opened on your device

What is a TOML file?

In short

TOML is a config format of tables, keys and typed values: Cargo.toml, pyproject.toml, Hugo, Netlify and many tools’ settings.

The file with colours and line numbers, or as a tree of every table and value (Text or Tree). A file that breaks TOML’s rules says what is wrong and on which line. Details counts the top-level keys.

How to open a TOML file

  1. Add your TOML. Drop the file in the box, choose it or paste it.
  2. Look at it. The file with colours and line numbers, or as a tree of every table and value (Text or Tree). A file that breaks TOML’s rules says what is wrong and on which line. Details counts the top-level keys.
  3. Take it further. Open in hands it, in a new tab, to File converter.

Questions

Open it here. A valid file shows Text and Tree; an invalid one says “Not valid TOML” above the text, with the line and what is wrong.

Both are for settings. TOML writes [sections] and key = value with quoted text; YAML uses indentation. Convert turns TOML into YAML or JSON.

No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.

Related