Image Compressor — free, private, in your browser
Image Compressor compresses an image to a file size you choose - 20 KB, 50 KB, 100 KB or any number you type - by searching for the highest JPEG quality that still fits, on a canvas in the page. Free, no signup, 5 runs a day. It runs in your browser; nothing you add is uploaded.
📦 Image Compressor
Compress to an exact KB target — one image or a batch, in your browser
About Image Compressor
Shrink JPG, PNG, and WebP images so pages load faster and uploads fit, without sending your photos to a server. TaimurTools compresses each image locally in your browser, keeping the visible quality high while cutting file size. No signup, no watermark. Great for product photos, blog images, and email attachments where privacy and speed both matter.
- Reduce image size, keep quality
- JPG, PNG, WebP supported
- No upload — fully private
- Free, no signup or watermark
Step-by-step guide: How to compress images without losing quality
Runs on your device
Your file is opened and processed by JavaScript inside this page. It is never uploaded and we never receive it. The page does download the processing library it needs from a public CDN the first time you use it - that request carries no part of your file.
Free tier: 5 runs per day for this tool, counted in your browser. The counter resets at midnight UTC and is not shared between browsers or devices.
How TaimurTools handles data · Why most of these tools run on your device
What this tool is for
- Uploads that refuse anything over a fixed size - exam forms, job portals, visa and government applications
- Getting product photos under a marketplace's per-image limit without rescaling them
- Emailing a batch of photos that are individually too large to attach
| What it does | Compresses an image to a file size you choose - 20 KB, 50 KB, 100 KB or any number you type - by searching for the highest JPEG quality that still fits, on a canvas in the page. A quality mode is available if you would rather set the quality yourself. |
|---|---|
| Accepted input | One or more images (image/*), plus either a target size in KB or a quality value from 1 to 100. Select several files at once to compress them in a batch. |
| What you get back | A JPEG per input image, each at or under your target where that is achievable, with a download button and a line stating the quality used and whether the pixel dimensions changed. |
| Limits | Capped at 5 runs per day for this tool, counted in your browser and reset at midnight UTC. A batch counts as one run, however many images are in it. Output is always JPEG - that is what makes a predictable size target possible. Transparency is flattened onto white, because JPEG has no alpha channel. |
| Browser requirements | Any current desktop or mobile browser with JavaScript enabled. |
A worked example
- Input
- A 3.2 MB photo at 1200x800, with the target set to 50 KB.
- What comes back
- A 46.1 KB JPEG, still 1200x800, encoded at quality 6%. The result row states all three facts.
- Worth knowing
- Pixel dimensions are kept whenever the target can be reached at a reasonable JPEG quality (40% or higher). If it cannot - a very detailed photo against a very small target - the image is scaled down until it fits at that quality, because a smaller sharp picture looks far better than a full-size smeared one. The result says so and gives the new pixel size. It is never resized silently.
If it does not work
The result says "target not reached"
That image does not compress that far, even at the lowest quality and after scaling down. The file you get is the smallest this tool could produce. Raise the target, or crop the image first.
It resized my image and I did not want that
Resizing only happens when the target cannot be met any other way. Raise the target and it will keep the original dimensions.
My PNG came back with a white background
Output is JPEG, which has no transparency, so transparent areas are filled with white. Use the Image Converter if you need to keep an alpha channel.
The file is still slightly over my target
Some portals count the size differently, and a few reject at exactly the limit rather than above it. Set the target a little under what the form asks for.
Nothing happens when you run it
You may have used your 5 free runs of this tool for today. The page shows a "Daily limit reached" notice; the counter resets at midnight UTC.
How to use Image Compressor
- Choose what to aim forLeave it on target file size and pick a preset - 20, 50, 100, 200 or 500 KB - or type your own number. Switch to quality mode if you want to set the quality directly instead.
- Add your image or imagesDrop them on the upload area or click to pick them. You can select more than one. They stay on your device.
- Compress and downloadEach image gets its own result row showing the old and new size, the quality used, and whether the dimensions were kept. Download them individually.
When to use Image Compressor
Uploads that refuse files over a fixed size
Exam forms, job portals, visa and government applications often cap photos at a number such as 20 KB or 100 KB. Type that number and the tool searches for the best quality that still fits.
Getting product photos under a marketplace limit
Listing sites may reject images above a per-image size. Compressing to a target keeps the pixel dimensions where it can, so the picture stays as large as the listing needs.
Emailing a batch of photos
Several photos that are each too large to attach can be compressed together to the same target, and each gets its own download button.
Making a signature or ID photo small enough
Small-size forms are the classic case for a 20 KB or 50 KB target, which a normal phone photo exceeds by a wide margin.
Speeding up a page that uses big pictures
Photos straight off a camera are far larger than a web page needs. Compress them to a modest target before you upload them.
The settings, explained
Image Compressor works by re-encoding the picture as a JPEG on a canvas inside the page. There are two ways to tell it what you want:
- Target file size
- The default. Choose a preset of 20, 50, 100, 200 or 500 KB, or type your own number. The tool searches for the highest JPEG quality that still produces a file at or under the target, so you keep as much detail as the limit allows. In this tool 1 KB means 1,000 bytes, which is the stricter convention portals use, so a file that passes here passes either.
- Quality mode
- Switch to this if you would rather set the quality yourself, from 1 to 100, and see what size you get. It is useful when a portal has no size limit and you simply want something lighter.
- Dimensions
- Pixel dimensions are kept whenever the target can be reached at 40% JPEG quality or better. If it cannot, for a very detailed photo against a very small target, the picture is made smaller until it fits at that quality - a smaller sharp image beats a full-size smeared one - and the result row gives the new size.
- Batches
- Select several images at once and each is compressed to the same target. The whole batch counts as one run against the daily allowance.
What it cannot do
- The output is always JPEG, because that is what makes a predictable size target possible. A PNG logo or screenshot comes back as a JPEG, and text edges can look softer.
- Transparency is flattened onto white, because JPEG has no alpha channel. A logo with a transparent background will get a white one.
- Compression is lossy. A small target discards a lot of detail, so keep your original, and do not compress a result a second time.
- It gets as close as it can without going over, so the result is at or under your number rather than exactly on it. The free allowance is 5 runs per day for this tool, counted in your browser.
How it compares with the alternatives
Image editors such as Photoshop, GIMP or Squoosh give you control over formats, chroma subsampling and resizing together, and can produce smaller files at the same visual quality than a simple quality search. If you are optimising pictures for a website at scale, use one of those.
Image Compressor is built for the other job: hitting a specific number of kilobytes quickly, for a form, an upload or an attachment, without installing software or sending the photo to anyone. The compression happens in your browser tab, and the original never leaves your device.
How in-browser processing works, and exactly which tools are the exception, is explained on the why client-side page.
Getting a better result
Start from the largest original
Compressing a copy that was already compressed stacks the losses. Always begin from the best version you have.
Resize first if the target is tiny
To fit a very small limit, shrink the pixel dimensions with Image Resizer first, then compress. The quality search then has less to give up.
Check the result at full size
Look at faces, text and edges before you submit. The result row shows the quality used.
Keep the original
You may need a larger copy for another form tomorrow.
More questions about Image Compressor
Will it hit exactly 50 KB?
It will be at or just under 50 KB, using the highest quality that fits. It will not be padded up to the number.
Why is my PNG now a JPEG?
The tool always outputs JPEG so that a size target is achievable. Keep the PNG original if you need lossless.
Does it change the image dimensions?
Not unless it has to. Dimensions are kept whenever the target is reachable at 40% JPEG quality or better; if it is not, the image is scaled down and the result tells you the new size.
Can I use the same settings for many photos?
Yes. Select all the images at once; each gets its own result row and download, and the batch is one run.
Related tools
- Image Resizer - reduce the pixel dimensions before compressing
- Image Converter - change the file format
- Compress PDF - the same idea for a scanned document
- Image to PDF - put the compressed photos into a single PDF
Step-by-step walkthrough: read the full guide.
An ecommerce virtual assistant handles image preparation, listing uploads, catalogue updates and order admin for Shopify and Amazon stores, reliably and at volume. The free tool above stays free.
Frequently asked questions
Is my photo uploaded anywhere?
No. The compression is a canvas re-encode inside this page. No image is sent to this site or to anyone else.
Will it hit the exact size I ask for?
It gets as close as it can without going over. The tool searches for the highest quality that still fits your target, so the result is at or under the number you set, not exactly on it.
Does it change the pixel dimensions?
Not unless it has to. Dimensions are kept whenever the target is reachable at 40% JPEG quality or better; if it is not, the image is scaled down and the result tells you the new size.
Can I compress several images at once?
Yes. Select multiple files and each one is compressed to the same target, with its own download button. The batch counts as a single run against the daily limit.
Is the compression lossless?
No. JPEG discards detail to save space, and a small target discards a lot of it. Keep your originals.