How to use it
- Paste your YAML into the input box, upload a .yaml file, or drop a file onto the box.
- The CSV appears as you type.
- Copy the result or download it as a .csv file.
Good to know
- Nested objects become dotted column names, so supplier.city gets its own column. Arrays become numbered columns: tags.0, tags.1 and so on. If the data is a list, each entry becomes one row.
- Anchors, aliases and multi-line strings are resolved, so the result holds the final values.
About the formats
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.
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.
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.
- What happens to nested YAML?
- It is flattened. Each nested value gets a column named after its path, such as supplier.city or tags.0. Empty lists and empty objects become empty cells.
- Can I convert CSV back to YAML?
- Yes. Use the CSV to YAML converter, or press the swap button above the editor.