YAML to CSV Converter

Turn a YAML list into rows and columns you can open in any spreadsheet.

100% Client-Side Processing — your data never leaves this browser. Works offline. How it works

0 lines • 0 bytes Ready
Tip: drop a file anywhere on the editor
Input
Paste, type or drop a file
1
Result
Updates as you type
// Output will appear here…
About this tool

How the YAML to CSV works

Convert a YAML list of mappings to CSV. Keys become columns, nested values can be flattened, and the result opens in Excel or Google Sheets.

How to use the YAML to CSV

  1. Paste YAML or upload a .yaml file.
  2. Choose whether nested objects are flattened and pick a delimiter.
  3. Copy or download the CSV.

YAML to CSV example

Input
- name: Aarav
  role: Engineer
- name: Sara
  role: Designer
Result
name,role
Aarav,Engineer
Sara,Designer

When to use it

  • Reviewing YAML data files in a spreadsheet.
  • Exporting Ansible inventories or fixture data for reporting.
  • Sharing structured config with non-developers.

Tip: If the output has a single "value" column, your YAML is a list of plain values rather than a list of mappings.

Keys become columns

All keys from every item are collected, so items with missing keys still line up.

Nested data

Nested mappings are flattened into columns like address.city, or kept as JSON text.

Finds the list

Works with a top-level list or a mapping that contains a list of items.

Delimiter choice

Export with commas, semicolons (for European Excel) or tabs.

FAQ

Common questions

What YAML structure works best?

A list of mappings, for example a list of users or products. A mapping that contains such a list also works.

Are all YAML features supported?

Common YAML used in configs and data files is supported: mappings, lists, quoted strings, numbers and booleans. Anchors and multi-document files are not.

Can I open the result in Excel?

Yes. Choose semicolon if your Excel uses a comma as the decimal separator.

Is it private?

Yes, the YAML is processed in your browser.