Convert YAML to CSV
Any structure,
flat CSV output.
Free YAML to CSV converter. Handles sequences, keyed mappings and nested YAML. Dot-notation flattening for nested keys. Paste directly or upload a .yaml file. Powered by js-yaml. Your data never leaves your browser.
Auto-detected — no configuration needed for standard YAML data files.
- name: Alice age: 32 city: London - name: Bob age: 28 city: Paris
name,age,city Alice,32,London Bob,28,Paris
alice: age: 32 city: London bob: age: 28 city: Paris
_key,age,city alice,32,London bob,28,Paris
- name: Alice
address:
city: London
zip: EC1A
name,address.city,address.zip Alice,London,EC1A
host: localhost port: 5432 ssl: true db: myapp
key,value host,localhost port,5432 ssl,true db,myapp
Reviewing Kubernetes manifests and Helm values across environments is easier in a spreadsheet. Converting values.yaml files to CSV produces a tabular overview of resource limits, replicas and environment variables.
Ansible inventory files list hosts with their variables and group memberships. Converting to CSV produces a host inventory spreadsheet that non-technical stakeholders can review without knowing YAML syntax.
YAML fixture files in Rails, Django and other frameworks contain test data that is easier to review in a spreadsheet. Converting to CSV lets non-engineers update test data without touching raw YAML.
Tools like AWS CLI, kubectl and Terraform output structured data as YAML. Converting to CSV lets you analyse resource lists, deployment states and configuration values in Excel or Google Sheets.
YAML parsed safely
in your browser. js-yaml.
CSVShift uses js-yaml — the most widely used JavaScript YAML parser, with over 90 million weekly npm downloads. It processes your YAML document locally in your browser. Your YAML file is never transmitted to any server.
address: {city: Paris} becomes address.city. Set the flatten depth to control how many levels are expanded.