YAML to Excel Converter
Convert YAML data to Excel (.xlsx) format instantly. Paste your YAML, click Download, and open the file in Excel or Google Sheets.
YAML Input
Excel Preview (TSV)
What Is a YAML to Excel Converter?
A YAML to Excel converter reads a YAML array of objects and turns each item into a row in a spreadsheet. Every key in the objects becomes a column header. The result is a clean .xlsx file you can open in Microsoft Excel or Google Sheets — no scripting, no manual copy-paste needed. It also handles single-object YAML by wrapping it in one row.
How to Use
Paste or upload your YAML
Type or paste YAML into the left editor, or click Upload to load a .yaml or .yml file. Click Sample to try it with example data.
Preview the table
The right panel shows a tab-separated preview of the rows and columns that will be written to the Excel file.
Download your Excel file
Click Download .xlsx to save the file. Open it in Excel, Google Sheets, or LibreOffice Calc — the data is already organized into rows and columns.
Example
Converting an employee list
The converter produces an Excel file with columns: id, name, department, salary, active — one row per employee.
Frequently Asked Questions
What YAML structure does this tool expect?
It works best with a top-level array of objects, like - key: value. Each object becomes a row. If you have a single object (not wrapped in a list), it will be treated as one row. Nested objects are serialized as JSON strings in the cell.
Can it handle nested YAML?
Shallow nesting is flattened automatically. Deeper nesting (objects within objects) is serialized as a JSON string in the cell. If you need proper flattening, consider using a JSON Flattener after converting YAML to JSON first.
Is my data processed on my machine or uploaded to a server?
Everything runs locally in your browser using js-yaml for parsing. No YAML is ever sent to a server. Your data stays private.
What file types can I upload?
You can upload .yaml, .yml, or .txt files. The tool parses the content as YAML regardless of the file extension.
How do I open the downloaded file in Google Sheets?
Go to Google Sheets and click File → Import. Select your downloaded .xlsx file. Google Sheets will import it with all the rows and columns intact.