TinyImageResizer.com

Choose a compression level or a target file size for your image

Compress JPG, PNG and WebP images in your browser. Choose a quality level or set a KB target, then download one file or a ZIP of your results.

Select images

or drop images here

100% Private & Secure
Instant Processing
No Signup Needed
Free Forever
Companion ToolNeed exact physical width and height after compressing?
Resize Image

Compress an image without starting with complicated settings

The Compress Image tool brings two common jobs into one workspace: reducing an image using a quality preset, or preparing a file for a maximum size limit. Use the first option when you simply want a smaller everyday photo or web graphic.

Use the target-size option when a form, upload page, email attachment or content system gives you a specific limit in KB or MB. The tool runs in the browser and uses the Canvas API to re-encode the image rather than sending it to a separate image-processing service.

The workspace is designed around common JPG/JPEG, PNG and WebP images. Multiple images can be selected together. The processing settings are applied to the selected files, and a multi-image result is packaged in a ZIP archive. The original files are not overwritten, so keep the downloaded compressed copies as separate versions and retain your originals until you have checked the results.

Choose between Smart Quality and Target Size

The sidebar has two modes. Smart Quality gives you three compression levels: Extreme Compression, Recommended (Balanced) and High Quality. The labels describe the trade-off between a smaller file and preserving visual detail. In the JPEG and WebP paths, the levels correspond to roughly 50%, 75% and 90% encoder quality. The PNG path is different: it uses palette reduction, with approximately 32, 128 or 256 colours depending on the selected level. PNG is not compressed by changing a JPEG-style quality percentage.

Target Size (KB) is for a file-size ceiling. You can choose one of the common presets - 10 KB, 20 KB, 30 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB or 2 MB - or enter a custom value from 5 KB to 10,000 KB. In this mode, choose JPG/JPEG, WebP or PNG as the output format. The tool then tries to create a file at or below the selected ceiling. A target is a maximum goal, not a promise that every source image can meet the limit without a visible trade-off.

How to compress an image online

For a single image, the page provides one downloadable result with the original and compressed size information. For several images, it creates a ZIP archive. Open a few representative files from the archive before uploading a complete batch to another service.

Open the Compress Image page and add one or more JPG, PNG or WebP images from your device.
Choose Smart Quality for a quick quality preset, or switch to Target Size (KB) when you have a maximum file-size requirement.
In Smart Quality mode, select Extreme Compression, Recommended (Balanced) or High Quality. Start with Recommended for ordinary photos.
In Target Size mode, choose a preset or enter a custom limit between 5 KB and 10,000 KB.
Select JPG, WebP or PNG as the output format when using target-size mode. Consider the destination's supported formats before converting.
Review any dimension or transparency trade-off, start compression and inspect the resulting file or ZIP archive.

Understand the output format before compressing

JPG/JPEG is a practical choice for photographs and broad compatibility. It uses lossy compression, so a smaller result can discard image detail. When a transparent image is converted to JPG, the transparent areas are placed on a white background because JPEG does not store alpha transparency. Check logos, icons and cut-out product images before choosing this format.

PNG is useful for graphics that need transparency, sharp interface elements or clean edges. This tool reduces PNG colours through palette quantization instead of applying a JPEG quality setting. Fewer colours can reduce file size, but gradients, soft shadows, subtle skin tones and semi-transparent edges may look different. WebP is a modern option for website images and can preserve transparency where supported by the browser. Confirm that the receiving platform accepts WebP before using it for forms or older software.

What happens when a target size is difficult to reach

In target-size mode, JPEG and WebP compression tests a low quality setting and searches upward for the best quality that stays within an internal limit set slightly below your requested size. If the image is still too large, the tool can reduce its pixel dimensions proportionally and try again. The Keep Exact Dimensions switch prevents that resizing. With the switch enabled, the tool may return a file that remains above the target if quality reduction alone is not enough.

PNG uses a separate process. It tries progressively smaller colour palettes, then can reduce dimensions if the downscale option is enabled. The transparency channel is retained, but colour quantization is not the same as preserving every original RGB value. A complex image, a very small target or a source with many colours may still miss the requested limit. Read the result status and actual file size instead of assuming that choosing a preset guarantees compliance.

Practical ways to get a better result

Start with the original image instead of repeatedly recompressing an already compressed copy.
Use Recommended quality for ordinary photos, then compare the result at normal viewing size.
Choose PNG when transparency or crisp graphic edges matter more than the smallest possible photo file.
Choose WebP for a modern website when the publishing system accepts it.
Use JPG for portals and apps that specifically request JPEG, and remember that transparency becomes white.
For a strict KB limit, allow proportional downscaling if preserving the exact pixel dimensions is not essential.
Keep an original copy when the image may need to be edited again.

Browser processing, privacy and final checks

The current compressor performs its image decoding, canvas rendering and encoding in the browser. Your selected images are processed on your device for this tool's workflow. Browser memory and supported image decoding still matter: very large images or unusual formats may fail to load, and the page is intended for common web image formats rather than every camera RAW or design file.

Before using a compressed image, check the format, dimensions, transparency, visible detail and final file size. If a website asks for both a pixel dimension and a maximum KB value, this compressor addresses the file size; use an image resizer as well when the pixel dimensions must change. The receiving site's current instructions always take priority over a general compression preset.

Frequently Asked Questions

Choose a compression level or a target file size for your image

Can I compress JPG, PNG and WebP images with this tool?
Yes. The tool is designed for common JPG/JPEG, PNG and WebP images. The selected output format depends on the mode and format option you choose.
What is the difference between Smart Quality and Target Size?
Smart Quality uses one of three preset compression levels. Target Size tries to keep the output at or below a file-size ceiling that you choose in KB or MB.
Can I set a custom image size in KB?
Yes. Target Size mode accepts a custom value from 5 KB to 10,000 KB, in addition to the listed quick presets.
Does compression change image dimensions?
It depends on the mode and options. Quality mode keeps the source pixel dimensions. In target-size mode, JPEG and WebP can be downscaled unless Keep Exact Dimensions is enabled; PNG has a separate downscale option.
Will a JPG keep a transparent background?
No. JPEG does not support transparency. Transparent areas are flattened onto white when the output is JPG.
Does PNG compression keep transparency?
The PNG path retains an alpha channel, but palette quantization can change colours and the appearance of partially transparent edges.
Can I compress multiple images at once?
Yes. Select multiple images and the tool processes them with the same selected settings, then packages the results in a ZIP archive.
Will every image reach my selected KB target?
No. The target is best-effort. Very detailed images, locked dimensions or extremely small limits can prevent the compressor from reaching the requested size.
Are my images uploaded to a server?
The current Compress Image workflow uses browser-side Canvas processing. Files are processed on your device in the browser.
Which quality level should I choose?
Recommended (Balanced) is a sensible first try for normal photos. Use Extreme when size matters most, or High Quality when preserving detail is more important.

Compress to a specific size

Choose a target size for forms, portals and uploads.

Compress any image

Related Tools

Explore more tools to optimize, convert, and manage your images.

All Tools