EN
EnglishEspañolPortuguêsFrançaisDeutschItalianoРусский中文
Get a website

Convert TOML to SQL

Convert TOML files to SQL online for free. No sign-up, no ads, and your file is deleted right after.

Your TOML file has turned into a database. Time to give it one.

From [[tables]] to Real Tables: TOML Meets SQL

TOML is great for config and terrible for querying. When a pile of [[products]] or [[users]] entries outgrows its file, moving it into a database lets you filter, join, and index instead of scrolling. Arrays of tables map naturally to rows, and keys become columns.

Watch the edges. SQL tables are flat, so nested tables and inline arrays have to be flattened or stored as text. TOML's typed dates and times may not match your database's column types, and comments vanish entirely. Check the column types and quoting before running anything against production.

What are TOML and SQL?

TOML: fmt.toml

SQL: fmt.sql

How it works

  1. Choose your TOML file.
  2. Check that SQL is selected and press convert.
  3. Download your new file. We delete both files automatically.

Questions

Will my TOML comments survive the conversion to SQL?

Expect to lose them. Comments in a TOML file are not data, so they won't end up in your rows. Keep the original TOML file if those notes matter.

What happens to nested tables and arrays inside my TOML?

SQL rows are flat, so deeply nested structures don't map one-to-one. They may be flattened or stored as text. Review the output before importing it into your database.

Is it free to convert TOML to SQL?

Yes. Converting TOML to SQL on Kevora is free, with no sign-up and no ads.

What happens to my file?

It is only used to create your conversion. We delete it as soon as the result is delivered.

Made by Kevora

We built this. Imagine your website.

These tools are free because they show what we can do. We design websites with real character for businesses that want more customers, from $30 for the first year.

Visit Kevora