Advertisement

TOML to INI converter

Convert TOML to INI free, right in your browser. Paste your TOML input below and press Convert. You get an INI file with one section per row. No sign-up, and nothing is ever uploaded.

TOML input

Paste your TOML below, then press Convert.

Runs 100% in your browser. Nothing is uploaded.

Waiting for input.

Advertisement

How the conversion works

Paste your TOML on the left and press Convert. The tool first parses the TOML (reading tables, arrays of tables, dotted keys and basic value types) into an internal table of rows and columns, then writes it out as INI (writing one [row_N] section per record). If the input cannot be parsed you get a plain-English error instead of a broken file.

Where this comes in handy

People reach for this converter when moving app configuration or dataset files out of TOML and a classic INI config file is needed. Because everything runs locally in your browser, it is also handy for quick one-off migrations without installing database tools or writing throwaway scripts.

TOML to INI FAQs

What TOML features does the parser support?
Tables, arrays of tables, dotted keys, strings, integers, floats, booleans, arrays and inline tables are supported. Dates are kept as plain text, which keeps round-trips predictable.
How are TOML tables turned into rows?
Each entry of an array of tables, like [[members]], becomes one row and the keys inside become columns. Nested tables are flattened into JSON text inside their cell so no data is lost.
What about values with special characters?
Values containing quotes, semicolons or hashes are double-quoted, following common INI conventions.
Can the INI be read by Python or PHP?
Yes. Python's configparser and PHP's parse_ini_file both read sectioned INI files like this one.
Is my data uploaded anywhere?
No. Parsing and conversion run entirely in your browser with JavaScript. Your data never leaves your device.
Advertisement