The converter parses TOML tables, inline tables, and arrays, then emits formatted JSON. Section tables become nested objects, arrays stay arrays, and the sort option can alphabetize keys recursively.
TOML date-like values are parsed into JavaScript date-like objects and serialized by JSON as strings. TOML comments and layout are not preserved, so review configuration files before replacing the original source.
Common questions and answers about this topic.
TOML uses a flat key-value syntax with sections (tables) and supports comments, native date/time types, and multi-line strings. JSON uses curly braces and strict quoting but is more widely supported by APIs and programming languages.
Yes, the JSON output indentation supports 2 spaces, 4 spaces, or tab characters. Select your preferred style from the formatting options. Most JSON files use 2 spaces for a clean, compact look.
Yes, you can sort all JSON object keys alphabetically (A to Z) using the sort keys dropdown, or keep them in the order defined by your TOML tables. The sorting recurses through every nested object in the output.
No, the TOML-to-JSON conversion happens entirely in your browser. Your TOML configuration data is parsed locally with JavaScript and is never sent to any remote server.