Skip to content

Data

CSV & YAML Converter

Convert CSV rows to YAML records or turn a flat YAML array into a downloadable CSV table.

How to use this tool
  1. Choose a direction and paste a table or flat YAML record array.
  2. Review headers, scalar types and the formula-protection setting.
  3. Convert, inspect and download the resulting document.

Loading tool…

Find this tool in

About this tool

What is CSV & YAML Converter?

Convert a flat table into a YAML sequence of records, or bring suitable YAML records back into CSV. Headers become property names and CSV values stay strings. This mapping is useful for exchanging tabular configuration data, while nested objects and arrays need a different representation or an explicit flattening step.

A worked example

Retain a leading zero when converting a table

Example input

code,name
007,Alex

Expected result

- code: "007"
  name: Alex

Choose CSV to YAML. Quoting the numeric-looking code keeps it a string with its leading zeros. YAML-to-CSV conversion accepts a sequence of flat records, collecting columns from their keys. Missing or null cells cannot carry the same distinction once represented as ordinary empty CSV fields.

Common mistakes and limits

  • Use unique, non-empty column names so two CSV columns cannot overwrite the same record property.
  • YAML comments and presentation are not preserved as table data. Keep the original if that context matters.

Features

What you can do

  • CSV rows to YAML objects and YAML objects to CSV
  • Quoted cells, Unicode and missing-field handling
  • Explicit spreadsheet formula protection

Frequently asked questions

Questions about CSV & YAML Converter

Which data and limits does CSV & YAML Converter support?

Requires at least one record and non-empty unique headers. YAML nested values cannot fit in table cells. Missing fields and null become blank CSV cells; comments and layout are not preserved. Inputs are bounded to 1 million characters, 20,000 structured values, 32 levels and up to 5,000 rows/100 columns.

Related tools