YAML to CSV Converter
YAML → RFC 4180 CSV. Nested mappings flatten to dotted column names; scalar lists collapse into one pipe-joined cell.
YAML to CSV Converter — Free Online Tool
Converts a YAML sequence of mappings into RFC 4180 CSV, flattening nested mappings into dotted column names, collapsing scalar lists into a single pipe-joined cell, and taking the union of every record's keys as the header row, useful for loading YAML fixtures into spreadsheets, diffing config lists and feeding YAML data into BI or SQL import tools.
How to use the YAML to CSV Converter
- Open the tool above — it runs entirely in your browser, so your input never leaves this page.
- Paste or type your input into the field, then press the relevant button (e.g. Encode / Decode, Generate, or Convert).
- Copy the result from the output area with the copy button orCtrl/Cmd + C.
- No signup, no upload, and no tracking — repeat as often as you need.
Frequently asked questions
What happens to nested objects in my YAML?
They are flattened into dotted column names, so contact: { email: ... } becomes a contact.email column. Nothing is dropped — every leaf value gets its own column.
How are lists inside a record handled?
A list of scalars collapses into one pipe-joined cell (math|compiler), which keeps the table rectangular. A list of objects instead gets indexed columns such as items[0].name so each element stays addressable.
My YAML is a mapping, not a list — will it still convert?
Yes. If the document is a mapping whose single value is a list of records, that list is used; otherwise the mapping itself is treated as a one-row table.
Free & private — why use this YAML to CSV Converter
The YAML to CSV Converter runs 100% client-side in your browser. Your data is never uploaded to a server, no account is required, and the tool is completely free. It works offline once the page has loaded and is part of a growing collection of privacy-first developer utilities.