Compress Image to 20KB, 50KB, 100KB or Any Size

Reduce image file size online by up to 90% while keeping it sharp. Pick an exact target like 50KB or 100KB, or fine-tune quality yourself, and watch the before-and-after size update live — all without a single byte leaving your device.

Your images are processed on your device and are never uploaded.

Drop your images here

or drag and drop

Accepts JPG, PNG, SVG, GIF, WEBP · Up to 512 MB per file

How to use this tool

  1. 01

    Drag and drop your JPG, PNG, WebP, SVG or GIF files here, or click to browse. Add several at once to compress them in a batch.

  2. 02

    Tap a target size such as 20KB, 50KB, 100KB or 1MB, enter a custom size in KB, or skip the target and set the quality slider yourself.

  3. 03

    Compare the original and compressed file sizes, then download each image or all of them together as a ZIP.

Compress image size online — fast, free and private

Photoclay’s free compress image tool reduces the file size of JPG, PNG, WebP, SVG and GIF images directly in your browser. Whether an application form asks you to compress an image to 50KB, an email bounces attachments over 1MB, or you want faster-loading web pages, you can shrink a picture in seconds. Because every step runs on your own device, your photos are never uploaded to a server.

Compress image to 20KB, 50KB, 100KB or any exact size

Most online image compressors offer a vague low, medium or high setting and leave you guessing. Here you choose the file size you need. One-click presets cover the sizes people ask for most — 10KB, 15KB, 20KB, 30KB, 40KB, 50KB, 100KB, 200KB, 500KB and 1MB — and a custom field accepts any other value, such as 150KB or 75KB, up to 100MB.

The compressor starts at the highest quality and narrows the setting step by step until the file fits under your limit, so you always get the best-looking result that meets the target. If quality alone is not enough — say, a 12-megapixel photo squeezed to 10KB — it reduces the pixel dimensions as a last resort, so you still get a usable image that passes the upload check.

Which target size should you choose?

  • 10KB–20KB: signatures and thumbnails for government, exam and visa application portals.
  • 30KB–50KB: passport-style photos and profile pictures for job sites and online forms.
  • 100KB–200KB: blog images, product listings, email attachments and chat apps, with clear detail.
  • 500KB–1MB: high-resolution photos for sharing, portfolios and print previews.

How to compress image size without visible quality loss

If you don’t need an exact number, leave the target empty and use the quality slider. Photos typically shrink by 60–85% at the balanced default with no visible difference. JPG and WebP files are re-encoded at the quality you pick. PNG stays lossless unless you set a size target, in which case it is converted to WebP so transparency is preserved. SVG files are optimised by stripping editor metadata and unnecessary decimal precision. For even smaller files, switch on the high-quality codec option to use MozJPEG and libwebp compiled to WebAssembly.

Why compress images in your browser?

Typical online compress image services upload your files to a remote server, process them there and send them back. Photoclay does the opposite: the codecs run locally inside a Web Worker. That means no upload wait, no queue, no file count limit and no copy of your image stored anywhere else. Camera EXIF data, including GPS location, is removed during re-encoding, so compressed images are also safer to share.

The tool works in any modern browser on Windows, macOS, Linux, Android and iOS, with no app to install and no account to create. On a phone it is the quickest way to compress an image to 100KB online before uploading it to a form — pick the photo straight from your gallery, choose the preset and download.

Tips for the smallest files

Crop away anything you don’t need before compressing — fewer pixels is the most effective size reduction. Resize very large photos to the dimensions they will actually be shown at. Prefer JPG or WebP for photographs and keep PNG for screenshots, logos and graphics with sharp edges. Always compress from the original file: re-compressing an already compressed JPG adds artefacts without saving much space. Need many images done the same way? Drop them all in at once and download the results as a single ZIP.

Quality you control, not a fixed preset

Most compressors give you one button and a guess. Here you get a real quality slider with an immediate preview and byte count, so you can find the exact point where the file stops shrinking and starts degrading.

Format-aware compression

JPEGs are re-encoded at your chosen quality, PNGs are requantised to a smaller palette when it is lossless enough to do so, SVGs run through an optimiser that strips editor metadata and redundant path precision, and GIFs are recompressed frame by frame.

Frequently asked questions

How to compress image size?

Drop your image into the compressor above, then either tap a target size such as 20KB, 50KB, 100KB or 1MB, type a custom size in KB, or lower the quality slider. The image is re-encoded in your browser and the new file size is shown next to the original, so you can download it as soon as it looks right. For the biggest savings, crop unneeded areas first, use JPG or WebP for photos, and enable the high-quality codec option.

Are my images uploaded to compress them?

No. Compression runs in a Web Worker inside your browser using WebAssembly codecs. You can open your network inspector and confirm that no request carries your file.

How much smaller will my files get?

Photographs typically drop 60–85% at the balanced setting with no visible difference. Screenshots and flat-colour graphics saved as PNG often shrink further. Files already heavily compressed may only gain a few percent.

Does compressing remove EXIF data?

Yes. Camera metadata, including GPS coordinates, is discarded during re-encoding. That reduces file size and removes location data before you share the image.

Is there a file size limit?

There is no server limit because there is no server. The practical ceiling is your device memory — desktop browsers comfortably handle images above 100 MP, while mobile browsers are capped lower and will warn you before processing.

Related tools