How it works
How to use the YAML to CSV
Paste or open YAML
Paste your YAML, drop a file onto the editor, or load the sample.
Adjust the options
Nested objects are flattened into dotted columns such as address.city, and the first array of records in the document is used as the rows.
Copy or download the CSV
The output updates as you type. Invalid input is highlighted with the exact line and column.
About YAML and CSV
YAML is a human-friendly superset of JSON that uses indentation instead of braces. It is the format of Kubernetes manifests, Docker Compose, GitHub Actions and most CI configs.
CSV (comma-separated values) is the lingua franca of spreadsheets and data exports: one record per line, fields separated by commas, quoted when needed (RFC 4180).
How the conversion works
Nested objects are flattened into dotted columns such as address.city, and the first array of records in the document is used as the rows. Conversion happens entirely in your browser, so even sensitive data never leaves your device.
Built for developers
Why developers use it
Private by design
Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.
Instant results
Output updates as you type, with precise error locations when something is wrong.
Works offline
Once loaded, the tool keeps working without a connection. Install it as an app if you like.
Free, no sign-up
No accounts, no limits, no watermarks.
FAQ
Frequently asked questions
Is YAML to CSV conversion lossless?
CSV is flat, so nested structures are flattened into columns. Values themselves are preserved exactly.
Can I convert CSV back to YAML?
Yes — press Swap to reverse the direction, or open the CSV to YAML converter.
Is my data uploaded anywhere?
No. Everything runs locally in your browser — nothing you paste or open is sent to a server, logged or stored. The tool keeps working offline once the page has loaded.
Keep going
Related tools
- JSON to CSVConvert JSON arrays to CSV and CSV back to JSON
- JSON to YAMLConvert JSON to YAML and YAML to JSON
- YAML to JSONConvert YAML to JSON and back
- XML to CSVConvert XML to CSV and back
- XML to YAMLConvert XML to YAML and back
- YAML to XMLConvert YAML to XML and back
- CSV to YAMLConvert CSV to YAML and back
- YAML FormatterFormat and validate YAML while keeping comments