How to compress an image
- Add images: drop one or up to 50 JPG, PNG or WebP files onto the box, or paste a screenshot with Ctrl + V.
- Choose how to compress. Quality lets you balance size and sharpness with a slider. Target size shrinks each image to fit under a limit such as 100 KB.
- Set a max width. 1920 px is plenty for most websites; a 4000 px phone photo resized to 1920 px is often 75% smaller before any other compression.
- Check the result with the before/after slider, then download one image or all of them as a ZIP.
Compress an image to a specific size
Upload forms often set a hard limit: a passport or visa photo under 50 KB, a job application photo under 100 KB, an email attachment under 10 MB. Switch to Target size and enter the limit. The compressor looks for the highest quality that fits, so you don't lose more detail than you need to. If even low quality isn't enough, it reduces the pixel dimensions step by step until the file fits.
| Target | Typical use | Realistic dimensions for a photo (JPG) |
|---|---|---|
| 20 KB | Signatures, thumbnails, some government forms | About 400 × 300 px |
| 50 KB | Passport, visa and ID photos; profile pictures | About 600 × 600 px |
| 100 KB | Job portals, exam registrations, forum avatars | About 1000 × 750 px |
| 200–500 KB | Blog and product images, email newsletters | 1280–1920 px wide |
| 1 MB | High-quality web hero images, portfolio shots | 1920–3000 px wide |
Detailed photos (foliage, crowds, fabric) need more bytes than simple ones (sky, studio backgrounds), so the dimensions above are a guide, not a rule. If a form also sets exact pixel dimensions, use the image resizer first.
Which format gives the smallest file?
| Format | Best for | Transparency | Notes |
|---|---|---|---|
| WebP | Websites: photos and graphics | Yes | Usually the smallest; supported by every current browser |
| JPG | Photos for forms, email, print, older software | No (becomes white) | Accepted everywhere |
| PNG | Screenshots, logos, text, pixel art | Yes | Lossless, so it barely shrinks; convert to WebP or reduce the width |
Auto picks the smaller of WebP and JPG in Quality mode. In Target size mode it uses JPG for photos, since that is what most upload forms accept, and WebP for PNGs so transparency is kept.
Why compress images?
Images are usually the heaviest part of a web page. Smaller files load faster, which improves Core Web Vitals such as Largest Contentful Paint, a signal Google uses in ranking. They also use less mobile data, keep inboxes and cloud storage lighter, and get past upload limits. As a bonus, re-encoding strips hidden EXIF metadata, including the GPS location many phones store in every photo.
Meet a form's file-size limit and keep the text readable
A form might ask for a JPG under 200 KB and also require a minimum image width. Select Target size, enter 200 KB and choose JPG where required. Check the Max width setting as well. The tool can use smaller dimensions to reach a tight limit, so reopen the download and check both its size in bytes and its pixel dimensions.
For a document photo, zoom in on small type, dates and reference numbers before uploading. If they blur, try a tighter crop on the original or take a clearer photo and run it again. Keep your original so you can compare it with the downloaded copy.
Choose what to keep before chasing a smaller file
Start by deciding which visual information has to survive. A catalog photo needs the product's outline and finish. An event graphic needs legible dates and addresses. A screenshot may depend on single-pixel dividers and fine text. Compare the original and candidate at the size a recipient will see. A change that looks small in a preview can matter when someone needs to read a number or inspect a texture.
If the destination cares only about bytes and accepts several formats, try the same image in two formats and compare the result. Gradients and photographs behave differently from a flat logo with transparency. Use a transparent output when the image is meant to sit over another background, and proof the saved result where it will actually appear. Put a copy over both a light and a dark color if its edges are important.
When you also have exact pixel dimensions, check the dimensions after compression. The maximum-width control can reduce a large original, which often saves more space than a small change in the quality setting. A receipt uploader or an asset pipeline may require a minimum width. Decide which dimension you can give up, if any, before asking the tool to fit a very small target.
Work through an example upload limit
Suppose a portal accepts JPEG files below 200 KB and lists a minimum width of 1,000 pixels. Start with the original photo and confirm it has enough pixels. Pick JPEG and use Target size. If the portal says “below” rather than “up to,” an output with a little headroom is easier to check. Keep the downloaded copy open in your file manager so you can compare both the exact byte count and the width against the portal's wording.
If the tool reports that the output cannot fit, go back to the original and decide which information you can remove. A tighter crop can eliminate a desk or wall surrounding a document. Better lighting can make text easier to read and reduce noisy shadows. If the image already has the smallest permissible dimensions and important details are unreadable at the required file size, check whether the receiving service accepts another format or offers another submission route.
Use the exported file to test the upload, rather than judging it by its preview or filename. Some file managers round size in their list view. Open the file's properties for the byte count if the result is close. A filename ending in JPG is also only a label. Check the selected output format and reopen the actual image before replacing your original.
Prepare a folder of photos for publication
For a site or online store, choose one representative file from each kind of image before running a batch. Test a bright photo, a dark one with visible texture and an image with text. Apply the planned settings and check the result on a phone and a larger screen. Look for blocky shadows, colored halos around labels and transparent areas that changed appearance.
Work from the originals again when you adjust settings. Repeatedly saving a compressed JPEG can accumulate artifacts even when the new settings look similar. Keep source files separate from delivery copies and name the exports so the team can tell which version belongs on the site. Once you settle on settings, download the batch and spot-check a few files outside the browser.
Use the amount transferred at the destination to evaluate a website change. A compression tool reports the file it created. A content delivery service may later resize or re-encode it, and a desktop visitor may receive a different image from a phone. Look at the images the actual page requests when you need to measure the effect of a change. For a layout that also needs a smaller canvas, use the image resizer to choose dimensions before deciding how much quality to trade for fewer bytes.
Comments 0
No comments yet.