YAML to CSV Converter: YAML Lists to a Table
Drop or paste YAML and its list of records opens as a CSV table; nothing is uploaded.
Processed on your device. Nothing is uploadedHow to check
You can also paste CSV or JSON text with Ctrl+V (⌘+V on a Mac).
Your file is opened in this browser tab only: it is never uploaded or stored anywhere, and it is gone when you close the tab.
- CSVView and edit.yaml.yml
Paste text instead
Pasted text stays in this tab and is never sent anywhere.
Convert YAML to CSV in your browser: drop or paste a YAML list of mappings, or a mapping that holds one list, and each item becomes a row. Nested keys are flattened into columns such as address.city, and the table opens in the CSV viewer to check, edit and download. Nothing is uploaded.
Why use YAML to CSV
Private
Your file is opened by your own browser and never sent to a server, so nobody else sees it.
Nested keys flattened
Nested mappings become dot-named columns, so every value gets a cell of its own.
Works offline
After you have used it once, it keeps working without an internet connection.
How it works: convert YAML to CSV
Open or paste your YAML
Drop a YAML file, choose it, paste YAML into the paste box, or try one of the samples.
Items become rows
Your browser reads the text. Each item of the list becomes a row and each key a column; nested keys are joined with dots, as in address.city.
Check and edit
The table opens in the CSV viewer: sort, filter, edit cells and undo before you save.
Download
Download saves a .csv file; the viewer can also save it as Excel, Markdown, HTML or SQL.
What the YAML to CSV converter handles
- Input: a YAML file or pasted YAML text, read in your browser.
- Shapes: a list of mappings, or a mapping that holds one list.
- Nested keys: flattened into dot-named columns such as address.city.
- Output: a table in the CSV viewer, saved as CSV, Excel, Markdown, HTML or SQL.
YAML to CSV: what it can't do
- One YAML document per file.
- Comments are not kept in the CSV.
- The YAML must be a list of mappings, or a mapping that holds one list.
YAML to CSV: questions and answers
- Is my file uploaded?
- No. Your browser reads and converts the YAML on your device; nothing is sent to a server, and pasted YAML stays in this tab.
- What YAML can be converted?
- A list of mappings, where each item becomes a row, or a mapping that holds one such list, such as users: followed by the list of users.
- How are nested keys turned into columns?
- Each nested key is joined to its parent with a dot, so address: with city: Riyadh under it becomes a column address.city holding Riyadh.
- Are YAML comments kept?
- No. Comments are not data, so they are left out of the table.
- Can one file hold several YAML documents?
- No, one document per file is converted. Split a file with several documents at its --- lines and convert each part on its own.
- What can I save the table as?
- CSV by default, or Excel, Markdown, HTML or SQL from the CSV viewer's download options.
- How do I convert a YAML file to CSV or Excel?
- Convert YAML to a table by turning each item of a YAML list into a row and its keys into columns, with nested keys joined by dots. In OpenAnyDoc, drop or paste the YAML and the table opens in the CSV viewer, where you can download it as CSV or Excel; nothing is uploaded.
Why it's private: your files never leave your browser
Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.
How we tell you about new features
Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.