CSV to YAML Converter

Convert CSV to YAML for config files that humans read and review in diffs. Free, in your browser, with no upload.

Output format

YAML

Overview

Why convert CSV to YAML

YAML is the more practical choice here. CI pipeline and deployment configuration

Need a different output format or per-file settings? The data converter handles every format in one place. Going the other way? Use YAML to CSV.

Comparison

CSV vs YAML: how they differ

CSV compared with YAML across encoding, fidelity, file size and support.
AttributeCSVYAML
Full nameComma-Separated ValuesYAML Ain't Markup Language
EncodingText (editor-readable)Text (editor-readable)
What it preservesFlat only: no nesting, types or formattingSame data model as JSON, plus comments and anchors
Typical sizeVery compact for tabular dataCompact: no braces, and no quotes on most scalars
SupportUniversal. Every spreadsheet, database and BI tool imports it.Ubiquitous in DevOps tooling; libraries exist for every language.

How to

How to convert CSV to YAML

  1. 01

    Drop your CSV file

    Drag one or more CSV files onto the drop zone above, or click to browse. Files stay on your device and there is no upload step. data formats can't be reliably identified from their bytes alone, so the extension is used to work out the source format.

  2. 02

    Convert to YAML

    convert.now parses the CSV and writes it out as YAML in a Web Worker, so the page stays responsive even on large files. Nothing is sent anywhere.

  3. 03

    Download the result

    Download the YAML file, or a zip of all of them for a batch. Filenames are preserved, with the extension changed to .yaml.

Why here

Why convert.now

  • Private

    Files stay in your browser. There is no upload step, so nobody else can see them.

  • Fast

    There is no queue and no upload to wait for. Conversion starts when you drop a file.

  • Free

    There are no ads, no limit on the number of files and no sign-up.

FAQ

CSV to YAML: common questions

No. The CSV to YAML conversion runs entirely in your browser. Files never leave your device, and there is no server involved in the conversion. To confirm it, open the Network tab in your browser's developer tools and run a conversion: you will see the page and its code load, and no request carrying your file.

More

Other conversions from CSV

More

Other conversions to YAML

Last updated