How to Make a File Smaller for Upload
Trying to upload a file only to hit a size limit is one of those small tech frustrations that happens to everyone. Whether it's a video for a school submission, a PDF for a job application, or a batch of photos for a client, the fix usually comes down to one of a handful of compression or conversion techniques. The right approach depends heavily on what type of file you're working with and how much quality you can afford to lose.
Why Files Have Upload Limits
Most platforms set upload limits based on server storage costs, processing capacity, and the practical needs of their users. A 25 MB email attachment cap, a 100 MB file upload restriction, or a 2 GB video size limit are all deliberate constraints — not accidents. The good news is that most files contain more data than they strictly need to, which means compression usually works surprisingly well.
Understand Lossy vs. Lossless Compression 🗜️
Before touching any file, it helps to understand the two main types of compression:
- Lossy compression permanently removes some data to reduce file size. The result is smaller but slightly degraded. Common with images (JPEG), audio (MP3), and video (MP4 with high compression).
- Lossless compression reduces file size without discarding any data. The original can be fully restored. Common with ZIP archives, PNG images, and FLAC audio.
For most uploads, lossy compression is fine. For documents, code, or files where accuracy is critical, lossless is the safer choice.
How to Compress Files by Type
Images
Images are often far larger than they need to be, especially straight from a smartphone or camera.
- Change the format: Converting a PNG to JPEG typically cuts file size by 60–80% with minimal visible quality loss for photos.
- Reduce resolution: A 12-megapixel photo doesn't need to stay at full resolution for a web upload. Resizing to 1920×1080 or smaller dramatically reduces size.
- Use a compression tool: Tools like Squoosh (browser-based), ImageOptim (Mac), or Photoshop's "Export for Web" give you control over quality vs. size tradeoffs.
PDFs
PDFs can balloon in size if they contain embedded high-resolution images or fonts.
- Re-export from the source: If you created the PDF from Word or Google Docs, re-export it and choose a lower image quality setting.
- Use PDF compression tools: Adobe Acrobat's "Reduce File Size" feature, Smallpdf, or ILovePDF are widely used options for compressing existing PDFs.
- Flatten or optimize: Removing unnecessary metadata, layers, and embedded thumbnails can shave off significant size.
Videos
Video files are the toughest to shrink without noticeable quality loss.
- Lower the resolution: Dropping from 4K to 1080p, or 1080p to 720p, can reduce file size by half or more.
- Adjust the bitrate: Lower bitrate means smaller file, but also more compression artifacts. There's a quality floor below which video looks noticeably blocky.
- Use a more efficient codec: H.265 (HEVC) produces smaller files than H.264 at the same quality level. However, not all platforms accept H.265, so check compatibility first.
- Trim unnecessary footage: Cutting dead time at the start or end of a video is the simplest size reduction of all.
- Tools: HandBrake (free, cross-platform) is the most widely used tool for video compression with detailed control options.
Documents and Spreadsheets
Word documents and Excel files are usually small enough to upload without issue, but they can grow large when they contain embedded images or revision history.
- Compress images within the document: Both Word and Excel have a built-in "Compress Pictures" option under the image formatting menu.
- Remove tracked changes and comments: Revision history adds hidden data to document files.
- Save as a different format: Saving a .docx as a PDF often reduces size, especially if the platform accepts PDFs.
General Files and Folders
If you need to send multiple files or a file type that doesn't compress easily on its own:
- ZIP or archive the files: Right-clicking and selecting "Compress" (Mac) or "Send to → Compressed folder" (Windows) creates a ZIP file. This works best on file types that aren't already compressed.
- Note: Compressing already-compressed files (like JPEGs or MP4s) usually produces little to no size reduction.
Compression Tradeoffs at a Glance 📊
| File Type | Best Compression Method | Quality Impact |
|---|---|---|
| Photos (JPEG/PNG) | Format conversion, resize, export settings | Low to moderate |
| Re-export, online compressor | Low | |
| Video | Lower resolution, bitrate, codec change | Moderate to high |
| Documents | Compress embedded images | Low |
| Mixed files | ZIP archive | None (container only) |
Variables That Affect Your Results
The same technique produces very different outcomes depending on your situation:
- Original file quality: A RAW camera image compresses more aggressively than a JPEG that's already been compressed once.
- Acceptable quality floor: Someone sending a draft for review has more flexibility than someone delivering a final print-ready file.
- Platform requirements: Some platforms specify accepted formats, minimum resolutions, or codec requirements — which may rule out certain compression methods.
- Your tools: What's available on your device (built-in OS tools vs. dedicated software vs. browser-based tools) affects how much control you have.
- Technical comfort level: Free tools like HandBrake offer a lot of power but have a learning curve. Browser-based tools like Squoosh or Smallpdf are simpler but offer less fine-grained control.
When Compression Isn't Enough
Sometimes a file genuinely can't be reduced below a platform's limit without unacceptable quality loss. In those cases, consider:
- Using a file-sharing service (like Google Drive, Dropbox, or WeTransfer) and sharing a link instead of uploading directly.
- Splitting the file into smaller parts, if the platform or recipient can reassemble them.
- Asking whether the platform has an alternative upload method — many services have desktop apps or direct integrations that bypass browser upload limits. 🔗
How aggressively you compress, and which method makes sense, comes down to the specific file, the destination platform, and how much quality matters for your use case.