CSV to YAML Converter

Convert CSV to YAML instantly — no upload, fully private. 100% free.

Runs 100% in your browser. Your data never leaves this page.

Built for Obsidian, Hugo, Jekyll, and CI pipelines.

How to use

  1. Paste CSV (with a header row) into the input box.
  2. The YAML appears on the right as a list of records.
  3. Copy or download the YAML.

The first row is treated as the header; each following row becomes a record.

Example

Input
name,role
Alice,admin
Bob,user
Output
- name: Alice
  role: admin
- name: Bob
  role: user

When this works best

Every value becomes a string, so numbers and booleans are not auto-typed back to YAML scalars. Quoting in CSV is only honored to escape commas and quotes.

How it differs from related tools

The YAML to CSV converter goes the other way; TSV to YAML accepts tab-separated input instead.

Frequently asked questions

How are columns mapped?

The first CSV row becomes the keys for each record.

Is it private?

Yes. Everything is processed on your device.

Are numbers typed as numbers?

No. Every CSV cell becomes a YAML string, so "42" stays a string unless you edit it.

What about quoted fields?

Quoting is honored only to escape commas or quotes; the quotes themselves are removed.

Related converters

Learn more about YAML