TOML Validator
Validate TOML 1.0 compatibility or TOML 1.1 structure locally. Report the first syntax or structure error with its line and column.
Find Duplicate TOML Keys and Version Errors
Find & replace in input
Undo: Ctrl/Cmd+Z · Redo: Ctrl/Cmd+Shift+Z or Ctrl+Y. Up to 20 steps and 4 million retained characters in this tab. Clear discards history.
TOML Validator: how to use it
- Paste TOML or open a UTF-8 configuration file.
- Select the version supported by your application and validate.
- Use Go to error to select the reported position, or download the report after a successful check.
Limits and notes
Use up to 1 MiB per UTF-8 file or 1,048,576 pasted characters, with up to 128 levels of nested values or tables.
How your privacy works →TOML Validator: common questions
Can the validator find duplicate keys in two tables?
It reports a repeated key within the same table. The same key can appear in different tables, including separate items of an array of tables.
Why does a value such as 07:30 pass TOML 1.1?
TOML 1.1 allows seconds to be omitted. In TOML 1.0, write 07:30:00.
What does a valid result tell me about my Cargo or Python configuration?
It confirms the TOML grammar and structure. Required keys and permitted values depend on the application that reads the file.