TOML Validator
Check that TOML is valid and see the exact line of any mistake, such as a duplicate key, an unquoted string or an unclosed table header.
How to check TOML
Paste your TOML
Paste or type it into the box, or press Try an example.
Read the result
A green or red message says whether it is valid, with the details below.
Fix and re-check
Edit the text and the result updates straight away.
Errors name the line, so you can jump straight to it.
Worked example
This is what TOML Validator gives for its own sample values. Open the tool above and change anything to try your own.
TOML
[package]
name = "demo"
version = "0.1.0"
[dependencies]
serde = { version = "1", features = ["derive"] }Result
- package
- table
- dependencies
- table
About TOML Validator
Check TOML syntax and find the exact line of a mistake, such as a duplicate key, a table defined twice, a string without quotes or a missing bracket. A valid file lists its top-level keys.
FAQs
Which TOML version is checked?
TOML 1.0.
What are the usual mistakes?
Unquoted strings, duplicate keys, and defining the same table twice.
Can I see it as JSON?
Use TOML to JSON Converter.