
To compress an image to 10KB, open Dokurapi's free Compress Image tool, choose the image, type 10 in the Custom target (KB) box, leave Pixel size on Shrink if needed, press Compress photo, and read the status line before you download. The tool aims 6% under your number, so a 10 KB target means a JPG of at most 9,400 bytes. A signature scan in our test came out at 8,031 bytes and a phone photo at 8,881 bytes. Photos of printed text and small portraits did not fit at first: the tool stops shrinking at 640 pixels on the long side. Resizing those to about 300 x 400 pixels before compressing brought them under the line.
Limits of 10 KB usually appear for signatures, thumbnails and small ID photos on older registration systems. At this size there is no room for detail: a full size phone photo is about 500 times bigger, so the tool must cut both quality and pixels hard. The good news is that the tool tells you honestly when it cannot reach the target, instead of handing you a file that a portal will reject. This guide covers the steps, real results from five test images, the 640 pixel floor that stops some images, the pre-shrinking workaround, and how to judge whether the result is still usable. If your form allows more, our guides to 20 KB, 30 KB and 50 KB give noticeably better quality.
Steps to compress an image to 10KB
You need no account and no app. The tool writes a new JPG and leaves the original untouched.
- Crop first. Every pixel you remove before compressing leaves more bytes for the part that matters. Crop signatures close to the ink and portraits to the head and shoulders. Our crop photo guide shows how on a phone or computer.
- Open the Compress Image tool and choose one image. It accepts JPG, PNG and WebP.
- Type 10 in the Custom target (KB) box. The preset menu starts at 100 KB, so 10 always needs the custom box.
- Keep Pixel size on Shrink if needed. At 10 KB almost every image needs fewer pixels.
- Press Compress photo and read the status line. Safe target reached means the file is under 9,400 bytes. The image was reduced, but the target was not reached means it is still too big; see the workaround below.
- Open the file and zoom in. Check that the signature, the face or the heading can still be recognised.

Ready to try it? The tool is free and runs in your browser.
Open the Compress Image toolHow the tool tries to reach 10KB
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 of 84%. If the file is above the safe line it lowers quality by 10 points, up to seven more times, never below 18%. The quality value goes straight to the browser's JPEG encoder, as described in MDN's toBlob reference.
At 10 KB the first stage never succeeds for a normal photo, so the second stage takes over. The tool shrinks the width and height step by step, tries quality 72%, 58%, 45% and 32% at each new size, and keeps the smallest file. Here is the important limit: it never goes below 640 pixels on the long side. Once an image reaches 640 pixels and is still too big, the tool stops and reports that the target was not reached.
The safe line is 10 x 1,000 x 0.94 = 9,400 bytes. The tool counts 1 KB as 1,000 bytes, following the decimal convention explained by NIST's page on binary prefixes. A portal that counts 1 KB as 1,024 bytes allows 10,240 bytes, so a file under 9,400 bytes passes either way.
What the tool returned for five test images
We used five synthetic images with no personal data: 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 that page (1500 x 1000), a 140 KB small portrait (480 x 640) and a 278 KB signature scan (1600 x 600). Each ran through the same code as the live tool with the target set to 10, in English and Indonesian, with identical byte counts.
| Test image | Original | Result | Quality and pixels | Status |
|---|---|---|---|---|
| Phone photo | 5.00 MB | 8,881 bytes | 32%, 640 x 480 | Fits |
| Signature scan | 278 KB | 8,031 bytes | 45%, 751 x 282 | Fits |
| Small portrait | 140 KB | 11,291 bytes | 18%, 480 x 640 | Over by 1,891 bytes |
| Cropped document | 682 KB | 21,216 bytes | 32%, 640 x 426 | Over by 11,816 bytes |
| Document photo | 5.27 MB | 24,538 bytes | 32%, 480 x 640 | Over by 15,138 bytes |
The phone photo fitted because our synthetic photo has large smooth areas; the tool needed 24 attempts and finished at exactly 640 x 480 pixels. The signature needed 23 attempts but kept 751 pixels of width, because white paper costs almost nothing. The small portrait never entered the shrinking stage: at 480 x 640 it was already at the floor, so only quality could change, and quality 18% still left it 1,891 bytes over. The two document images failed by much more, because printed text is full of sharp edges.
Why the 640 pixel floor stops some images
The floor exists to protect you. Below about 640 pixels, a photo of a document or a face starts to lose the detail that makes it useful, and many forms reject images that small for anything other than a signature. So when the tool reaches 640 pixels and the file is still above 9,400 bytes, it does not keep going blindly. It gives you the smallest file it made and a clear message that the target was not reached.

When you see that message, do not upload the result to a 10 KB form; it will be rejected. You have three honest options. Check whether the form really means 10 KB or perhaps 100 KB, which is a common typo in instructions. Crop the image harder so less content remains. Or shrink the pixels yourself before using the tool, which is what the next section tests. Our note on a file that is still too big covers the same choices for other limits.
Shrink the pixels first, then compress
Because the floor only applies to the shrinking stage, an image that is already smaller than 640 pixels goes straight to quality reduction. We made smaller copies of the three images that failed, using an ordinary image editor, and ran them through the tool again with target 10.
The portrait at 300 x 400 pixels came out at 7,907 bytes and fitted. The full page photo needed the same 300 x 400 size; at 450 x 600 it still weighed 15,171 bytes, while at 300 x 400 it dropped to 7,914 bytes. The cropped document at 600 x 400 stayed at 14,651 bytes even at quality 18%. The lesson is simple: for 10 KB, think in terms of about 300 x 400 pixels for a portrait or a page, and accept that small text will be hard to read. Our resize photo guide explains how to set exact pixels on a phone or a computer, and the explainer on image DPI shows why a DPI number does not change file size.
How a 10KB image looks
A 10 KB file is small enough that you should always look at it before uploading. The picture below shows two of our results side by side at their real pixel size.

The signature looks almost unchanged, which is why 10 KB is a reasonable limit for signatures. The page shows the opposite: the heading survives, but the body text is close to unreadable. If a form asks for a scanned document under 10 KB, read the instructions again. It is more likely to mean a PDF of 100 KB or more, which our PDF to 100KB guide covers.
Which approach to use for common 10KB requests
| Form asks for | Approach | Expected result |
|---|---|---|
| Signature under 10 KB | Crop close to the ink, target 10, Shrink if needed | Fits easily; ours was 8,031 bytes |
| Small portrait under 10 KB | Resize to about 300 x 400 first, then target 10 | Fits; ours was 7,907 bytes |
| Thumbnail of a full photo | Target 10, Shrink if needed | Smooth photos may fit at 640 px |
| Readable document under 10 KB | Check the instructions again | Text is barely legible at this size |
| Between 10 KB and 20 KB allowed | Type 20 instead of 10 | Much sharper result |
When a form gives a range, such as 5 KB to 10 KB, the results above are safely inside it. If a file comes out below the minimum, our guide to increasing image size in KB explains the reverse direction.
Check the file before you upload it
Before uploading, confirm that the status line says the safe target was reached, that the byte count is under the form's limit, and that the image is still recognisable. Our guide on checking file size before upload shows how to read exact bytes on Windows, Mac, Android and iPhone, which matters when you are this close to a limit. Rename each download right away; the tool adds -dokurapi to the original name. For a broader overview of targets and settings, see how to compress an image.
Frequently asked questions
How do I compress an image to 10KB for free?
What is the exact byte limit for 10KB?
Why does the tool say the target was not reached?
How can I make an image fit 10KB when the tool cannot?
Can a signature be compressed to 10KB?
Is a document still readable at 10KB?
Is my image uploaded to a server?
Which is better for small files, 10KB or 20KB?
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