data · convert

YAML to CSV

A YAML list of mappings → CSV. Header = union of keys in first-seen order; a missing key is an empty cell; nested values are kept as JSON text. Same YAML subset as YAML to JSON.

Workspace Files stay on your device
A little guidance. A better result.

How to use YAML to CSV

A YAML list of mappings → CSV; header from the union of keys, missing keys empty.

  1. Prepare your input

    Paste a YAML list of mappings.

  2. Use the workspace

    Inspect the combined keys used as headers.

  3. Check your result

    Check missing values and row order in the CSV.

Know the limits

The supported YAML subset excludes anchors, aliases and tags. CSV cannot retain all nested structure.

Where does my input go?

This browser tool processes your input on your device. Optional analytics is a separate choice; it is not needed to use the tool. Keep your original until you have checked the result.

Read the privacy details →
Made for the work in front of you.Report a problem ↗