JSON to TOML

Runs locally in your browser

Convert strict JSON into TOML configuration

JSON Input

TOML Output

Enter JSON or load an example.

All processing stays in your browser; input and output are not saved or sent.

About JSON to TOML

Convert strict JSON configuration into TOML using a serializer. Nested objects become tables, arrays of objects become arrays of tables, and numeric-looking strings remain strings. Null has no TOML equivalent and is rejected with its path.

How to use

Enter a JSON object or load an example. The TOML result updates as you type. Correct any reported error, then copy the result or download config.toml. An empty object creates a valid empty document.

Limits and precision

Only object roots are supported. Integers must be within the exact JavaScript safe range; unsafe values, overflow and underflow are rejected instead of silently changed. Decimal fractions use standard floating-point precision. JSON5 is not supported. Input is limited to 500,000 characters and 64 nesting levels.

CodingTool is officially live on

Launched on StartupBaseCodingTool.dev - Free, Fast & Easy Developer Tools in One Place | Product HuntCodingTool - Featured on Startup FameFazier badgeListed on Turbo0Featured on Twelve ToolsFeatured on Findly.tools