
To compress an image to 150KB, open Dokurapi's free Compress Image tool, choose one photo, type 150 in the Custom target (KB) box, leave Pixel size on Shrink if needed, press Compress photo, and read the Output figure before you press Download result. The tool aims 6% below the number you type, so a 150 KB target means a JPG of at most 141,000 bytes. The photo never leaves your device; the work happens inside the browser tab. In our test a 5.00 MB phone photo came out at 99,949 bytes, still 2400 x 1800 pixels, in under half a second.
150 KB sits between the two presets the tool offers, 100 KB and 200 KB, and it shows up on job portals, school registration forms and membership sites that want a clear photo without a heavy file. Compared with tight limits such as 30 KB or 50 KB it is generous: none of our five test images had to drop below 1,300 pixels on the long side. The interesting cases are the exceptions. A photo of a printed page needed sixteen attempts, a small portrait was already under the limit, and switching the pixel setting to Keep original size made two large photos fail. This guide walks through the steps, the real numbers, and what to check before you upload. For nearby limits, see our guides to 100 KB, 200 KB and 300 KB.
Steps to compress an image to 150KB
You need no account and no app. The tool writes a new JPG and leaves your original file untouched.
- Check the current size. The file properties on a computer or the details view in your phone's file manager show it. If the JPG is already under 150 KB, upload it as it is.
- Open the Compress Image tool and choose one image. It accepts JPG, PNG and WebP. iPhone photos saved as HEIC need converting first; our HEIC to JPG guide explains how.
- Type 150 in the Custom target (KB) box. The Target size menu offers 100 KB, 200 KB, 500 KB, 1 MB and 2 MB. A number in the custom box always takes priority, so the menu can stay on 200 KB.
- Leave Pixel size on Shrink if needed. For most photos at 150 KB the pixels are never reduced, but the option gives the tool room when quality alone is not enough.
- Press Compress photo. On a laptop our slowest test took about two seconds.
- Read the result box, then download. It shows the original size, the output size, the final quality and the pixel size. Open the file and zoom in before you upload it.

Ready to try it? The tool is free and runs in your browser.
Open the Compress Image toolHow the tool reaches 150KB
The tool works in two stages. First it draws the image on a canvas with the longest side capped at 2,400 pixels and saves a JPG at the starting quality, 84% by default. If the file is above the safe line, it lowers quality by 10 points and tries again, up to seven more times, never below 18%. The quality value goes straight to the browser's own JPEG encoder, described in MDN's toBlob reference, so the exact bytes can differ slightly between browsers.
Only if quality 18% is still too big does the second stage start. The tool shrinks width and height by a factor based on how far the file is from the target, then tries quality 72%, 58%, 45% and 32% at the new size and keeps the smallest file. It repeats with a smaller size until the file fits, and never goes below 640 pixels on the long side.
The safe line is 150 x 1,000 x 0.94 = 141,000 bytes. The tool counts 1 KB as 1,000 bytes, the decimal convention described by NIST's page on binary prefixes. A portal that counts 1 KB as 1,024 bytes allows 153,600 bytes for 150 KB, so a result under 141,000 bytes passes either way. The 6% margin also absorbs the small differences between browsers.
What the tool returned for five test images
We tested five synthetic images that stand in for what people usually upload: a 5.00 MB phone photo (4000 x 3000), a 5.27 MB photo of a printed page (3000 x 4000), a 682 KB cropped scan of the same page, a 140 KB small portrait (480 x 640) and a 278 KB signature scan (1600 x 600). None contain personal data. Each ran through the live tool code with the target set to 150, in English and Indonesian; the byte counts were identical.
| Test image | Original | Result | Quality and pixels | Attempts |
|---|---|---|---|---|
| Phone photo | 5.00 MB | 99,949 bytes | 24%, 2400 x 1800 | 7 |
| Document photo | 5.27 MB | 126,980 bytes | 32%, 1301 x 1734 | 16 |
| Cropped document | 682 KB | 131,613 bytes | 34%, 1500 x 1000 | 6 |
| Small portrait | 139,852 bytes | already under the line | original kept | 1 |
| Signature scan | 278 KB | 101,407 bytes | 74%, 1600 x 600 | 2 |
Three patterns stand out. Smooth photos are easy: the phone photo fitted at full 2,400 pixel width just by lowering quality. Text is hard: the photo of a printed page needed the second stage, because fine black strokes on white paper produce many edges, and edges cost bytes in JPEG. Signatures are the opposite: mostly white paper with a few strokes, so the file fitted at quality 74%, where the ink still looks crisp.
Sixteen attempts on a photo of a printed page
The document photo is the one to watch, because it shows how the tool behaves when quality alone is not enough. At the capped size of 1,800 x 2,400 pixels, the first attempt at quality 84% weighed 1,150,666 bytes. Seven more quality steps brought it down to 169,866 bytes at 18%, still 28,866 bytes over the line.
The tool then shrank the page to 1,530 pixels wide and started again at quality 72%. That round ended at 225,932 bytes, so it shrank again to 1,301 x 1,734 pixels, where quality 32% produced 126,980 bytes. The whole search took about two seconds. The result is softer than the original but the printed lines remain readable, which is what a form reviewer needs. If you want sharper text, crop away the table, the shadow and the background first. Our guide to cropping a photo shows how, and the cropped scan in our test fitted at 1,500 pixels and quality 34% without any shrinking.
What happens with Keep original size
The Pixel size menu has a second option, Keep original size. It stops the tool from changing the pixel dimensions, so only JPEG quality goes down. That helps when a form requires exact pixels, for example 400 x 600, but it is risky with full size phone photos. We ran three images with Keep original size and the same 150 KB target.
- Phone photo: stayed at 4000 x 3000 pixels and stopped at 285,869 bytes at quality 18%, almost double the limit. The tool says the target was not reached.
- Document photo: stayed at 3000 x 4000 pixels and stopped at 476,899 bytes.
- Signature scan: fitted at 101,407 bytes, exactly as before, because it never needed shrinking.
So Keep original size is only safe when the image is already close to the size the form wants. If the form fixes the pixel dimensions, resize first with our resize photo guide, then compress with Keep original size.
When the image is already under 150KB
Our small portrait was 139,852 bytes, just under the 141,000 byte line. The tool noticed and said so: the original is already under the target, so it does not need compressing, and the JPG it made is only useful if the portal insists on JPG. That JPG was 104,481 bytes at quality 84%, smaller but not better looking. When the original fits, upload the original.

This check uses the same 6% margin, so an image between 141,000 and 150,000 bytes is still compressed. That is deliberate: some portals count kilobytes with 1,024 bytes, and some add a few bytes when they rename the file. A little room avoids a rejection at the last step. If a form also sets a minimum size, for example at least 50 KB, every result in our test stayed above 99 KB. The reverse problem, a file that is too small, is covered in our guide to increasing image size in KB.
Which setting to use for common forms
Most 150 KB requests come with one or two extra rules. The table matches them with the right setting.
| Form asks for | Pixel size setting | Extra step |
|---|---|---|
| Photo under 150 KB, any pixels | Shrink if needed | None |
| Photo under 150 KB and exact pixels | Keep original size | Resize or crop to the exact pixels first |
| Scan of a document under 150 KB | Shrink if needed | Crop to the paper edges for sharper text |
| Signature under 150 KB | Shrink if needed | Crop close to the ink |
| JPG only, file is PNG or WebP | Shrink if needed | None, the output is always JPG |
| PDF under 150 KB | Not this tool | Use the PDF compressor with target 150 |
The last row matters because many forms say file when they mean PDF. Our article on compressing a PDF to 150KB covers that case. PNG screenshots and logos are another trap: the tool always saves JPG and fills transparent areas with white, which our PNG to JPG guide explains.
Check the file before you upload it
Before you press upload, confirm three things: the byte count in the result box is below the limit, the file type is what the form wants, and the image is still usable. Open the downloaded file at 100% zoom and look at the face, the text or the signature. At 150 KB that check usually passes, but photos of printed pages deserve a second look.
When you prepare several files for one application, compress them one at a time and rename each download straight away. The tool adds -dokurapi to the original name, so originals and compressed copies stay easy to tell apart. Our note on checking file size before upload explains how to read bytes, kilobytes and megabytes on Windows, Mac, Android and iPhone. If an image still refuses to fit, a file that is still too big lists the remaining options, and the general guide on how to compress an image covers other targets.
Frequently asked questions
How do I compress an image to 150KB for free?
What is the exact byte limit for 150KB?
Will my photo lose quality at 150KB?
Why did the tool reduce the pixel size of my image?
Can I keep the original pixel size?
My image is already under 150KB. Should I still compress it?
Is my image uploaded to a server?
Can I compress a PDF to 150KB with this tool?
Sources
Need help?Result not quite right, or unsure about a form rule? Ask Dokurapi support on WhatsApp. Please do not send personal documents in chat.
Chat on WhatsApp