Compress an image

Compression mode

Quality mode exports once with the quality level you choose.

Compression result

Original size-
Result size-
Target size-
Final quality-
Saved-
Dimensions-
Before
After
Download compressed image

Files are processed in your browser for the core output. No account is required.

What this tool does

This image compressor can reduce an image by quality level or compress an image to a target KB size such as 50KB, 100KB, 200KB, 500KB or a custom limit.

When to use it

Use it before uploading images to online forms, CV uploads, profile photos, marketplaces, website content systems or email attachments that require smaller files.

Example use

For example, choose a 2 MB JPG, select target size mode, set 200 KB as the target and download a smaller WebP or JPG copy for a profile, form or product listing.

Privacy-first image processing

The core compression step runs locally with browser canvas APIs. The tool does not require an account and the selected image is not uploaded to a ToolForge Online server.

Practical guidance

How this tool works

In quality mode the page exports one new file with your chosen quality. In target size mode it uses a short binary search for JPG and WebP quality, then keeps the highest quality result that fits the selected KB limit when the browser encoder allows it.

Limitations

Not every image can reach an exact target size without resizing. Large dimensions, complex detail, transparency and PNG output can keep files above the target, so review the preview and warning before using the download.

Who maintains this tool

Created and maintained by ToolForge Online. Last updated: June 2026.

FAQ

Can I compress an image to 200 KB?

Yes. Select Target size mode and choose 200 KB or enter a custom target. The tool searches for a JPG or WebP quality setting that gets under the target when the image dimensions and browser encoder make that possible.

Why can't every image reach the exact target size?

File size depends on dimensions, detail, colors, transparency and output format. The browser encoder also controls the final bytes, so the tool aims for a practical result near or below the target rather than promising an exact byte count.

Should I use JPG, PNG or WebP for smaller files?

JPG is usually good for photos, WebP often gives smaller files at similar visual quality, and PNG is better for transparency or sharp graphics. Target KB mode is intended for JPG and WebP because browser PNG export does not expose a reliable quality control.

Does the image upload to a server?

No. The core compression workflow runs in your browser using local image and canvas APIs. Avoid using confidential images if your organization does not allow browser-based tools.