Blog
File Upload Limits by Platform: The Complete 2026 Reference
Every major platform's file upload limit in one table — Gmail, Slack, Discord, WhatsApp, GitHub, and more — with a link to generate a test file at the exact size.
# File Upload Limits by Platform: The Complete 2026 Reference
Every platform has a different answer to "how big can this file be?" — and most of them don't make it easy to find out. This page collects the real, current limits for the platforms people hit most often, with a link to generate a test file at that exact size so you can check your own workflow before you're stuck troubleshooting a failed upload.
Bookmark this one. We keep it updated.
| Platform | Limit | Notes | Test it |
|---|---|---|---|
| Gmail | 25 MB (send) | Google Workspace Enterprise Plus raised this to 50 MB send / 70 MB receive in Feb 2026. Files over the limit get auto-uploaded to Drive with a link instead. | Generate a 25 MB file |
| Outlook.com | 25 MB | Encoding overhead means files closer to 20 MB are the safe zone. Larger files get offered as OneDrive links. | Generate a 20 MB file |
Messaging
| Platform | Limit | Notes | Test it |
|---|---|---|---|
| WhatsApp | 100 MB (documents) | Media sent as photos/videos is capped lower, around 16 MB, before compression kicks in. | Generate a 100 MB file |
| Telegram | 2 GB (free) / 4 GB (Premium) | One of the most generous limits of any messaging app. | Generate a 2 GB file |
| Discord | 10 MB (free) / 50 MB (Nitro Basic) / 500 MB (Nitro) | Free tier dropped from 25 MB to 10 MB in late 2024. Server boosts can also raise the cap for everyone in that server. | 10 MB · 50 MB · 500 MB |
Work & Docs
| Platform | Limit | Notes | Test it |
|---|---|---|---|
| Slack | 1 GB | Same cap on every plan, free or paid. What changes between plans is retention, not size. | Generate a 1 GB file |
| Notion | 5 MB (free) | Plus plan and above effectively removes the cap. | Generate a 5 MB file |
| Google Forms | Configurable: 1 MB, 10 MB, 100 MB, 1 GB, or 10 GB | The form owner sets this per question — worth checking before you assume. | 1 MB · 10 MB · 1 GB |
| WordPress (media upload) | Usually 2–32 MB | Set by your hosting provider, not WordPress itself — check yours under Media → Add New. | Generate a 2 MB file |
Developer Tools
| Platform | Limit | Notes | Test it |
|---|---|---|---|
| GitHub (git push) | 100 MB per file | Pushes over 100 MB are blocked outright; anything over ~50 MB triggers a warning. Use Git LFS for anything bigger. | Generate a 100 MB file |
| GitHub (web upload) | 25 MB per file | The drag-and-drop uploader in the browser has a much lower cap than a git push. | Generate a 25 MB file |
Cloud Storage & Social
| Platform | Limit | Notes | Test it |
|---|---|---|---|
| Google Drive | 5 TB | Way past anything most people will ever hit — but there's also a 750 GB daily upload cap to know about. | Generate our largest test file (2 GB) |
| X (Twitter) | 5 MB (image) / 15 MB (GIF) / 512 MB (video, free) / 16 GB (video, Premium) | Images and GIFs get squeezed hardest — video has by far the most headroom. | 5 MB · 15 MB · 500 MB |
| YouTube | 256 GB or 12 hours, whichever comes first | Verified accounts only — unverified accounts are capped at 15 minutes of runtime regardless of file size. | Generate our largest test file (2 GB) |
Why this matters
Upload limits are almost never announced clearly, and they change without much notice — Gmail's Enterprise Plus bump earlier this year is a good example. If you build, test, or support anything that involves uploads, the only reliable way to know where a limit actually breaks is to generate a file at the exact byte size and try it yourself, rather than trusting a number you read somewhere (including this page — always worth a quick sanity check for anything business-critical).
That's what ByteRivet's test file generator is for: pick a format, pick an exact size down to the byte, and it's built right in your browser — nothing uploaded anywhere. If you want the methodology behind testing limits properly (including the off-by-one mistake almost everyone makes), see our guide to testing file upload limits.
More posts

Test EXE Files: What They're For and How to Generate One Safely
A test .exe file with a real, valid header and zero executable code — useful for upload validation, security scanning, and installer-flow testing without any actual risk.

How to Test File Upload Limits: A Practical Guide
Testing an upload limit properly means three exact files, not one: at the limit, one byte over, and comfortably under — here's how and why.

How to Create a Test File of Any Size
Learn how to create exact-size test files for upload limits, API testing, email attachments, storage checks and QA workflows.