Download 20 MB binary file for testing
Test transfer, storage or upload-size limits with raw bytes. The preset is 20 MiB (20,971,520 bytes); choose MB for decimal megabytes.
1 MB = 1,000,000 B · 1 MiB = 1,048,576 B
Advanced: test an upload limit
Enter the byte limit above, then choose one byte below, the exact limit or one byte above. Each choice uses the same base: 20,971,520 B. Generate and download each file to test your endpoint.
Where a 20 MB BIN comes up
- Testing whether an email integration refuses a 20 MB attachment before it sends the message.
- Checking a Telegram bot that must download a file sent by a user.
- Comparing resumable and single-request uploads with a medium-size file.
Limits it lands on
- Telegram's Bot API getFile downloads files up to 20 MB, so this file is the boundary case.
- Outlook limits attachments in internet accounts to 20 MB by default; base64 encoding adds about a third, to roughly 27.96 million bytes.
What is inside the file
The fixed 65,536-byte filler block repeats exactly 320 times. There is no header, so libmagic and similar tools identify it only as data.
SHA-256: da42c6f4281607a1ba55f93c75fd6bfa31cae4548b884322c09655f2be4585ae.
Questions
Can my bot download a 20 MB file?
Telegram documents 20 MB as the getFile limit, so this file is exactly at that line. Test the next size up to see the error.
Why .bin and not .zip?
A .bin file has no structure for a server to inspect or decompress, so size limits and transfer speed are tested without format checks.
Reference and checks
Noticed an issue with this test file? Report an issue →