Split YAML Files Online
Split YAML files into multiple smaller files by row count, directly in your browser.
How to split YAML files
- Drop your file onto the upload area. The tool loads it and shows the total row and column count.
- Enter the number of rows each part should hold in Rows per chunk. The default is 1000.
- Click Calculate chunks. A button appears for each part, labelled with its row range, for example Part 2 with rows 1,001–2,000.
- Click each part to download it. Every part is a separate file in the same format as the original, named with a _part1, _part2 suffix.
Your file is processed locally in your browser and is never uploaded. The free limit is 50 MB per file; larger files work if your device has the memory for them.
Worked example
An outdoor gear shop is uploading its catalogue to a marketplace that rejects files over a set row limit. Scaled down, the limit here is two products per file.
Input (YAML)
- sku: TR-100
title: Trail runner shoe
price: 119
in_stock: true
- sku: TR-101
title: Merino running sock
price: 18.5
in_stock: true
- sku: TR-102
title: Rain shell jacket
price: 164
in_stock: false
- sku: TR-103
title: Headlamp 400 lm
price: 42.99
in_stock: true
- sku: TR-104
title: Hydration vest
price: 89
in_stock: trueSettings
- Rows per chunk: 2
- Downloaded: Part 1 (rows 1–2)
Result
| sku | title | price | in_stock |
|---|---|---|---|
| TR-100 | Trail runner shoe | 119 | true |
| TR-101 | Merino running sock | 18.5 | true |
Five rows at two per chunk gives three parts: rows 1–2, rows 3–4, and row 5 on its own. Part 1 is shown. Each part has the full header and the rows in their original file order. The last part is smaller because the row count does not divide evenly. Nothing is dropped or repeated between parts.
Frequently Asked Questions
Can I split by a column value, such as one file per region?
Not with this tool, which splits by row count only. Filter the file once per value instead, or use the SQL Query tool.
Do I have to download each part separately?
Yes. Each part has its own download button and saves as a separate file. There is no single zip download.
Can I split a very large file?
Files up to 50 MB can be loaded on the free tier. The whole file is read into browser memory before splitting, so the practical limit also depends on your device.
Related Tools
Validate CSV Files Online
Validate CSV file structure in your browser. Check null counts, distinct values, and data types for every column — no upload required.
Merge CSV Files Online
Merge and concatenate multiple CSV files into one, directly in your browser.
Sample CSV Files Online
Sample rows from CSV files — first N, last N, or random — directly in your browser.
Split CSV Files Online
Split CSV files into multiple smaller files by row count, directly in your browser.
Split Excel Files Online
Split Excel files into multiple smaller files by row count, directly in your browser.
Split Parquet Files Online
Split Parquet files into multiple smaller files by row count, directly in your browser.
Split JSON Files Online
Split JSON files into multiple smaller files by row count, directly in your browser.
YAML Viewer Online
View and inspect YAML files directly in your browser. Browse rows, check column names and data types — no upload required, your data stays on your device.