FreeDev Tools

TOML to JSON

Convert TOML config files to JSON β€” tables, arrays of tables, inline tables, and comments handled.

Runs locally in your browser. Your input is not uploaded.

How to Use

  1. 1

    Paste your TOML

    For example a Cargo.toml or pyproject.toml file.

  2. 2

    Review the JSON

    Tables become nested objects and [[tables]] become arrays.

  3. 3

    Copy or download

    Use the JSON in scripts, tests, or other converters.

Frequently Asked Questions

Key/value pairs, [tables], [[arrays of tables]], dotted table names, inline tables, arrays (including multi-line), strings, numbers, booleans, and comments.