How to use it
- Paste your CSV into the input box, upload a .csv file, or drop a file onto the box.
- The YAML appears as you type. Change the indentation if you need to.
- Copy the result or download it as a .yaml file.
Good to know
- The first row is used as the header. Numbers and true/false become real numbers and booleans. Dotted headers such as supplier.city are rebuilt into nested objects, so converting back gives you the original shape.
- Strings are quoted only when YAML needs it, and anchors are never used, so the output is easy to read and to diff.
About the formats
CSV
CSV (comma-separated values) stores a table as plain text: one row per line, with columns split by commas. Excel, Google Sheets and almost every database can import and export it.
YAML
YAML is a readable data format that uses indentation instead of brackets. Kubernetes, Docker Compose, GitHub Actions and many CI tools use it for configuration.
Questions
- Is my data uploaded anywhere?
- No. The conversion runs in your browser with JavaScript. Your data never leaves your device, and the tool keeps working if you lose your connection after the page has loaded.
- How big a file can I convert?
- Up to 25 MB per file. Very large files depend on your device’s memory, so if the page slows down, split the file into parts.
- Can I convert YAML back to CSV?
- Yes. Use the YAML to CSV converter, or press the swap button above the editor.