Code · Made a little simpler

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.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

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.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

TOML Validator: how to use it

  1. Paste TOML or open a UTF-8 configuration file.
  2. Select the version supported by your application and validate.
  3. 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.

Guides