Image Target Size

To get an image under 200 KB, 1 MB or another limit, pick the target and add the image. The best-looking JPEG or WebP that fits is found automatically: quality is lowered first, and pixels are reduced only if that is not enough. Nothing is uploaded.

On-device・No uploadMobile friendlyWorks offline

Your files and input are processed only inside your browser on this device and are never uploaded to our servers.

Drop files here (multiple allowed)

or

Images are processed in this browser on your device and never uploaded.Accepts: JPEG / PNG / WebP / AVIF / GIF / BMPUp to 50 MB per filePaste (Ctrl+V) also works
Target size settings≤ 200 KB · JPEG · No limit
Target size (at most)

1 KB is counted as 1,000 bytes, so the result also fits a site that counts 1,024.

How to use

  1. photo.jpg4.2 MB

    Pick a target size and add an image

  2. photo.jpg→ 200 KB or less

    Adjust toward the target size

  3. photo.webpCheck the result size

    Export as JPEG or WebP

Pick a target file size and add an image, and it is compressed toward that size
  1. Choose the target size (100 KB / 200 KB / 500 KB / 1 MB / 2 MB, or enter a custom value).

  2. Drop images or click “Choose files” (multiple supported). Processing starts immediately.

  3. Check the resulting size, quality and dimensions in the list. Use “Compare” to inspect against the original.

  4. After changing the output format or the max image size, click “Redo with these settings”.

  5. Download images one by one or all at once as a ZIP.

What it does

Finds the best quality under the limit

A binary search over quality 45–92 finds the highest quality that fits. Every step measures the real JPEG / WebP output size, so the result is guaranteed to fit, not estimated.

Downsizes only when quality is not enough

If even quality 45 is too big, the long edge is reduced by about 15% per step and the search repeats. Losing pixels is the last resort.

Already small enough? Left as is

JPEG / WebP files already under the limit are output unchanged by default (switchable). You can also let a PNG stay PNG when lossless optimisation brings it under the limit.

See what was achieved

For each file: final size, quality, dimensions before and after, and number of tries — plus a before/after slider.

Batch and ZIP

Process up to 200 images at once. Failures do not block the rest, and a report.csv can be added to the ZIP.

Use cases

  • Meet a “file must be under 200 KB” rule on application, job or government forms
  • Fit phone photos under an email or chat attachment limit
  • Adjust ID photos or identity documents to an upload limit
  • Bring many images to the same size limit in one go

Supported formats

Input

JPEG (.jpg / .jpeg / .jfif)PNGWebPAVIFGIF (still)BMP

Output

JPEGWebPPNG (only when lossless optimisation fits it)

Capability matrix

FeatureSupportNotes
100 KB / 200 KB / 500 KB / 1 MB / 2 MB and custom limits (1 KB–100 MB)Supported—
Automatic search for the highest quality under the limit (quality 45–92)Supported—
Automatic downsizing when the quality floor is not enoughSupportedDown to about 200 px on the long edge
Max long edge, batch processing, ZIP, report.csvSupportedUp to 200 files, 50 MB each
Before/after comparison sliderSupported—
Keep PNG while under the limitPartialOnly when lossless optimisation (no quality change) brings it under the limit (if you set a longest-edge limit, the image is resized to it first), even if the original was over; otherwise converted to JPEG / WebP
Hitting the target size exactlyNot supportedOutputs the highest quality that is at or under the target, so it is rarely exact
Changing the quality floor (45)Not supportedFixed to protect quality; the remainder is handled by downsizing
Animated GIF / APNG / animated WebPNot supportedNot processed, to avoid losing the animation
Keeping EXIF and colour profilesNot supportedEXIF (including GPS) is removed and output is sRGB, except for files kept as they are, which keep their EXIF
HEIC (iPhone photos)SupportedWorks in any browser (outside Safari, a ~1.5 MB decoder loads once)

Limits & notes

  • Up to 50 MB per file, 200 files per batch and 100 megapixels per image.
  • Targets count 1 KB as 1,000 bytes, so the result also fits a site that counts 1,024.
  • If the image still does not fit after shrinking to about 200 px on the long edge, it is shown as failed. Raise the target or crop first.
  • Text and line art degrade quickly at low quality. Check with “Compare”.
  • Transparent areas become the chosen background colour (white by default) when saving as JPEG.
  • Uses your device’s CPU and memory; large images can take a few seconds.

Privacy & safety

Reading, compressing and zipping all happen inside your browser. Images are never sent to or stored on a server. Only the compression engine (WebAssembly) is downloaded the first time you use it.

FAQ

How do I make an image under 200 KB?
Choose “200 KB” as the target and add your image. The tool finds the highest JPEG / WebP quality that fits in 200 KB and shrinks the dimensions only if lowering quality is not enough.
How much quality will I lose?
It depends on the gap between the original size and the target. The list shows the achieved quality (45–92) and whether the image was shrunk, and “Compare” shows it next to the original. The tighter the limit, the more quality and pixels are lost.
Is a KB 1,000 or 1,024 bytes?
This tool counts 1 KB as 1,000 bytes (200 KB means at most 200,000 bytes), so the result fits whichever way the site you upload to counts. Pick the limit as it is.
Can I keep a PNG?
PNG has no quality setting to tune, so it is output as PNG only when lossless optimisation (colours unchanged) brings it under the target (switchable); if you set a longest-edge limit, the image is resized to it first. That can happen even if the original was over the limit, but not for every PNG. Otherwise it is converted to JPEG / WebP.
Is the location data (EXIF) removed too?
Images that are re-encoded lose their EXIF, including location. An image that already fit and is returned as it is (the “keep original” setting) keeps its EXIF. To be sure location data is gone, check it with the image metadata cleaner.
Should I compress an image or resize it?
Use this tool when the requirement is a file size such as under 200 KB. For JPEG / WebP it adjusts quality when needed and reduces the dimensions only if that is not enough. Use Batch Image Resizer for width or height requirements, and Crop, Pad & Canvas for an aspect ratio requirement. A tight size limit may reduce the dimensions, so check the saved file’s byte size, width and height.
Are my images uploaded?
No. All processing happens in your browser; images never leave your device.

Image Compressor

Drop images to shrink them in bulk while keeping them sharp. Convert to WebP or AVIF, resize, and compare before and after. Your images are never uploaded.

No upload

Batch Image Resizer

Resizing is free: drop a batch of images and resize them by width, longest edge, box crop and more. To change pixel dimensions, type the width or long edge in px. Make several sizes (say 320, 640 and 1280) from each image in one go, then copy ready-made srcset HTML. Your images are never uploaded.

No upload

PDF Target Size

Pick a target (under 1 MB, for example) and drop a PDF. The tool looks for the highest image quality that fits and shrinks images only if it must. Sizes are counted as 1 MB = 1,000,000 bytes, so the file fits whichever way the site counts. Your PDF never leaves your device.

No upload

Video Target Size

To bring a video close to a set size, choose the video and a target (8, 10, 25, 50 or 100 MB, or a custom size). The bitrate is calculated from the target, and if the result is over, it is lowered and tried again. The file is never uploaded.

No upload

EXIF & GPS Remover

Remove the location (GPS), camera details and timestamps embedded in your photos without touching image quality. Inspect what was inside and verify the result — all in your browser.

No upload

Image Converter

Choose the target format first, then drop images to convert them in bulk. Tune quality per format, use lossless WebP, set a background for transparency and name the output files — nothing is uploaded.

No upload

Last updated: