YAML to CSV
Convert YAML to CSV online. Works with a YAML list or several YAML documents separated by ---. Nested keys become dot-path columns. Free and private.
YAML
Stays in your browserCSV
The result appears here after you press Convert.
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to CSV Viewer or CSV to JSON.
Free Online YAML to CSV
Turn a YAML list, or a file with several YAML documents, into spreadsheet rows. It gives developers a quick browser-based way to solve a focused yaml to csv task before moving the result into a project.
How to use YAML to CSV
Paste your data into the box on the left, or open a file, then press Convert. A list of mappings gives one row per item. Several documents separated by --- give one row (or list) per document, joined together.
Common mistakes
- Pasting YAML that is a single value: it needs a list or a mapping.
- Tabs for indentation: YAML only allows spaces and the error shows the line.
Frequently asked questions
What are multi-document YAML files?
Files where documents are separated by a line with ---, common in Kubernetes. Each document becomes a row, or its items become rows if it is a list.
What about nested keys and lists?
Nested keys become columns named by their path (a.b), and lists become a.0, a.1.
Are anchors and aliases supported?
Yes, including merge keys (<<:).
Is my data uploaded anywhere?
No. The conversion runs in your browser and nothing you paste or open is sent to a server.
How do I use this yaml to csv tool?
Use the interactive controls above; processing stays in your browser and the result is intended as a practical starting point for development work.
More Formatters & Parsers
JSON ParserCheck if JSON is valid and see it neatlyJSON Schema ValidatorCheck data follows the rules you setJSONPath TesterPick values out of JSON with a pathXML/XSD ValidatorCheck XML is valid and follows a schemaJSON ↔ TOML ConverterSwitch config files between JSON and TOMLURL ParserBreak a web link into its partsQuery String ParserRead the ?a=1&b=2 part of a linkREST API TesterSend API requests and see the response