How to Use the YAML to CSV Online
- 1Paste a YAML sequence with one item per row. Keep the indentation that attaches each key and value to the right record.
- 2Check the first item for all intended columns. If the document contains several separate collections, select one before converting it.
- 3Inspect the CSV header and any cells containing commas. The writer can quote those values so they stay in one field on import.
- 4Copy the result into your CSV reader and compare the imported rows with the source, including any fields that should remain text.
Input & Output Examples
The list provides two rows and the first mapping determines the header.
- label: tea
count: 4
- label: coffee
count: 7label,count
tea,4
coffee,7The wrapped sequence is selected and the comma-containing location is quoted in CSV.
sites:
- location: North, West
open: truelocation,open
"North, West",truePractical Developer Workflows
- Share a small YAML inventory with teammates who need to sort or filter rows in a spreadsheet.
- Prepare CSV input for an importer from a YAML fixture that is already used in tests.
- Check whether a set of YAML records has the expected columns before sending it to a table-based workflow.
Zero Server Uploads & Complete Privacy
Runs 100% in your browser; no data is uploaded to any server.
Let us know directly so our engineering team can fix it.