- Home
- Config files
- TOML
TOML formatter, validator, converter
Check TOML with positioned errors, reformat it, or walk it to and from JSON through the shared interchange model: dates keep their TOML shapes, integers stay exact past 2^53, nulls drop with a count, every loss in the report.
TOML
Result
Why big integers need care
JavaScript numbers are 64-bit floats, so integers above 2^53 are not all representable. The neighbors 9007199254740992 and 9007199254740994 are both exact, but 9007199254740993 falls between them and has nowhere to go. A converter that stores such integers as ordinary numbers can change them without warning, so this tool keeps them exact.
TOML has no null
TOML has no null value, so a JSON null has nowhere to go when converted back. The converter drops it and reports a count, rather than writing an empty string that changes what the data means.
Date shapes
| 1979-05-27T07:32:00Z | Offset date-time, with a UTC offset. |
| 1979-05-27 | Local date, with no time or offset. |
| 07:32:00 | Local time, with no date or offset. |
More config file tools
All config file toolsWas this tool useful?