YAML to CSV

Turn a YAML list of records into a CSV table you can open in Excel or Google Sheets. Nested fields are flattened into dot-notation columns (address.city). Runs in your browser.

Suggested tools

CSV to YAML

Convert CSV into YAML.

CSVYAML
Open Tool

XML to CSV

Turn list-style XML into a CSV table, one row per record.

XMLCSV
Open Tool

CSV to XML

Convert CSV rows into well-formed XML elements.

CSVXML
Open Tool

CSV to HTML

Convert CSV into an HTML table.

CSVHTML
Open Tool

CSV Escape / Unescape

Quote a value correctly for CSV, or unwrap a quoted CSV field.

CSV
Open Tool

JSON to YAML

Convert JSON into readable YAML.

JSONYAML
Open Tool

About YAML to CSV

YAML to CSV turns a list of records in YAML into a CSV table that opens in Excel, Google Sheets or Numbers. Each item in the list becomes a row, and each key becomes a column.

Nested values are flattened into dot-notation columns (for example address.city), so nothing is lost. If the list is inside a larger document, the first list of records is found automatically. Everything runs locally in your browser — the text you paste is never uploaded.

How to use YAML to CSV

  1. Paste YAML containing a list of items, or upload a .yaml file.
  2. Press Convert.
  3. Copy or download the CSV.

Key features

  • One row per list item, one column per key
  • Nested fields flattened to dot notation
  • Finds the first list of records automatically
  • Proper CSV quoting for commas and quotes

Example

Nested address.city is flattened into its own column.

Input
- name: Asha
  address:
    city: Surat
- name: Ravi
  address:
    city: Rajkot
Output
name,address.city
Asha,Surat
Ravi,Rajkot

When to use YAML to CSV

  • Opening a YAML list of records in Excel or Google Sheets.
  • Sharing YAML data with people who prefer spreadsheets.
  • Exporting configuration inventories (hosts, users, services) to a table.

Tips and common problems

  • The first list of records in the document becomes the table.
  • Nested values become dot-notation columns such as address.city.
  • Items with missing keys get empty cells.

Frequently asked questions

The tool looks for the first list of records in the document. If there is no list at all, it tells you so.