Compress an image to Kilobytes

Set a maximum file size, such as 200 KB, and get the best-quality JPEG that fits. It's done in your browser, so your image is never uploaded.

Saved as
JPEG, best quality that fits

JPG, PNG, WebP or HEIC up to 15 MB. Compressed in your browser: it's never uploaded.

Why use it

Get under a form's size limit

Upload forms often refuse a large file, and rarely say how to shrink it.

This free image compressor reduces a photo's file size to the limit you set, such as 20 KB, 50 KB, 100 KB or 200 KB, and keeps the best quality that fits. It lowers the JPEG quality first and only makes the image smaller in pixels when it has to, and it all happens in your browser, so your image is never uploaded.

Online passport and visa applications often limit a photo's file size, for example 240 KB for a US visa photo, and many also limit scanned documents and signatures. The Photovisa editor already saves your passport or visa photo within your document's file-size range, so the compressor is for everything else a form asks you to upload, or for a photo made somewhere else.

It's useful when an upload form says your file is too large, when a government portal gives a size limit in KB, when a scanned passport page or a signature is several megabytes, and when you need to email a photo under an attachment limit.

How to use

How to compress an image to a size

Four steps from an image that's too large to one the form accepts.

  1. Set your size limit

    Pick 20, 50, 100, 200 or 500 KB, or slide to the limit the website gives, from 5 KB to 10 MB.

  2. Upload an image

    A JPG, PNG, WebP or HEIC image up to 15 MB. It's compressed in your browser, not uploaded.

  3. Get the best quality that fits

    It finds the highest JPEG quality under your limit, and only makes the image smaller in pixels when it has to.

  4. Download your JPEG

    See its new size, quality and pixel size beside the original's, then download it.

How it works

The best quality under your limit

No settings to guess: give it a size and it works out the rest, in your browser.

  • Highest quality that fits

    It tries JPEG qualities from 95% down and keeps the highest one whose file is under your limit.

  • Pixels only when needed

    Quality never drops below 50%. Past that, the image is made smaller in pixels, just enough to fit.

  • Under the limit, either way

    Websites count a KB as 1,000 or 1,024 bytes. The file stays under your limit by both counts.

  • Never uploaded

    Your image is compressed on your own device. Nothing is sent to our servers, and nothing is kept.

FAQ

Questions about the compressor.

What it changes, what it keeps and where your image goes.

Yes, with no sign-up and no limit on how many images you compress.

Make your photo in the editor

The editor crops your photo, sets the background and sizes it.

Upload a photo