Best practices 9 min read 1,870 words By LaiUse Editorial Team Reviewed 28 October 2026

How to Compress a File Before Emailing It

How to Compress a File Before Emailing It: Email attachments are convenient, but they are not unlimited in size, and some recipients or mail systems…

Why this matters

Email attachments are convenient, but they are not unlimited in size, and some recipients or mail systems reject messages that exceed their attachment limits. A file may also be large because it contains a high-resolution image, embedded fonts, or other data that is unnecessary for the recipient’s immediate task. Reducing the attachment before sending can make a message more likely to be delivered, although the right method depends on what the attachment actually contains.

Images, documents, and collections of files need different treatment. An image can usually be reduced by recompressing its pixels, with a trade-off between file size and visual quality. A PDF should be compressed as a PDF because changing its internal image content, metadata, or page rendering can affect how it appears. Several related files are usually better combined into one archive. Simply placing files into a ZIP archive makes them easier to send as one attachment, but it does not guarantee a smaller result: already-compressed files often remain nearly the same size and the archive may even grow slightly.

The process

  1. Identify what you are sending. If the attachment is a single image, use the image compressor. If it is a PDF, use the PDF compressor. If the message needs several separate files, use the ZIP tool’s create mode. A ZIP file that already exists is a different case and belongs in the unzip mode. Do not send a DOCX, XLSX, or other office document directly to the image or PDF compressor, because neither tool is documented as supporting those formats.
  2. Check the file size against the tool’s published limit. The image compressor has a 20 MB limit, the PDF compressor has a 50 MB limit, and the ZIP tool’s published limits include 100 MB and 500 MB. Its specific ZIP-file validation message states that a ZIP file exceeds the 100 MB limit. These tool limits are not necessarily the same as your email provider’s limit, so check both before proceeding.
  3. Add the file to the appropriate tool. All three tools accept file uploads and support drag and drop. The image compressor accepts image files and has modes for JPEG, PNG, and WebP. The PDF compressor accepts files with a PDF type, and the ZIP tool accepts ZIP files. If an upload is rejected, confirm that the file is actually the type you selected rather than renaming its extension.
  4. Set the compression level for an image. The image compressor provides a field labeled Quality: %. Enter a percentage rather than assuming that a particular value is ideal. Lower quality generally removes more image information and produces a smaller file, while higher quality retains more visual detail. The appropriate choice depends on whether the image will be viewed closely, printed, or merely attached for reference.
  5. Select a PDF compression setting. The PDF compressor exposes different compression settings, including an option labeled High (recommended). It also lists lower settings associated with values such as 0.2 and 72 DPI and 0.5 and 100 DPI. Because the available labels are limited, use the recommended option when there is no reason to choose otherwise, then examine the resulting PDF if its visual quality matters.
  6. Name an archive when creating a ZIP. In the ZIP tool’s create mode, use the field labeled ZIP filename (no .zip needed) and enter a name such as quarterly-support-files. The tool then bundles the selected files. The ZIP tool states that it works entirely in the browser and makes no backend calls, but archive creation is still a packaging operation rather than a guaranteed compression operation.
  7. Download and inspect the result. Each tool can download a resulting file. Before attaching it, open the downloaded image, PDF, or ZIP and check that it contains what you intended. For an image, zoom in on text, faces, edges, and fine patterns. For a PDF, check every page and any text you need to remain readable. For a ZIP, confirm that it contains the expected files and that the recipient can extract it.
  8. Compare the saving before sending. Look at both the original and new file sizes. If a small reduction required a substantial loss in quality, keep the higher-quality version if it still fits. If it does not fit, reconsider the content rather than repeatedly recompressing an already-compressed file, because each lossy pass can degrade it further.

Worked example

Suppose you need to email three items: an 8.4 MB JPEG photo, a 12.1 MB PDF report, and a folder containing 18 supporting documents. The photo is a single image, so it goes into the image compressor. Enter a value such as 70 in the Quality: % field, download the result, and compare its size and appearance. If text inside the photo becomes difficult to read, use a higher quality value; if the email still fits with the 70-percent result, it is a reasonable candidate.

The PDF is handled separately with the PDF compressor. Start with the setting labeled High (recommended), download the result, and inspect the pages. The original PDF may contain large images or embedded resources, so the reduction can be meaningful, but the document must remain legible. If the compressed version is barely smaller, the PDF was probably already efficiently stored or needs content-specific editing rather than another generic compression attempt.

The supporting documents become a ZIP created through the ZIP tool. Enter quarterly-support-files in the ZIP filename (no .zip needed) field and create the archive. The ZIP may remain close to the combined size of the original documents, but it gives the recipient one attachment instead of 18. In this scenario, the archive’s main benefit may be organization and deliverability rather than byte reduction.

Common mistakes

Limitations of this approach

Frequently asked questions

Should I compress an image or a PDF? Use the image compressor when the attachment is a JPEG, PNG, or WebP image. Use the PDF compressor when the attachment is already a PDF. A PDF can contain images, but it should still be treated as a document because the goal is to preserve its page layout and readable content.

Does ZIP compression make several files smaller? Not necessarily. ZIP combines several files into one attachment and may compress some content, but it often provides little byte reduction for images, PDFs, and other already-compressed formats. Its main value is convenience and organization.

What image quality should I choose? There is no universally correct percentage. Start with a moderate value, inspect the result, and adjust upward if text or important details become hard to read. If the file already fits comfortably, reducing quality may not be worthwhile.

Is the highest PDF compression setting always the same as the best quality? No. Higher compression generally involves a greater size-versus-quality trade-off. The PDF tool includes a setting labeled High (recommended), which is a sensible starting point, but the downloaded document still needs to be checked for readability.

Can I compress a file that exceeds the tool’s upload limit? Not with that tool in one upload. The image compressor’s limit is 20 MB, the PDF compressor’s is 50 MB, and the ZIP tool has its own published limits. You may need to reduce the content itself, split it into separate documents, or use another workflow before returning to compression.

Will these tools work with an email draft? They produce downloadable files, but the tools do not document direct attachment to an email draft. Download the result and attach that file through your mail application or webmail interface.

Why did an upload fail even though the file looked suitable? Check the actual format and size. The image and PDF tools validate specific file types, and the PDF tool requires a PDF rather than a renamed office document. The ZIP tool is for ZIP archives; use its create mode when bundling files and its unzip mode when reading an existing archive.

Should I keep the original after compression? Yes, keeping the original makes it possible to compare the result and produce a new version from the unaltered source. This is especially important for images and PDFs, where repeated lossy compression can reduce quality.

The tools in this guide: image compressor · pdf compressor · zip unzip — each runs in your browser, so your data stays on your device.

Browse every guide · Read the blog · About LaiUse