Monthly Basis All tools

Private browser tool

Compress an image to a target size

Choose a maximum file size and compress your image locally. Nothing is uploaded.

JPG, PNG, WebP, GIF, and other browser-supported images

Advanced options

Image compression guide

How to compress an image to a specific file size

Use this free, single-image compressor to reduce a JPG, PNG, WebP, or supported image to a target size such as 100 KB, 500 KB, or 1 MB. Choose a preset, adjust quality and dimensions, select an output format, and download the result. Everything is processed in your browser, so the original file is never uploaded.

01

Choose an image

Select an image or drag it into the upload area. You can use JPG, PNG, WebP, GIF, and other formats supported by your browser.

02

Set the file size

Choose a maximum size such as 500 KB, enter a custom size, or use a preset for websites, email, social media, maximum quality, or the smallest practical file.

03

Compare and download

Compare the original and compressed previews, adjust the quality slider or advanced options, set a filename, and download the result when it looks right.

Which image format should you use?

Automatic format selection

Automatic mode uses WebP as a broadly supported compact format. You can also explicitly choose JPG, WebP, PNG, or AVIF when your browser supports it. Unsupported AVIF exports fall back to WebP.

JPG

Use JPG for photographs and other images with many colors. It usually produces a small file, but it does not preserve transparent backgrounds.

WebP

Use WebP for websites and modern browsers. It often provides a good balance between image quality and file size, with transparency support.

PNG

Use PNG for logos, screenshots, illustrations, or images that need transparency and sharp edges. PNG is lossless, so it may not reach very small targets.

Using the advanced options

Compression priority

Choose the smallest file when upload limits matter, best visual quality when appearance matters most, or preserve dimensions when the pixel size must stay unchanged.

Minimum quality

Set a quality floor to prevent the compressor from making a JPG or WebP look worse than you want. If the target cannot be reached, the tool explains that the smallest practical result is larger.

Target behavior and transparency

Stay under a file-size limit, get as close as possible, or keep the original dimensions. When converting a transparent image to JPG, choose the background color that should replace transparency. If the target cannot be reached without excessive quality loss, the tool reports that the smallest practical result is larger.

Quality, orientation, and metadata

Use the quality slider for direct control over JPG and WebP output. Camera orientation is corrected during browser decoding, and canvas-generated exports remove embedded metadata such as location and camera details.

Filename

Enter a custom output filename or leave it blank to use the original filename with a compressed suffix.

Is this image compressor private?

Yes. Image decoding, orientation correction, resizing, compression, preview generation, and downloading happen locally in your browser. Your source image is not sent to a server or stored by Monthly Basis. Canvas-generated output does not retain the source file's embedded metadata, helping remove location and camera details.

Frequently asked questions

How do I make an image smaller than 1 MB?

Choose 1 MB from the target maximum size menu. The compressor adjusts quality and, when necessary, image dimensions until the result is under the limit or reaches the smallest practical size.

Can I compress an image without reducing its dimensions?

Yes. Open Advanced options and choose Preserve dimensions under Compression priority or Never reduce dimensions under Target behavior. The result may remain above your target size if the dimensions cannot be reduced.

Can I choose the output filename?

Yes. Enter a filename in Output filename. The selected format extension is added automatically.

What happens to photo metadata?

The exported canvas image does not retain embedded EXIF metadata such as GPS location or camera details. Camera orientation is applied during decoding so phone photos display correctly.

Does compressing an image reduce quality?

Lossy JPG and WebP compression can reduce quality, especially at very small file sizes. Use the minimum quality setting and the before-and-after previews to choose the right balance.

What is the best format for a small image file?

WebP is often a strong choice for websites, JPG works well for photographs, and PNG is best when you need transparency or lossless sharpness. The best result depends on the image and where you will use it.

Can I compress a private or sensitive image?

Yes. This tool processes images locally in your browser and does not upload the source file. You can confirm that the entire workflow stays on your device.