All conversion runs in your browser. Nothing is uploaded.
About this converter
If your data lives in YAML (config files, Helm charts, fixtures), exporting it to CSV for a spreadsheet or BI tool used to require a one-off script. This converter does the same in your browser: it parses the YAML, finds the union of keys across rows, and emits an RFC 4180 CSV with proper quoting.
Features
- Full YAML 1.2 parsing (js-yaml)
- Auto-detected headers across the row union
- RFC 4180 quoting; nested values inlined as JSON
- Lossless Unicode — CJK, emoji, accents
- Browser-only, no upload
How to use
- Paste a YAML list of mappings on the left.
- Read the CSV result on the right.
- Click Download to save as a `.csv` file.
Frequently Asked Questions
Which YAML shape works best?
▾
A top-level sequence of mappings — for example `- name: Alice\n age: 30\n- name: Bob\n age: 25`. A single mapping becomes one row.
What happens to nested mappings?
▾
They are serialized as JSON strings inside the CSV cell so the CSV grid stays clean. You can parse those cells back later with any JSON tool.
Does it handle YAML anchors?
▾
Yes — js-yaml resolves anchors at parse time, so the CSV reflects the fully expanded data.
Related tools
Convert YAML to CSV Online — Free YAML to CSV Converter
Convert JSON to YAML in your browser with strict validation.
Convert YAML to JSON in your browser with full spec support.
Convert a JSON array of objects to CSV with auto-detected headers.
Convert CSV to a JSON array of objects with typed cell values.
Convert CSV to a YAML list of objects with typed cell values.
Canonical: https://devformatlab.com/en/convert/yaml-to-csv