TOML To JSON Basic
Convert simple TOML key-value files into JSON.
Convert TOML to JSON
TOML is a friendly config format, but most code consumes JSON. This converter parses simple TOML key-value files and tables into a JSON object, so you can move config into the shape your program expects.
It handles the common TOML conventions and produces clean JSON you can drop into code or inspect. Paste your TOML, get the JSON equivalent, and copy it — handy for reading a config file or migrating settings between formats.
TOML to JSON, locally
It maps TOML tables and key-value pairs to JSON for code that expects it. Conversion runs in your browser and never uploads your config.
Frequently asked questions
Which TOML features are supported?
Flat key = value lines with strings in double quotes, numbers, and true or false. Comments starting with # are removed.
What about [tables] and arrays?
This basic converter skips table headers and does not parse arrays or inline tables. Use a full TOML parser for complex files.
Can a # inside a string cause problems?
Yes. Everything after # is treated as a comment, even inside quotes.
Related tools
Practical utilities for everyday web development work.