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.
What you see
| TOML in the viewer | |
|---|---|
| Read by | Our own TOML 1.0 reader, checked against Python’s tomllib |
| Tree | Tables, arrays of tables, dates, 64-bit integers, inf and nan |
| Errors | The line and the rule it breaks |
| Convert | To JSON or YAML |
| Extensions | .toml |
| Upload | None: opened on your device |
What is a TOML file?
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
- Add your TOML. Drop the file in the box, choose it or paste it.
- 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.
- 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.