CSV to YAML Converter

Turn spreadsheet exports into YAML without your data leaving this page — the conversion is free and runs entirely in your browser. Handy for seeding fixtures, config lists, and inventory files from CSV data.

CSV

CSV is the simplest and most universal tabular data format: one row per line, with values separated by commas, semicolons, or tabs. Every spreadsheet tool, database, and programming language can read and write it.

YAML

YAML is a human-friendly data format widely used for configuration files in DevOps tools such as Docker, Kubernetes, and CI pipelines. It expresses nested structures through indentation instead of brackets.

How the CSV to YAML conversion works

Your CSV is parsed locally with automatic delimiter detection (comma, semicolon, or tab), the first row becomes the field names, and values keep their types — numbers stay numbers instead of quoted strings.

Each row is then written as one mapping in a YAML sequence with two-space indentation. Strings that YAML would misread, like "yes" or "007", are quoted automatically so the file parses back to the same values.

Frequently asked questions

What YAML structure does the output use?
A sequence of mappings: one list item per CSV row, with your header names as keys. It is the shape most config formats and fixture loaders expect.
Can I get nested YAML from flat CSV columns?
Yes. If your headers use dot notation like user.city, tick "Rebuild nested objects" and the writer emits proper nested mappings instead of flat keys.
Does delimiter detection handle European CSVs?
Yes — semicolon and tab separators are detected automatically, and a manual override sits in the options panel for unusual files.
Is my CSV uploaded anywhere?
No. Parsing and YAML generation run in a Web Worker on your device; the tool is free and needs no account.