Turns a CSV table into a YAML list of maps. Header cells become keys, and every cell value stays a string.
About this tool
CSV rows share a header. YAML can hold the same rows as a list of maps. This page writes that list from the table you paste, with each header cell as a key and each value as a string.
name,city and Ada,Ankara become a list with one map. name is "Ada" and city is "Ankara", both strings. A second row adds a second list item.
A header-only file is rejected. Blank rows are dropped. A leading UTF-8 BOM is removed before the header is read. The result is a list even when the table has a single data row.
How to use it
1
Drop a CSV file or paste the text. The sample button inserts a short example. The first row is the header, and header cells must not be empty.
2
Each data row becomes one map in a YAML list. A single data row is still a one-item list, not a bare map.
3
A leading UTF-8 BOM is stripped. Empty rows are dropped. Anchors are not used. A header-only file is rejected.
What it accepts
The CSV rules match CSV to JSON: a header is required, at least one data row is required, a leading BOM is stripped, values stay strings, and all-empty rows are dropped. name,city followed by Ada,Ankara becomes a YAML list whose map has name and city as strings. A comma inside quotes stays in one field. A doubled quote inside a quoted field becomes one quote. The writer does not emit anchors.
Where your data stays
The CSV table and the YAML list derived from its rows remain in this browser. MegaToolkit does not store or receive them. A file bigger than 2 MB is skipped and not read. Copy the YAML or download the converted text. Closing the tab removes both.
Questions
Is one data row a single map?
No. The output is always a YAML list of maps. One data row means the list has one item. It is not a bare map.
Do numbers stay numbers?
No. Every cell stays a string, the same rule as CSV to JSON. 12 in the sheet becomes the string "12". The tool does not guess types.
Are anchors written?
No. Anchors are not used. Each row is a plain map under a list item.
Does the CSV get uploaded?
No. The YAML is built in the browser. MegaToolkit does not receive the rows. Leave the tab and the text is discarded.
Ads stay off until you allow them. The choice is saved in this browser.