Skip to content

Compress an image to a target size in KB

Reduce image size in KB: pick a size and every image comes out under it, without uploading anything to a server.

From
To

Pick your own format, quality and size

Target size

Every image will be under this size. Quality is lowered first, then dimensions if needed. 1 KB is counted as 1000 bytes, so the result also fits sites that count 1024.

Drop images here

PNG, JPG, WebP, GIF, SVG and more, as many as you like. You can also paste with Ctrl+V or ⌘V.

Advanced settings

Changing a setting switches to Custom.

80

Target size is on, so quality is set automatically.

Images are only made smaller, never larger.

Optional. Leave empty to keep each file’s own name. With “summer-sale” you get summer-sale-1, summer-sale-2 and so on.

Metadata such as EXIF and location is removed from every image. Photos keep their correct rotation.

How it works

  1. Choose a target size: 50, 100, 200 or 500 KB, or type your own, such as 20 KB.
  2. Add your images. Pixlune finds the best quality that fits, right in your browser. Nothing is uploaded to a server.
  3. Download each image or all of them as a ZIP. Each row shows the final size and quality.

When to use it

Use this when a form or site only accepts images up to a certain size: job and school applications, exam and visa portals, marketplaces or an email attachment limit. Check the current rules of the site you’re uploading to; Pixlune gets the file under the size you choose.

Good to know

Pixlune never enlarges images. If an image is already under the target and you keep its format, the original is kept with only its metadata removed. Small targets shrink the image, and the row tells you when that happens: in the same test, detailed photos came out 439–542 pixels on the long side at 20 KB and 320–356 pixels at 10 KB. That's enough for a small profile picture, but fine detail and small text get hard to see.

Questions and answers

How does Pixlune reach the target size?
It tries qualities between 95 and 40 and keeps the highest one that fits, in at most seven tries. If even quality 40 is too big, it makes the image 10% smaller at a time and tries again. It counts 1 KB as 1000 bytes, so the file stays under the limit whether a site counts 1000 or 1024. Each row shows the quality used and tells you if the dimensions changed.
How many pixels is a 50 KB photo?
There's no fixed number: it depends on how much detail the photo has. In our test with photos 1920 pixels on the long side, 50 KB held 558 × 744 pixels for a scenery photo and 744 × 680 for a night street scene, at quality 43–51. A close-up with large plain areas kept its full 1440 × 1920.
Can I compress a PNG to a target size?
Yes, but PNG is lossless, so Pixlune can only reduce its dimensions. For photos and screenshots, JPG or WebP gives a much smaller file at full size. Keep PNG if the site requires it or you need transparency.
Will my photo meet an application’s other rules?
Pixlune only controls the file size, and it never enlarges the image. Rules about dimensions, background or how the face is framed come from the institution, so check its current instructions before you upload.
Are my images uploaded to a server?
No. Pixlune converts and compresses images in your browser. Your files never leave your device, and nothing is kept after you close the page.
Is Pixlune free? Are there limits?
Pixlune is free, with no sign-up and no limit on the number or size of files. The only limit is your device's memory.

Related guides

About the formats

What is PNG?

PNG is a lossless image format: it keeps every pixel exactly and supports transparency. It works well for logos, screenshots and graphics, but photos saved as PNG are often very large.

What is JPG?

JPG (JPEG) is the most common format for photos. It makes files small by discarding detail you barely notice, and it doesn't support transparency. Every save at a lower quality loses a little more detail.

What is WebP?

WebP is a modern image format from Google that supports lossy and lossless compression as well as transparency. It's usually much smaller than JPG or PNG and works in all current browsers.