Skip to the converter

CSV to YAML converter, without the upload.

Turn CSV spreadsheets into YAML. It is converted in your browser, so the file never leaves your device.

Drop CSV files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert CSV to YAML

  1. Add your CSV spreadsheets

    Drop CSV files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. YAML is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the YAML, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The CSV to YAML converter is part of this page and runs inside your browser. Your spreadsheets are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

CSV to YAML: what to expect

CSV carries no formatting, formulas or multiple sheets, and Excel often misreads its dates and encodings. YAML is easier for people to read and edit than JSON and allows comments. CSV is at home in moving tabular data between systems; YAML is the usual choice for configuration files written by people.

The first row is read as column names, and every row after it becomes one list item, keyed by those names. A header such as address.city is turned back into a nested address with a city. Numbers and true/false in the cells are written as real numbers and booleans, but values such as ZIP codes with a leading zero, phone numbers and very long ids stay text so nothing is altered; empty cells become null.

CSV vs YAML

CSV

CSV spreadsheet

CSV is a table written as text: one row per line, values separated by commas. Every spreadsheet and database can import and export it, but it holds one sheet only and no formatting, formulas or data types.

Opens in Excel, Google Sheets, Numbers, databases and any text editor

CSV converter
YAML

YAML data

YAML expresses the same structures as JSON using indentation instead of brackets, and allows comments. It is the usual choice for configuration in tools like Docker Compose, Kubernetes and GitHub Actions.

Opens in Any text editor

YAML converter
CSV compared with YAML
CSVCSV spreadsheetYAMLYAML data
Stands forComma-Separated ValuesYAML Ain't Markup Language
TypePlain-text tableStructured data (text)
CompressionNoneNone
IntroducedThe 1970s, by no single author (described in RFC 4180)2001, by Clark Evans, Ingy döt Net and Oren Ben-Kiki
Opens inExcel, Google Sheets, Numbers, databases and any text editorAny text editor
Best forMoving tabular data between systemsConfiguration files written by people
File extension.csv.yaml, .yml

Questions

Are my spreadsheets uploaded anywhere?

No. The CSV to YAML conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting CSV to YAML?

The values are kept. Anything YAML has no way to express, such as formatting, formulas or nesting, is simplified or left out.

Can I convert several CSV files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert CSV to YAML on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the CSV file, press Convert and save the YAML. There is nothing to install.

Is there a file size limit?

Yes. Data files up to 300 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.