NathanTools

Image Compressor

Drop one or many images to shrink them by quality or to a target size such as 100 KB. Compare before and after; nothing is uploaded.

100% free No sign-up Works on any device

Report a bug

Image Compressor

Updated November 2026 · Compression runs in your browser

How to compress an image

  1. Add images: drop one or up to 50 JPG, PNG or WebP files onto the box, or paste a screenshot with Ctrl + V.
  2. 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.
  3. 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.
  4. 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.

TargetTypical useRealistic dimensions for a photo (JPG)
20 KBSignatures, thumbnails, some government formsAbout 400 × 300 px
50 KBPassport, visa and ID photos; profile picturesAbout 600 × 600 px
100 KBJob portals, exam registrations, forum avatarsAbout 1000 × 750 px
200–500 KBBlog and product images, email newsletters1280–1920 px wide
1 MBHigh-quality web hero images, portfolio shots1920–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?

FormatBest forTransparencyNotes
WebPWebsites: photos and graphicsYesUsually the smallest; supported by every current browser
JPGPhotos for forms, email, print, older softwareNo (becomes white)Accepted everywhere
PNGScreenshots, logos, text, pixel artYesLossless, 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.

Frequently asked questions

Choose "Target size", pick 100 KB (or type any size) and drop your image. The compressor tries quality settings until the file fits, keeping the highest quality that's under the limit. If the image is too large to fit even at low quality, it also scales the dimensions down, then tells you the final size.

Lossy compression (JPG and WebP) removes detail you're unlikely to notice. At quality 75–85 most photos look identical to the original on screen while being 50–80% smaller. Drag the comparison slider to check, and raise the quality if you see blur or blocky edges.

WebP is usually 25–35% smaller than JPG at the same visual quality and supports transparency, and all current browsers display it. Choose JPG when a website, form or printer only accepts JPG, or when sending files to people with older software.

Yes. PNG is lossless, so the biggest savings come from converting it to WebP, which keeps transparency. If you need PNG for a logo or screenshot, reduce the max width instead, since fewer pixels means a smaller file.

Up to 50 images per batch, each up to 60 MB. Every image gets the same settings, and you can download them one by one or all together as a ZIP file.

Yes. Compressed images are re-encoded from scratch in your browser, so EXIF metadata such as GPS location, camera model and date isn't copied to the new file. The originals on your device are not changed.

No. Compression runs in your browser using your device's own image encoder, so your images never leave your device.

Comments

No comments yet.

Share this tool

Image Compressor

Favorites

Drag to reorder, or use the arrows. Categories and the tools inside them can both be moved.

Saved in this browser. Sign in to keep them on every device.

Esc
↑ ↓ to moveEnter to open