TOML to JSON
Use this to read pyproject.toml, Cargo.toml or Hugo configuration with JSON tools.
- Processing
- In your browser, in a background worker
- Engine
- smol-toml (TOML 1.0)
- Quality
- Lossless
- Batch
- Up to 20 files at once
- Status
- Tested with sample files
How to convert TOML to JSON
- Open the converter and add your TOML files — drop, paste or choose from your device.
- Check the options: indent.
- Convert and download the JSON file. It is checked before it is offered.
What to expect
- Every value and table is kept; TOML dates become ISO 8601 strings.
- Comments are dropped because JSON has none.
What carries over
Kept
- All values, tables and arrays of tables
Changed or removed
- Comments
- Dates become ISO 8601 strings
Options
- Indent
- 0 (one line) to 8 spaces.
Limits
- Desktop: 25 MB per file, 500,000 rows.
- Phones and tablets: 8 MB per file, 150,000 rows.
Limits protect your device’s memory. They are conservative engineering defaults, not guarantees for every device.
Common problems
- “The JSON is not valid”
- FileLynx reports the position of the syntax error. A common cause is a trailing comma or a single-quoted string.
- Accented characters look wrong in Excel
- Turn on the Excel BOM option when exporting CSV, or import the file with UTF-8 encoding.
- Large numbers changed
- Integers above 9,007,199,254,740,991 cannot be represented exactly; FileLynx warns you when it detects them.
About the formats
TOML
TOML is a small, readable configuration format used by Rust (Cargo), Python (pyproject.toml), Hugo and others.
Good for: Configuration files that people edit by hand.
Watch out: TOML has no null value, and tables must be objects; not every JSON document can become TOML.
JSON
JSON is the data format of web APIs and configuration: nested objects, arrays, strings, numbers, booleans and null.
Good for: APIs, configuration and nested data.
Watch out: JSON numbers lose precision beyond about 15–17 significant digits in JavaScript-based tools.
Questions
Is the file uploaded?
No. The conversion runs inside your browser tab, on your device. Nothing is sent to a server.