Knowledge Mark G
Hire Me

100% free image tool

Image Compressor & Converter

Compress and convert JPG, PNG and WebP images without leaving your browser.

  • No sign-up required
  • Instant results
  • Nothing is uploaded
  • Works on any device

Shrinks only, never stretches the photo.

Or type an exact width below.

Optional - for tall portrait photos.

Switch the mode on the left to use this.

or drop them here

JPG, PNG, WebP, AVIF or iPhone HEIC. They never leave your device.

Your files are private. Everything happens in your browser. Your files never leave your device.

  • 100% freeNo hidden charges, no watermark
  • Instant resultsDone in seconds, no queue
  • Secure & privateNothing is uploaded
  • Works on all devicesDesktop, tablet and mobile

How to use the Image Compressor & Converter

  1. 1Add your image - drag it in or tap to choose.
  2. 2Adjust the settings and check the live preview.
  3. 3Download the result.

About the Image Compressor & Converter

Compresses and converts JPG, PNG, WebP and AVIF images entirely in your browser. Converting to WebP typically saves 25-40% over JPG at the same visual quality, and resizing to the width you actually display saves far more than that. You can also name a target file size - either 'under 50 KB' or exactly 50 KB, which is what application forms and government portals usually ask for - and resize to a maximum width and height, or to an exact pixel size such as 1080 × 1080 or 600 × 600.

Reduce image size without losing quality

Most of a photo's file size is detail your eye does not notice. At 80% quality - the default here - a JPG or WebP usually looks the same as the original at a fraction of the size. Two things save more than any quality setting: a smaller pixel size (a 4000-pixel phone photo shown 1200 pixels wide on a website is mostly wasted bytes) and a modern format. WebP is typically much smaller than JPG at the same visual quality, and AVIF smaller again, though it takes longer to encode.

Compress to a size in KB

Upload forms often set a limit - 100 KB for a photo, 200 KB for a signature, 1 MB for a document scan. Set Target file size to Under a size, type the limit, and the tool picks the quality for you, shrinking the dimensions too if quality alone is not enough. If a file cannot reach the target, it says so instead of quietly handing back a bigger file. Some forms also set a minimum; Exactly this size pads a JPG or PNG to the exact number of KB. The common limits have their own pages: 100 KB, 200 KB, 500 KB and 1 MB.

Which format should I choose?

  • WebP - the best default for websites and anything you upload; every current browser shows it.
  • JPG - when a form or an older program only accepts .jpg. Transparent areas turn white, because JPG has no transparency.
  • PNG - lossless, so the quality slider does nothing. Right for screenshots and logos, but photos as PNG are large.
  • AVIF - the smallest files, for websites whose visitors use current browsers.

Resizing for social media and forms

Keep proportions shrinks a photo to a maximum width or height and never stretches it. Exact size makes every image the same dimensions, with presets for an Instagram square (1080 × 1080) or portrait (1080 × 1350), a 1200 × 630 share card, a YouTube thumbnail and a 600 × 600 US passport photo; choose whether to crop to fill or fit the whole photo inside with bars.

You can drop in many images at once - JPG, PNG, WebP, AVIF or iPhone HEIC - and download them all as a ZIP. They are compressed in your browser and never uploaded. To change format without resizing, the image converter has pages for each pair, such as HEIC to JPG; to cut a product out of its backdrop first, use the background remover.

Frequently asked questions

How do I compress an image to 50 KB or 20 KB?+

Choose a target size, enter 50 (or 20, 100...) and add the image. The tool searches for the best quality that fits under that size, and shrinks the dimensions slightly if quality alone cannot get there. It tells you if a size cannot be reached.

Are my images uploaded?+

No. The conversion uses a canvas in your own browser. Nothing is sent to a server, which is also why it works with no file size limit beyond your device's memory.

How do I compress an image to exactly 20 KB, 50 KB or 100 KB?+

Set 'Target file size' to 'Exactly this size', type the number of KB, and pick JPG or PNG. The tool searches for the highest quality that fits under your number, then pads the file out so it lands on the figure precisely - 50 KB comes out as 51,200 bytes, not 49.4 KB. Use 'Under a size' instead when the form says 'must not exceed'.

How can the size be exact without ruining the picture?+

The image is compressed to just under your target, then a few hundred harmless zero bytes are appended to the end of the file. Image decoders stop reading at the JPEG end-of-image marker and at the PNG IEND chunk, so those extra bytes change the file size without altering a single pixel. This is why exact mode is offered for JPG and PNG only: WebP and AVIF record their length in the container header, so padding them is not reliably ignored.

Can I resize an image to an exact size like 600 × 600 or 1080 × 1080?+

Yes. Set Resize to 'Exact size', pick a common size or type the width and height, and choose what happens when the photo's shape differs: crop to fill (trims the edges and keeps the middle), fit inside (keeps the whole photo and adds white, black or transparent bars) or stretch. You can combine it with a target file size - the pixel size is then kept exactly and only the quality is lowered.

How do I limit the height of a tall photo?+

Keep Resize on 'Keep proportions' and fill in Max height as well as Max width. The image shrinks until it fits both limits, without being stretched or cropped - a 3000 × 4000 phone photo with a 1920 width and 1080 height limit comes out at 810 × 1080.

Is 1 KB 1000 bytes or 1024?+

1024, because that is what the forms asking for '20 KB' mean. A 20 KB file from this tool is exactly 20,480 bytes.

What if my target is too small to reach?+

Quality is lowered first, and if even the lowest quality overshoots, the image is shrunk in steps and tried again - a 1536px photo reaches 20 KB at around 983px wide. If the target is still impossible the row says so rather than quietly handing you a file that is too big.

Which format should I pick?+

WebP for almost everything on the web. Keep PNG only when you need lossless quality or transparency that WebP would not preserve well. For a form that demands an exact size, use JPG.

Worth reading

All articles →
View all →