Phone cameras take large photos. A single picture from a recent phone is often 3 to 8 MB, which is too big for many upload forms, slow to email, and wasteful to store. Compressing it can cut the size by more than half with no difference you would notice on a screen.
What compression actually does
There are two ways to make an image file smaller:
- Compression keeps the same width and height in pixels but stores the image more efficiently. JPG and WebP do this by dropping fine detail the eye barely notices. The amount dropped is controlled by a quality setting.
- Resizing reduces the number of pixels, for example from 4000 × 3000 to 2000 × 1500. This always makes the file smaller, but the image is also smaller when zoomed in.
For most uses, compression alone is enough. Resize as well only if a form asks for specific dimensions.
Which quality setting to choose
Quality is usually shown as a percentage. As a rough guide:
- 80–90%: almost no visible difference. A good default for photos you want to keep.
- 60–75%: a much smaller file. Fine for sharing, email and most websites.
- 40–50%: very small, with some visible blur in fine detail. Use for strict size limits, such as some government or exam forms.
Start at 80%, check the result, and go lower only if the file is still too big.
Which format to use
- JPG is best for photos. Every device and form accepts it.
- PNG is best for screenshots, logos and images with text or flat colour. It is lossless, so PNG files compress less than photos.
- WebP is a newer format that is usually smaller than JPG at the same quality. Most browsers and apps support it, but some older upload forms do not.
Common situations
Email attachments
Many email services limit attachments to about 20–25 MB per message, and large attachments are slow to send and open. Compressing photos at 70–80% usually lets you send a whole set in one email.
Upload forms
Job applications, exam registrations and government portals often have limits like "under 200 KB" or "under 1 MB". Compress at 60–70% first. If it is still too big, crop away anything that is not needed, then compress again.
WhatsApp compresses photos automatically when you send them normally. If you send a photo as a document to keep its full quality, compressing it first keeps the download smaller for the other person.
Your own website or blog
Large images are one of the most common reasons pages load slowly. Compress every image before uploading, and use WebP where your site supports it.
How to compress a photo in your browser
The PixeryHub image compressor works entirely in your browser:
- Open the page and choose or drop your images. You can select several at once.
- Set the quality slider. 80% is a sensible start.
- Compare the original and compressed sizes, then download the result.
It supports JPG, PNG and WebP, keeps the original width and height, and keeps the original format. Your images are never uploaded to a server: the compression runs on your device, so it works for private photos and documents too.
Quick tips
- Keep the original. Compress a copy, not the only file you have.
- Do not compress the same JPG again and again. Each pass loses a little more detail.
- For screenshots with text, try PNG first; JPG can blur small text.
- Crop before you compress. Removing what you do not need saves the most space.
Need to shrink a video as well? The video compressor works the same way, in your browser.