# File size limits by platform: email, chat and forms (official sources)

> Official attachment and upload limits for Gmail, Outlook, WhatsApp, Slack, Teams, LinkedIn and GitHub, with sources and the date each page was checked.

URL: https://tools.cuelark.com/guides/file-size-limits-by-platform
Author: Cuelark Team
Published: 2026-11-14
Updated: 2026-11-14
Tool: [Split PDF](https://tools.cuelark.com/split-pdf)

File size limits are set by each service, and they are not all measured the same way. Some caps apply to a single file, some to the whole message (text plus every attachment), and some are counted after the file has been encoded for email. This page collects the figures from each company's own help or documentation, with a link to the page each row comes from.

> **Checked 14 November 2026.** Limits change. Before you send or upload, open the official link for the service you are using and follow it if it differs from this page. This page is a summary, not an official source, and no tool can promise a file will be accepted.

A practical note on units: most of the pages below use **MB** and **GB**. GitHub's documentation uses **MiB** (1,024-based). We keep each source's own unit.

## Email attachments

| Service | Official limit | What it includes | Source |
| --- | --- | --- | --- |
| Gmail, personal account | 25 MB | "The size of attachments." If the total attachment size is greater than the limit, Gmail can remove the file and add a Google Drive link instead. | [Gmail Help, Send attachments](https://support.google.com/mail/answer/6584?hl=en) |
| Gmail, work or school (Google Workspace) | Set by the administrator for sending and receiving | The personal-account help page says your Workspace administrator sets these limits. | [Gmail Help, Send attachments](https://support.google.com/mail/answer/6584?hl=en) |
| Google Workspace, receiving (Enterprise Standard / Enterprise Plus) | 50 MB (Enterprise Standard) or 70 MB (Enterprise Plus), after encoding | The receiving-limits page says these values are the limit after encoding, "which adds about a 37% increase." It also says you can receive up to 500 attachments in a single email, and to use Google Drive (or another file-sharing service) to send files larger than the size limit. | [Google Workspace Help, Gmail receiving limits](https://support.google.com/a/answer/1366776?hl=en) |
| Outlook.com | 25 MB for file attachments. OneDrive-linked files: 2 GB | The sending-limits page states the attachment size limit for files is 25 MB, and that you can also share a file from OneDrive (2 GB). A separate Outlook.com known-issues page says the 25 MB email size limit "includes all text, inserted and attached files," and that OneDrive links do not count towards that email size limit. | [Microsoft Support, Sending limits in Outlook.com](https://support.microsoft.com/en-us/outlook/sending-limits-in-outlook-com); [Unable to attach files in Outlook.com](https://support.microsoft.com/en-us/support/known-issues/unable-to-attach-files-in-outlook-com) |
| Outlook desktop app (internet and Exchange accounts) | 20 MB (Outlook.com or Gmail accounts, as stated on that page); 10 MB default (Exchange / business email) | Microsoft's "Reduce attachment size" article, which applies to Outlook for Microsoft 365, Outlook 2024, Outlook 2021, Outlook.com, new Outlook for Windows and Outlook Web App, says: for internet email accounts such as Outlook.com or Gmail, "the email size limit is 20 megabytes (MB)." For Exchange accounts (business email), "the default email size limit is 10 MB." That limit "includes both the size of the attachment and the size of the email." This is a different figure from the 25 MB on the Outlook.com sending-limits page. If the desktop app refuses a file that Outlook.com on the web accepts, the 20 MB figure on this article is the likely reason. Organisation Exchange limits can also be set by an admin and may differ from the default. | [Microsoft Support, Reduce attachment size to send large files with Outlook](https://support.microsoft.com/en-us/outlook/reduce-attachment-size-to-send-large-files-with-outlook) |

### Why a 25 MB file can still fail to send

On Gmail's personal-account page, the 25 MB figure is the size of the attachments. On Outlook.com's known-issues page, the 25 MB figure is the size of the whole email, including text and inserted files. Google's Workspace receiving page is unusual in spelling out encoding: those 50 MB / 70 MB caps are "after encoding, which adds about a 37% increase."

So a file that is already close to 25 MB, plus the message text, plus (on some services) encoding, can go over the cap even though the file itself looks small enough in Finder or Explorer. That is why leaving a few megabytes of headroom is safer than aiming at the official number exactly. If you need to email a PDF, our [split PDF](https://tools.cuelark.com/split-pdf) tool can cut it into parts under a size you choose (for example 20 MB or 24 MB) in your browser. You can also [compress a PDF](https://tools.cuelark.com/compress-pdf) first. Neither tool uploads the file.

## Chat, files and posts

| Service | Official limit | Notes | Source |
| --- | --- | --- | --- |
| WhatsApp documents (including PDFs), Windows / web help | 2 GB | The help article "How to send media, contacts, or location" (Windows and web) says the maximum allowed document size is 2 GB, and repeats that "for documents, the maximum file size allowed is 2 GB." | [WhatsApp Help Center](https://faq.whatsapp.com/453914586839706/?locale=en_US&cms_platform=web) |
| WhatsApp videos, Windows / web help | 100 MB at 720p (faster connection, default); 64 MB at 480p (slower connection, default) | Same article. Status videos have a maximum duration of 90 seconds. The article does not state a file-size limit for chat photos; it only offers Standard or HD quality. | [WhatsApp Help Center](https://faq.whatsapp.com/453914586839706/?locale=en_US&cms_platform=web) |
| Slack | 1 GB per file | "Members and guests can add files up to 1 GB in size," on all plans. You can drag in up to ten files on desktop. Microsoft Office files larger than 50 MB will not display a preview. Image previews also have pixel limits (longest side under 25,000 pixels, and under 45 million pixels in total), which are not file-size limits. | [Slack Help, Add files to Slack](https://slack.com/help/articles/201330736-Add-files-to-Slack) |
| Microsoft Teams chat | 100 MB per file; 10 file attachments | From the official "Limits and specifications for Microsoft Teams" documentation, in the Messaging → Chat table. | [Microsoft Learn](https://learn.microsoft.com/en-us/microsoftteams/limits-specifications-teams) |
| Microsoft Teams Files tab (SharePoint) | 250 GB per file | The same article says Teams file storage runs on SharePoint, and the SharePoint "File upload limit (per file)" is 250 GB across the plans listed in that table. | [Microsoft Learn](https://learn.microsoft.com/en-us/microsoftteams/limits-specifications-teams) |
| LinkedIn Messaging | 20 MB per attached file | The messaging help page says to select the file you want to attach (up to 20 MB), on both desktop and mobile. | [LinkedIn Help, Attach files to messages](https://www.linkedin.com/help/linkedin/answer/a567264) |
| LinkedIn video posts (share box) | 5 GB maximum, 75 KB minimum | "Share videos on LinkedIn" lists: maximum file size 5 GB, minimum file size 75 KB, maximum duration 15 minutes, plus resolution, aspect-ratio, frame-rate and bit-rate ranges. | [LinkedIn Help, Share videos on LinkedIn](https://www.linkedin.com/help/linkedin/answer/a7174587) |
| LinkedIn media file types (notes on that page) | 100 MB | A separate "Media file types supported on LinkedIn" article lists supported image, document and video types, then a Notes list that begins "The file size cannot exceed 100 MB," with document page and word-count limits and image-resolution limits. That 100 MB note is not the same figure as the 5 GB video-post limit above. Follow the article that matches what you are uploading. | [LinkedIn Help, Media file types supported on LinkedIn](https://www.linkedin.com/help/linkedin/answer/a564109) |
| GitHub, browser upload | 25 MiB per file | "Files that you add to a repository via a browser are limited to 25 MiB per file." You can add up to 100 files at the same time. | [GitHub Docs, Adding a file to a repository](https://docs.github.com/en/repositories/working-with-files/managing-files/adding-a-file-to-a-repository) |
| GitHub, command line | 100 MiB per file; larger files need Git Large File Storage | The same page: you can add larger files, up to 100 MiB each, via the command line. To add files larger than 100 MiB, you must use Git Large File Storage. | [GitHub Docs, Adding a file to a repository](https://docs.github.com/en/repositories/working-with-files/managing-files/adding-a-file-to-a-repository) |

## Photo size limits on forms

Some forms set a *minimum* as well as a maximum size, in kilobytes. A photo that is "too small" is a different problem from one that is too large.

| Service | Official limit | Notes | Source |
| --- | --- | --- | --- |
| United Kingdom passport, digital photo (online application) | At least 50 KB and no more than 10 MB | The photo must also be at least 600 pixels wide and 750 pixels tall, in colour, clear and in focus, and "unaltered by computer software." | [GOV.UK, Get a passport photo](https://www.gov.uk/photos-for-passports) |

If a form requires a **minimum** size (for example at least 20 KB, or 20–50 KB) and your file is under it, [increase image size in KB](https://tools.cuelark.com/increase-image-size-in-kb) can pad a JPEG or PNG to an exact size, or re-save at a higher quality, in your browser. If the file is **over** a maximum, [compress a photo to 20 KB](https://tools.cuelark.com/compress-image-to-20kb), [50 KB](https://tools.cuelark.com/compress-image-to-50kb) or [100 KB](https://tools.cuelark.com/compress-image-to-100kb), or use the general [compress image](https://tools.cuelark.com/compress-image) tool. For a photo that must also be a PDF under a byte budget, use [image to PDF under a size](https://tools.cuelark.com/image-to-pdf-under-size).

Country-by-country printed sizes, head-size ranges and "do not edit" rules are on a separate page: [passport and visa photo sizes by country](https://tools.cuelark.com/guides/passport-photo-size-by-country).

## Official pages that do not state a file-size limit

We opened these pages on 14 November 2026 and did not find a file-size cap to put in the tables above. That is useful in itself: do not treat unofficial "Instagram is 8 MB" lists as official.

- **Instagram photos:** [Image resolution of photos you share on Instagram](https://help.instagram.com/1631821640426723) describes how Instagram resizes photos (kept at the original resolution when the width is between 320 and 1,080 pixels and the aspect ratio is between 1.91:1 and 3:4; otherwise cropped or resized to a 1,080-pixel width). It does not state a maximum file size in MB.
- **X (Twitter):** we could not read the official help pages from this environment on 14 November 2026 (the help.x.com URLs returned a challenge page). No X figure is included until we can open the official page.

## Sources

All pages opened or read on 14 November 2026.

- Google, Gmail Help, Send attachments with your Gmail message: https://support.google.com/mail/answer/6584?hl=en
- Google, Google Workspace Help, Gmail receiving limits in Google Workspace: https://support.google.com/a/answer/1366776?hl=en
- Microsoft, Sending limits in Outlook.com: https://support.microsoft.com/en-us/outlook/sending-limits-in-outlook-com
- Microsoft, Unable to attach files in Outlook.com: https://support.microsoft.com/en-us/support/known-issues/unable-to-attach-files-in-outlook-com
- Microsoft, Reduce attachment size to send large files with Outlook: https://support.microsoft.com/en-us/outlook/reduce-attachment-size-to-send-large-files-with-outlook
- WhatsApp Help Center, How to send media, contacts, or location (Windows / web): https://faq.whatsapp.com/453914586839706/?locale=en_US&cms_platform=web
- Slack Help, Add files to Slack: https://slack.com/help/articles/201330736-Add-files-to-Slack
- Microsoft Learn, Limits and specifications for Microsoft Teams: https://learn.microsoft.com/en-us/microsoftteams/limits-specifications-teams
- LinkedIn Help, Attach files to messages on LinkedIn Messaging: https://www.linkedin.com/help/linkedin/answer/a567264
- LinkedIn Help, Share videos on LinkedIn: https://www.linkedin.com/help/linkedin/answer/a7174587
- LinkedIn Help, Media file types supported on LinkedIn: https://www.linkedin.com/help/linkedin/answer/a564109
- GitHub Docs, Adding a file to a repository: https://docs.github.com/en/repositories/working-with-files/managing-files/adding-a-file-to-a-repository
- GOV.UK, Get a passport photo: https://www.gov.uk/photos-for-passports
- Instagram Help Center, Image resolution of photos you share on Instagram (no file-size cap stated): https://help.instagram.com/1631821640426723

Found a limit that changed? Email contact@cuelark.com and we will re-check the official source and update the table.

## FAQ

### What is the Gmail attachment limit?

For personal Gmail accounts, Google's help page says the limit is 25 MB. For work and school accounts, your Google Workspace administrator sets the sending and receiving limits. If the total attachment size is over the limit, Gmail can take the file off the email and add a Google Drive link instead.

### Why won't a 25 MB file send through Outlook or Gmail?

The official cap may apply to more than the file you selected. Outlook.com's known-issues page says the 25 MB limit includes all text, inserted and attached files. Outlook's desktop help states a 20 MB email size limit for Outlook.com or Gmail accounts in that app. Google Workspace's receiving limits are measured after encoding. A file that is already 25 MB can go over once the message body or encoding is added. Try a slightly smaller target, such as 20 MB or 24 MB, using [split PDF](https://tools.cuelark.com/split-pdf) or [compress PDF](https://tools.cuelark.com/compress-pdf).

### What is the WhatsApp limit for a PDF?

On WhatsApp's Windows and web help article, the maximum document size, including PDFs, is 2 GB. That is a different cap from WhatsApp's default video limits (100 MB at 720p on a faster connection, 64 MB at 480p on a slower one) on the same page.

### How do I email a PDF that is over 25 MB?

Split it into parts under the cap, or compress it first, then send the parts as separate messages. Our [split PDF](https://tools.cuelark.com/split-pdf) tool can split by page ranges or by a maximum file size, and [compress PDF](https://tools.cuelark.com/compress-pdf) can shrink the file. Both run in your browser and do not upload the PDF. For files that are still too large, Gmail and Outlook.com both point you to Drive or OneDrive links.

### A form says my photo is too small. What should I do?

Read the form's own rules first. Some official pages, such as GOV.UK's digital passport photo rules, set a minimum as well as a maximum (50 KB to 10 MB, and at least 600 × 750 pixels). If the form only needs more kilobytes and does not forbid padding or re-saving, [increase image size in KB](https://tools.cuelark.com/increase-image-size-in-kb) can help. For a UK, US, Canadian or Australian passport, several governments say the photo must not be edited — use our [passport photo sizes](https://tools.cuelark.com/guides/passport-photo-size-by-country) page for those "do not edit" rules, and treat a tool as a check, not a way to invent an acceptable photo.
