Free Image Compressor — Compress to an Exact Size
Loona Image Compressor — shrink JPG, PNG and WebP images to the exact size you need, convert formats and resize in batch. Everything happens privately in your browser: your images are never uploaded anywhere.
100% FreeNo UploadNo SignupNo WatermarkBatch + ZIP Download
How to compress an image in 3 steps
- Add your images — drop them in the box above, browse, or paste. One image or a whole batch.
- Choose your settings — move the quality slider, or type an exact target size like 50 KB, pick an output format and optional resizing.
- Download — save images one by one, compare before/after with the compare view, or download everything together as a ZIP.
Why professionals use Loona Image Compressor
🎯
Exact target size
Forms and portals demand “photo under 50 KB” or “signature under 20 KB”. Type the number — Loona hits it automatically, no trial and error.
🗂️
True batch processing
Compress a whole folder of product photos, ID pictures or screenshots in one go and download them all as a single ZIP.
🔄
Format conversion
PNG to JPG, JPG to WebP, WebP to JPG — convert while you compress, with a background color of your choice for transparent images.
📐
Smart resizing
Cap width and height (for example 1920 px for web, 800 px for thumbnails) while the aspect ratio is preserved automatically.
🔒
Private by design
There is no server. Your CNIC scans, family photos and documents never leave your device — unlike upload-based compressors.
👀
Before / after compare
Slide between the original and the compressed image to check quality with your own eyes before you download.
Popular uses
Online application forms (jobs, admissions, visas) that reject photos above a fixed KB size; WhatsApp and social media sharing; e-commerce product images that must load fast; blog and website images for faster pages and better Google ranking; email attachments that are too large to send; and documents or ID scans that need to stay small and private.
Frequently Asked Questions
How do I compress an image to 50 KB?
Add your image, type 50 in the Target Size (KB) box — or tap the 50 KB chip — and Loona automatically finds the quality and dimensions that fit. The same works for 20 KB, 100 KB, 200 KB or any size you type.
Are my images uploaded to a server?
No. Loona Image Compressor runs 100% in your browser using JavaScript. Your images never leave your device, which makes it safe for personal photos, ID cards and documents.
Which formats are supported?
Add JPG, JPEG, PNG and WebP images, and export as JPG, PNG or WebP — including converting between formats, for example PNG to JPG or JPG to WebP.
Will compressing reduce image quality?
At sensible settings (quality 75–90%) the difference is almost invisible while the file often shrinks 60–90%. Use the compare view to check before downloading, and keep PNG format when you need pixel-perfect lossless output.
Is it really free? Any limits?
Yes — completely free, no signup, no watermark, no daily limit. The only limit is your own device's memory.
More free photo tools
Loona now includes a full set of free photo tools alongside the compressor — passport and visa photos, background changing, resizing, cropping, photo to PDF, color tools and more — 41 free tools in total. Like the compressor, every tool runs 100% in your browser: no signup, no watermark, and your photos are never uploaded.
🪪
Crop any photo to 35×45 mm or 2×2 inch at print-ready 300 DPI.
🇵🇰
Exact 350 × 467 px photo for Pak-ID online applications.
🛂
US, UK, Schengen and China visa photo sizes in one place.
🎨
Turn a photo background white, blue or light gray.
✍️
Remove the paper behind a signature or stamp — transparent PNG.
📝
Add a name and date strip under your photo for board exams.
🖨️
Put 4, 6 or 8 passport photos on one A4 sheet and print at home.
📐
Resize by pixels, cm or inches, with a print DPI setting.
✂️
Free crop plus ready ratios — 1:1, 4:3, passport and more.
📄
Turn one or more photos into a single PDF file.
🔄
Convert JPG, PNG and WebP both ways, with quality control.
✨
Fix brightness, contrast and sharpness in seconds.
🪄
Auto enhance, sharpen and upscale photos up to 4x.
💧
Add a text watermark — set size, color, opacity, position or tile it.
😂
Classic top and bottom meme text on any photo, in seconds.
🔒
Blur or pixelate faces, plates and private details before sharing.
🎨
Pick any color and copy its HEX, RGB, HSL and HSV values.
🌈
Harmonious palettes from any base color, in one click.
👁️
Check text colors against WCAG AA and AAA contrast rules.
🌅
Build linear gradients and copy the CSS code instantly.
🔍
See the EXIF, GPS, camera and date data hidden inside any photo.
🧹
Strip EXIF, GPS and XMP from a photo — pixels untouched.
✏️
Edit a JPG's date taken, artist, copyright, make and model.
📍
Delete only the location data and keep the rest of the EXIF.
🗂️
Strip metadata from many photos at once and download a ZIP.
Image format converters
One focused page for each conversion — the format pair is already chosen, so you just add your image and download. GIF and BMP files are welcome too, and SVG vectors render at any width you pick. Like every Loona tool, each converter runs 100% in your browser: nothing is uploaded.
🔁
Turn PNG photos and screenshots into much smaller JPGs.
🔁
Lossless PNG copies of your JPGs for editors and design tools.
🔁
Shrink JPGs by 25–40% for faster websites.
🔁
Make WebP images open everywhere as JPG.
🔁
Convert iPhone HEIC photos to JPG that opens everywhere.
🔁
Smaller web graphics that keep transparency.
🔁
Lossless PNG from WebP for editors and print.
🔁
A clean lossless still image from any GIF.
🔁
A small universal JPG still from a GIF.
🎞️
Turn an MP4 or WebM clip into an animated GIF, on your device.
🎞️
Create animated GIFs from your photos — free, in your browser.
🔁
Shrink huge BMP files by 90% or more.
🔁
Lossless PNG — the modern upgrade from BMP.
🔁
Render vector logos as crisp PNGs at any size.
🔁
Render SVG vectors as universal JPGs.
Compress image to an exact size
When a form states one exact limit, use the page for that limit: the tool searches automatically for the highest quality that fits — and tells you honestly if the dimensions had to be reduced to reach a very small target.
🎯
Hit the strictest signature and form limits automatically.
🎯
The classic 20 KB cap on job and exam forms.
🎯
Strict admission and exam photo limits, handled in one click.
🎯
Portal photo limits in the 40 KB range.
🎯
Application photos at full size, under 150 KB.
🎯
Listing and form photos with real detail, under 300 KB.
🎯
Email-friendly scans and images under half a megabyte.
🎯
Beat the classic “under 1 MB” upload rule.
🎯
High-quality images that fit a 2 MB limit.
Resize image to exact dimensions
When a platform states one exact pixel size, use the page for that size: crop to fill, fit inside with a background color, or stretch — the output is always exactly the dimensions you picked. Like every Loona tool, each resizer runs 100% in your browser: nothing is uploaded.
📏
Full HD size for desktop wallpapers and YouTube end screens.
📏
HD size for YouTube thumbnails and HD video frames.
📏
The Instagram square post size (1:1), exactly.
📏
The Instagram portrait post size (4:5), exactly.
📏
The Facebook and LinkedIn link-share and ad size.
📏
The X (Twitter) header banner size, exactly.
📏
Square product and marketplace listing photos.
📏
App icon, avatar and favicon master size.
How it works
Your image never leaves your device. When you add a file, the browser decodes it locally — applying the orientation saved in the photo — and draws it onto a canvas at the size you allow: capped by the optional maximum width and height, with the aspect ratio always preserved. The canvas is then re-encoded in your chosen format. JPG and WebP use the quality slider (5–100%, set to 82% by default), while PNG is written losslessly, without a quality setting. If you set a target size instead, the tool first encodes at 92% quality and then runs a binary search between 5% and 92% to find the highest quality that still fits under your limit; if even the lowest quality is too large, it steps the dimensions down by 15% at a time until the file fits. For a PNG target, where there is no quality setting to adjust, it shrinks the dimensions in 20% steps instead. Because every output is a fresh re-encode, the original file’s metadata is not carried over. Finished images can be downloaded one by one or all together as a ZIP file.
Worked example
A job portal asks for a passport photo “no larger than 200 KB”, but the photo on your phone is a 3.9 MB JPG (4032 × 3024 pixels). Add the photo, tap the 200 KB chip — or type 200 in the Target Size box — and leave the output format on “Keep original format”. The compressor keeps the full 4032 × 3024 dimensions and automatically lowers the quality just enough: the downloaded photo comes out at or just under the 200 KB limit, ready to upload. The stats bar shows the original size, the new size and the percentage saved, and the compare view lets you inspect the result with the before/after slider before you download it.
Frequently asked questions
Can I compress a whole batch of images at once?
Yes. Add as many images as you like — by dropping them in, browsing, or pasting with Ctrl+V — then press Compress All. Every image is processed with the same settings, and the Download All (ZIP) button saves them together in one loona-compressed-images.zip file, each image renamed with a “-compressed” suffix.
What happens to transparent backgrounds?
PNG and WebP keep transparency. JPG cannot store transparency, so transparent areas are filled with the color you pick under “Background for JPG” — white by default. If a transparent logo or sticker must stay transparent, export it as PNG or WebP instead.
Does compressing remove the photo’s metadata (EXIF)?
Yes. The image is decoded and freshly re-encoded on a canvas, so EXIF data such as the camera model, GPS location and timestamps is not copied into the new file. The photo’s orientation is applied to the pixels themselves, so the compressed image still displays the right way up.
Why doesn’t the quality slider change my PNG’s size?
PNG compression is lossless, so browsers ignore the quality setting for PNG output — the slider only affects JPG and WebP. To make a PNG smaller, resize it with the Max width / Max height fields, convert it to JPG or WebP, or set a target size: the tool then reduces the PNG’s dimensions step by step until it fits.
Does “target size” mean the file will be exactly that size?
It means at or under. The tool searches for the highest quality whose result fits within your target, so the finished file is usually just a few KB below the number you typed — it is never padded up to it. If even the lowest quality at full size is still too big, the dimensions are reduced step by step until the file fits.