File Split
Free online file split tool, no installation required
About File Split
This tool splits a text file into multiple parts and lets you download each part separately, entirely in the browser. It accepts plain-text files (.txt, .csv, .json, .xml, or any text/* MIME type) and supports three splitting strategies: by number of lines, by target size in kilobytes, or by a fixed number of equal parts.
How to Use
1. Drag a text file onto the drop zone or click it to pick one; non-text files are rejected with an error. 2. Choose a split mode: By Lines, By Size, or By Parts. 3. Enter the corresponding value: lines per file, kilobytes per file, or number of parts. 4. Click Split File; the resulting parts appear in a list with their generated name and size. 5. Expand any part to preview its first 2000 characters, or click its download button to save it.
Split Modes and Naming
By Lines chunks the file every N lines. By Size accumulates lines until the chunk exceeds N kilobytes (1024 bytes each), keeping lines intact rather than cutting mid-line. By Parts divides the total line count into N roughly equal groups using Math.ceil. Each output part is named by replacing the original extension with _part_<index>.<original-extension>, so 'data.csv' becomes 'data_part_1.csv', 'data_part_2.csv', and so on.
▶Why was my file rejected?
▶Does By Size cut lines in half?
▶Can I rejoin the split parts later?
▶Is my data sent to a server?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee