邮件附件准备:压缩照片并拆分文件,适配 Gmail 或 Outlook
准备好要通过邮件发送的一组文件:照片会被缩小并去除位置信息,文件名会改成所有邮件程序都能正确处理的安全格式,文件会按邮箱服务的限制分成尽可能少的几封邮件,并计入附件发送时增大的 37%。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
Emailing a batch of phone photos or documents often fails: the message is too large, the recipient’s server rejects it, or a file name with special characters arrives garbled. Attachments also grow by about 37% when sent, because email encodes them as Base64 text, so 20 MB of files can exceed a 25 MB limit.
This tool prepares a set of files for email in your browser. It resizes photos to a sensible size, removes camera and GPS location data from them, makes file names safe for every mail program, and groups the files into as few emails as possible under the limit of Gmail, Outlook, Yahoo, iCloud, Proton or a custom size: as folders or zip files ready to attach.
使用方法
- Choose the files you want to send.
- Choose your email service, or enter a custom size limit.
- Choose the photo size and quality, and whether to make file names safe.
- Run it, then attach each group to a separate email.
计算原理
Images are re-drawn on a canvas at the chosen maximum dimension and re-encoded (which removes EXIF/GPS data). Each file’s sent size is estimated as size × 1.37 plus headers, and files are packed into groups under the provider limit (Gmail 25 MB, Outlook 20 MB, Yahoo 25 MB, iCloud 20 MB, Proton 25 MB) using a first-fit-decreasing method.
photos → canvas (max edge, quality, no EXIF); size × 4/3 + line breaks ≤ limit; first-fit decreasing into emails计算示例
A parent wants to email 12 phone photos from a school trip, 58 MB in total, through Gmail. Resizing them to 1600 px at 82% quality brings the set to about 6 MB, which fits in a single email even after the 37% encoding overhead, and the photos no longer reveal where they were taken.
示例输入和结果
12 张手机照片(58 MB),按 Gmail 和 1600 px 处理 → 约 6 MB,一封邮件即可。
局限性
- Video and large PDFs are not shrunk; use the video and PDF compressors first.
- Provider limits change; check your provider if a message is rejected.
- Recipients’ servers may have lower limits than the sender’s.
最后更新:
常见问题
为什么 20 MB 的文件放不进 25 MB 的邮件?
邮件以文本形式(base64)发送附件,体积会增大约 37%。20 MB 的文件发送时约为 27 MB,因此 Gmail 会拒收。本工具在给文件分组时会计入这部分增长。
它会删除照片中的位置信息吗?
会,除非你选择“不更改照片”。每张照片都会在你的浏览器中重新绘制,新文件不含相机、日期或 GPS 数据。
如果某个文件对任何邮件来说都太大怎么办?
它会被放进名为 too-big-for-email 的文件夹。请改用 Google Drive、OneDrive、iCloud 或 Dropbox 的链接分享。
常见问题
Why do attachments grow by 37%?
Email sends binary files as Base64 text: 4 characters for every 3 bytes, plus line breaks.
Should I use a cloud link instead?
For very large files, yes; links avoid size limits and let you revoke access.
Are documents compressed?
PDFs and other documents are copied as they are; only photos are resized.
故障排除
One group is still too large.
A single file is bigger than the limit; compress it or share a link.
Photos look too small.
Choose 2048 or 2560 px, or “original” size.
I need to keep the location data.
Choose “untouched” for photo size; files are then sent as they are.
隐私 & 免费使用
我的输入会被保存吗?
你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。
这个工具免费吗?
是的。无需注册或付费。