Advertisement

INI to TOML converter

Convert INI to TOML free in your browser. Paste your INI on the left, press Convert, and copy clean TOML on the right. No sign-up, no uploads.

Converter

Paste INI below, press Convert, and copy the TOML output.

Advertisement

How INI becomes TOML

The parser scans the INI line by line, tracking the current [section] header and turning every key = value line into a row with section, key and value columns. Comments and blank lines are skipped, quoted values are unwrapped, and scalars are auto-typed, giving a tidy three-column table that maps directly onto TOML.

Getting the best results

Press Load sample first to see the exact INI shape the converter expects, then replace it with your own data. If a conversion errors, the message names the exact line or token at fault, so fixing the input is usually a one-minute job. For repeated jobs, bookmark the page; your data never leaves the browser.

INI to TOML FAQs

How are INI sections turned into rows?
Every key under a [section] becomes one row with three columns: section, key and value. Keys before the first section header get an empty section name. Comments starting with ; or # are ignored, and quoted values keep their inner text while numbers and true/false are typed automatically.
How are rows expressed in TOML?
As an array of tables: one [[records]] block per row with key = value lines. If the data has section, key and value columns it is written as classic [section] blocks instead. Strings, integers, floats and booleans map to native TOML types.
What happens to nested or repeated sections?
Repeated [section] headers are merged in order, so duplicate keys keep their last value, and each section/key pair becomes its own row. That flat section/key/value table maps cleanly onto TOML without losing which section a value came from.
Is there a size limit for INI input?
No hard limit, but everything runs in your browser tab, so tens of thousands of rows convert in seconds while millions of rows may slow the page. For very large INI files, split them into smaller chunks and convert each separately.
Is my INI data private, and who uses this?
Yes. The conversion runs 100% in your browser; nothing is uploaded to any server. Developers, analysts and DBAs use it to move INI data into TOML for migrations, reports and config work without installing anything.
Advertisement