Skip to the converter
File Converter

TOML to JSON converter

Turn a TOML config into JSON, to read it from code or check it with a JSON tool.

Accepts

TOML (.toml). Other file types are not converted on this page; the File Converter hub takes every kind it knows.

How to convert

  1. The TOML is read by smol-toml, which follows TOML 1.0; a mistake is reported with its line.
  2. Tables become objects, arrays of tables become arrays, and dates and times become ISO text.

Your files stay on this device. Nothing is uploaded: the conversion runs in your browser, and the file is never sent to ITpris Verktyg or to any other server.

Questions

Are comments kept?

No. JSON has no comments.

Can I type or paste instead of a file?

Yes. Type or paste in the box under the converter, and the preview updates as you type.

Are my files uploaded?

No. The conversion runs in your browser, on this device. Your files are not sent to ITpris Verktyg or to any other server.

More converters