CSV to YAML

Convert CSV to YAML online — turn rows into a list of mappings for Kubernetes manifests, CI configs and Ansible vars.

Free for files up to 5 MB and 10,000 rows. Files are processed in your browser — nothing is uploaded to a server. No account required.

About CSV to YAML Converter

Each row becomes one entry in a YAML list, with your header row as the keys. Quoting follows the YAML rules that usually bite people: a value like `no`, `on`, `null` or `1.0` gets quoted so it stays a string instead of silently becoming a boolean, a null or a number when something parses it.

This is the shape config tooling expects. A spreadsheet of environments, hostnames or feature flags becomes a block you can drop into a Kubernetes manifest, an Ansible vars file, a GitHub Actions matrix, or a docker-compose override — without hand-typing dashes and indentation for two hundred rows.

Multi-line values are emitted as literal blocks so the line breaks survive, and empty fields can be omitted entirely if you would rather the key not appear than appear with an empty value.

Related tools