File Splitter
Split any file into parts of a set size or into a set number of parts, for email limits, FAT32 drives or upload caps. Parts are cut straight from the file on your disk, so even multi-gigabyte files split instantly, and they rejoin byte for byte.
How to Use
- Drop the file on the box, or click it to choose one. Any type and any size works; the file is not uploaded.
- Choose Part size and type a size with its unit (MB = 1,000,000 bytes, MiB = 1,048,576), or choose Number of parts and type how many.
- Check the plan: number of parts, part size, the size of the last part and how big one part becomes as an email attachment.
- Press Download all, or save single parts from the list. Allow multiple downloads if the browser asks.
- To put the file back together, use File Merger & Joiner (Join bytes), or the .bat (Windows) or .sh (macOS, Linux) join script. The .sha256 file lets you check the result.
Worked Example
10,000 bytes in 4,096-byte parts. n = ⌈10,000 ÷ 4,096⌉ = ⌈2.44⌉ = 3 parts. The first two are 4,096 bytes and start at offsets 0 and 4,096; the last starts at 8,192 and holds 10,000 − 2 × 4,096 = 1,808 bytes. Check: 4,096 + 4,096 + 1,808 = 10,000. Named backup.zip.part001 to .part003, they rejoin in File Merger & Joiner exactly as they were cut.
A 60 MB backup for email. With 18 MB (18,000,000-byte) parts, n = ⌈60,000,000 ÷ 18,000,000⌉ = 4: three of 18,000,000 bytes and one of 6,000,000. As an attachment each full part is sent in base64: 4 × 18,000,000 ÷ 3 = 24,000,000 characters, plus a 2-byte line break every 76 characters (315,790 of them), 24,631,580 bytes in all — under a 25 MB limit.
The common mistake: cutting exactly at the limit. Split for a 25 MB limit into 25,000,000-byte parts and each one is sent as 4 × 8,333,334 = 33,333,336 characters plus 877,194 bytes of line breaks, 34,210,530 bytes, so every email bounces. Leave about a quarter of the limit for the encoding: Microsoft’s own Outlook on the web lets you send only 75% of the configured maximum for this reason.
Show Work
Formulas
Background: split, cat and Size Units
Splitting is an old Unix job. The split command cuts its input into pieces named xaa, xab, xac and so on, 1,000 lines each unless told otherwise; split -b cuts by bytes instead. Its names are chosen so that concatenating the pieces in alphabetical order, for example with cat x* > whole, gives back the input. Windows does the same with copy /b part1 + part2 whole, where /b means binary. The numbered style used here (.001, .002, or .part001) sorts the same way, and the zero padding keeps part 10 after part 9.
Size units are where plans go wrong. GNU split spells out the difference: -b 18MB means 18 × 1000 × 1000 = 18,000,000 bytes, while -b 18M means 18 × 1024 × 1024 = 18,874,368. Email and upload limits are usually decimal, file systems are binary (FAT32 stops at 232 − 1 bytes), and Windows labels its 1,024-based sizes “KB” and “MB”. This tool takes both kinds and always shows the exact number of bytes.
About This Tool
This tool cuts a file into parts by size or by count, shows exactly where each part starts and ends, and saves the parts one by one or all together. It also writes a Windows and a macOS/Linux script that rejoin them and a .sha256 list so you can check the parts and the rebuilt file. Parts are slices of the file on your disk, so nothing is held in memory and there is no size limit.
Nothing is uploaded: the file never leaves your computer. It suits anyone sending a large file through email or a size-capped upload, moving it on a FAT32 stick, or sharing it in equal pieces.
Related tools: File Encryptor, Split PDF and File Inspector.
Frequently Asked Questions
How do I join the parts back together?
Drop all the parts into File Merger & Joiner in Join bytes mode: it sorts them by number and rebuilds the file. Without a browser, run the .bat join script on Windows, which uses copy /b, or the .sh script on macOS and Linux, which uses cat. Joined in order, the parts are byte for byte the original file, with the same SHA-256.
What part size should I use to email a file?
Smaller than the limit suggests. Email sends attachments in base64, which turns every 3 bytes into 4 characters and adds a line break every 76, so a part grows by about 37%. With Gmail’s 25 MB limit, 18 MB parts become about 24.6 MB and fit; 25 MB parts become 34.2 MB and bounce. Microsoft documents the same 33% encoding increase for Exchange Online.
Why will a 5 GB file not copy to my USB stick?
Many sticks are formatted as FAT32, which stores a file’s size in 32 bits, so the largest file it can hold is 4,294,967,295 bytes (4 GiB minus 1 byte). Use the FAT32 preset to cut the file into parts of exactly that size, or reformat the stick as exFAT or NTFS if every computer you use can read it.
What is the difference between MB and MiB here?
MB means 1,000,000 bytes and MiB means 1,048,576 (1024 × 1024). Upload and email limits are usually given in MB; Windows shows sizes in units of 1,024 but labels them MB. 18 MB is 18,000,000 bytes while 18 MiB is 18,874,368, so pick the unit the limit uses. The plan always shows the exact byte count.
Is there a size limit, and is my file uploaded?
There is no size limit. Each part is a slice of the file on your own disk, so nothing is read into memory or sent anywhere until you save the parts, and a 10 GB file splits as fast as a small one. One split makes at most 10,000 parts.
How do I use the File Splitter?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Do I need to install or sign up for anything?
Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.
Is my information private?
Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.
Common Use Cases
Emailing a big file
A 60 MB site backup in 18 MB parts: 4 emails of about 24.6 MB each, under a 25 MB attachment limit.
FAT32 USB sticks
A 10 GB disk image in parts of 4,294,967,295 bytes: 3 files that each fit on a FAT32 drive.
Upload size caps
A forum or ticket system that takes 10 MB per file: a 47 MB log becomes 4 parts of 10 MB and one of 7 MB.
Equal shares
Cut a 1,000,003-byte data file into 5 parts for 5 people: 4 of 200,001 bytes and one of 199,999.
Last updated: