YAML to CSV Converter
Convert a YAML list to a CSV table.
Click to upload or drag and drop
.yaml .yml
No file at hand?
How to convert YAML to CSV online
- 1
Upload a .yaml or .yml file, or paste YAML and click "Convert".
- 2
A list of mappings becomes rows. A single top-level key that holds a list, such as employees:, is unwrapped automatically.
- 3
Nested mappings become columns with dot names, such as address.city.
- 4
Check the table preview and download the CSV.
Example: nested YAML to CSV
YAML input
employees:
- name: Emma
address:
city: Seattle
skills: [sql, python]
- name: Liam
address:
city: AustinCSV output
name,address.city,skills Emma,Seattle,"sql, python" Liam,Austin,
Tips for converting YAML to CSV
Lists of values
Simple lists such as [sql, python] are joined into one cell, separated by commas.
Missing keys
Columns are the union of all keys. Items without a key get an empty cell.
Multiple documents
Files with several documents separated by --- are combined into one table.
Dates stay as written
Values like 2021-03-15 are kept exactly as they appear in the YAML.
YAML to CSV FAQ
Is the YAML to CSV converter free?
Yes. It is free with no sign-up.
Is my YAML uploaded?
No. The YAML is parsed in your browser.
Why do I get an error?
YAML depends on indentation. Make sure items in a list line up and that keys are followed by a colon and a space.
Can I open the result in Excel?
Yes. The CSV is saved with a UTF-8 marker, so Excel shows accented and non-Latin characters correctly.
All CSV Tools
CSV to JSON
Convert your CSV files to JSON format with ease.
JSON to CSV
Convert your JSON files to CSV format easily.
CSV to Excel
Convert CSV files to Excel format easily
Excel to CSV
Convert Excel spreadsheets to CSV format.
Excel to JSON
Convert Excel spreadsheets (XLSX, XLS) to JSON arrays.
JSON to Excel
Convert JSON data to an Excel (XLSX) spreadsheet.
CSV Splitter
Split a large CSV file into smaller files by row count.
Merge CSV
Combine multiple CSV files into one, matching columns by header.
XML to CSV
Convert XML files to CSV format efficiently.
CSV to XML
Convert CSV files to XML format efficiently.
CSV to YAML
Convert CSV rows to a YAML list.
YAML to CSV
Convert a YAML list to a CSV table.
CSV to Markdown
Convert CSV files to Markdown tables.
Markdown to CSV
Convert Markdown tables to CSV files.
CSV to HTML
Convert CSV files to HTML tables.
HTML Table to CSV
Extract tables from HTML and save them as CSV.
CSV to PDF
Convert CSV files to PDF documents.
CSV to SQL
Convert CSV files to SQL insert statements.
CSV to vCard
Convert CSV files to vCard format for contacts.
CSV to TSV
Convert comma-separated CSV to tab-separated TSV.
TSV to CSV
Convert your TSV files to CSV format easily.
TSV to Excel
Convert your TSV files to Excel format easily.