- [Home](https://linkinseconds.com/)

- /

- [Glossary](https://linkinseconds.com/glossary)

- /

- Base64 overhead

[Behind the link](https://linkinseconds.com/glossary#tech)

# What is Base64 overhead?

Definition

Base64 overhead is the extra size a file gains when email turns it into text with Base64 encoding, which makes it about a third bigger in transit. That is why a file just under your provider's limit can still bounce.

Also called: Base64 encoding overhead, Email encoding overhead, Attachment size inflation

## Why does Base64 make files bigger?

Base64 makes files bigger because it writes every 3 bytes of a file as 4 text characters. Email was built to carry plain text, so binary files such as photos and PDFs have to be turned into safe characters first. Base64 uses 64 of them: A to Z, a to z, 0 to 9, plus and slash.

Four characters for every three bytes is 33% more. Email then breaks the encoded text into lines of 76 characters, each with a line break, and adds headers to the message. Together that comes to roughly 37% on top of the file's size.

## How much bigger does an email attachment get?

An attachment gets about a third bigger, so the rough rule is to multiply the file size by 1.37. A 10 MB file travels as about 14 MB, and a 25 MB file as about 34 MB. The table below shows a few common sizes.

This is why an [attachment limit](https://linkinseconds.com/glossary/attachment-limit) of 25 MB really fits a file of about 18 MB. The limit is checked against the encoded message, while the size your computer shows is the smaller, unencoded one.

## Can you avoid Base64 overhead?

You can't avoid it inside email, because attachments are almost always sent this way. Zipping the file rarely helps either: photos, video, MP3s and most PDFs are already compressed, so a ZIP saves little and the encoding still applies to what is left.

What you can avoid is the attachment itself. Send a [shareable link](https://linkinseconds.com/glossary/shareable-link) instead, and the email carries a short line of text while the file is fetched over the web, where it travels as raw bytes with no Base64 step.

## Where else is Base64 used?

Base64 turns up wherever binary data has to pass through a channel built for text. Images embedded in a web page as data: URLs, files sent inside JSON by an API, and keys in configuration files are often Base64. The cost is the same third every time, which is why APIs usually send large files as raw bytes. Our own [MCP server](https://linkinseconds.com/glossary/mcp-server) works this way: small files can be sent inline as Base64, and bigger ones go to a [signed URL](https://linkinseconds.com/glossary/signed-url) as raw bytes.

File size before and after Base64 encoding (approximate)

| File on your disk | Size in the email | Fits a 25 MB limit? |

| 3 MB | About 4 MB | Yes |

| 10 MB | About 14 MB | Yes |

| 18 MB | About 25 MB | Only just |

| 22 MB | About 30 MB | No |

| 25 MB | About 34 MB | No |

In Link in Seconds

With Link in Seconds you put a link in the email instead of the file. The link adds a few dozen characters, the file travels over the web as raw bytes when someone opens it, and the reader needs no account. The email attachment size checker shows whether a file would fit each inbox once encoding is counted.

[Email attachment size checker](https://linkinseconds.com/email-attachment-checker)

## Base64 overhead: common questions

### How much bigger is a Base64 file?

About a third. Base64 alone adds 33%, and the line breaks and headers email adds bring it to roughly 37%.

### Does Base64 compress or encrypt a file?

Neither. It only rewrites the bytes as text and makes them bigger, and anyone can decode it back. It gives no privacy at all.

### Why did my 22 MB attachment bounce from a 25 MB inbox?

Because it travelled as about 30 MB once encoded. The limit counts the encoded message, not the file on your disk.

### Does zipping a file reduce Base64 overhead?

No. The overhead is a share of whatever you send. Zipping only helps if the file itself shrinks, which photos, video and most PDFs barely do.

### Is there Base64 overhead when I download from a link?

No. Web downloads send the file's raw bytes, so a 30 MB file is about 30 MB on the wire.

## Related terms

- [Attachment limitAn attachment limit is the biggest email a provider will send or accept, around 25 MB for most mainstream providers. It applies to the encoded message, so the usable file size is smaller, and bigger files should go as a link.](https://linkinseconds.com/glossary/attachment-limit)

- [MIME typeA MIME type is the label that says what kind of data a file is, such as application/pdf or image/png. Browsers use it to decide how to open a file, but it is easy to fake, so careful hosts do not trust it alone.](https://linkinseconds.com/glossary/mime-type)

- [Shareable linkA shareable link is a web address that opens a file for anyone who has it, without the file traveling as an email attachment. You send a few characters instead of the bytes, and you can usually change or turn off the link later.](https://linkinseconds.com/glossary/shareable-link)

- [File transferFile transfer is moving a file from one person to another, usually once. Transfer services are built for big files and short-lived downloads, and the link typically expires after a few days.](https://linkinseconds.com/glossary/file-transfer)

- [ZIP fileA ZIP file is one file that holds many files and folders, usually compressed to take less space. It lets you send a whole folder as a single download, and the person who gets it unzips it to see the files.](https://linkinseconds.com/glossary/zip-file)

## Go deeper

- [Email attachment size limits](https://linkinseconds.com/blog/email-attachment-size-limits)

- [Send large files via email](https://linkinseconds.com/send-large-files-via-email)

Updated December 5, 2026

[Previous termAttachment limit](https://linkinseconds.com/glossary/attachment-limit)[Next termBot traffic](https://linkinseconds.com/glossary/bot-traffic)

Share a file as a link in seconds

Upload any file and get one clean link, with every setting on this page.

[Try Link in Seconds](https://linkinseconds.com/)

Source: https://linkinseconds.com/glossary/base64-overhead
