TOML to JSON Converter
Convert TOML config into JSON.
This free TOML to JSON converter parses TOML configuration into formatted JSON, live as you type, with both panes syntax-highlighted. It supports[table] and dotted [a.b] nested tables, arrays of tables ([[array]]), inline tables, and key-value pairs with strings, integers, floats, booleans and arrays; dates and date-times are kept as strings. Underscores in numbers are handled. Syntax errors are flagged with a line number so you can jump straight to the problem.
Paste TOML, upload a .toml file, or drag-and-drop it onto the input pane. Output can be pretty-printed at 2 spaces, 4 spaces or a tab, or minified to a single line, and keys can be sorted alphabetically for stable diffs. Copy the result to your clipboard or download it as a.json file. It covers the common subset of TOML rather than every corner of the specification.
Related tools
Color Converter
Convert between HEX, RGB and HSL colors.
Unit Converter
Convert length, weight & temperature units.
Length Converter
Metres, feet, miles, inches & more.
Weight & Mass Converter
Kilograms, pounds, ounces, stone & more.
Temperature Converter
Celsius, Fahrenheit & Kelvin.
Area Converter
Square metres, acres, hectares & more.