CSV to YAML converter
Paste CSV on the left, read YAML on the right, and switch direction or target format with the pickers above. The conversion runs in your browser: nothing you paste is uploaded, which matters when the document is a config file or a client export.
Text is processed by your own browser and never leaves your device: this page has no server to send it to.
How it works
The document is parsed into a plain data structure and re-serialised into YAML. JSON is the pivot in the middle, which is why the four formats on this hub all reach each other: adding a format gives you every direction with it, not just one pair.
CSV is a table and nothing else: one header row, one row per record, no nesting and no types beyond text.
YAML carries the same shapes with indentation instead of braces, and quotes only what would otherwise change type, so version: 1.0 stays a number and version: '1.0' stays a string.
Coming out of CSV, every value starts as text and is typed by what it looks like: 42 becomes a number, true becomes a boolean, and an empty cell becomes an empty string. If a column holds product codes like 007 or 1e5, check them in the output before trusting it.
Frequently asked questions
Is my data uploaded anywhere?
No. The parser and the serialiser both run in this page, and the converter chunk downloads on your first keystroke rather than with the page. You can check it yourself: open the network tab, paste something, and watch that no request carries your text.
Does the conversion preserve everything?
The values do, but the types are inferred rather than declared: CSV has no way to say that a column is text, so 42 comes out as a number and true as a boolean. That is what you usually want, and it is worth a glance when a column holds codes with leading zeros.
Which format should I actually use?
Our rough rule: JSON for APIs and anything a program reads, YAML for files a person edits by hand like CI config, CSV for anything headed to a spreadsheet, and TOON only when you are pasting a lot of uniform records into a prompt and paying per token. Converting is cheap; picking the wrong home format for a file you edit weekly is not.