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

Convert YAML to SQL

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

Your seed data lives in YAML. Your database only speaks SQL.

From Indented Lists to INSERT Statements

You wrote fixtures, config records, or test data in YAML because it's readable. Now that data needs to land in a real table, and nobody wants to hand-type fifty INSERT statements. Converting turns each YAML record into a row and each key into a column, ready to paste into your database client or migration file.

Watch the shape of your data. SQL tables are flat, so nested maps and lists don't fit neatly into columns and may end up flattened or stored as text. YAML also guesses types: 'yes' can become a boolean and '007' can lose its zeros. Check the output before running it.

What are YAML and SQL?

YAML: readable structured data often used for configuration

SQL: fmt.sql

How it works

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

Questions

What happens to nested YAML objects when converted to SQL?

SQL rows are flat, so nested structures can't map directly to columns. They may be flattened or serialized as text. If you need real relationships, plan separate tables yourself.

Is my YAML file stored after conversion?

No. Files are deleted right after conversion. The tool is free, needs no sign-up, and shows no ads.

Is it free to convert YAML to SQL?

Yes. Converting YAML 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