By SizePort Editorial Team
You've completed an online application, uploaded your photograph, and clicked Submit. Instead of moving to the next page, the website displays an error: Image size must not exceed 20KB.
It's a frustrating problem, particularly when the photograph looks perfectly fine on your phone or computer. The issue isn't necessarily the picture itself. It's the amount of data stored in the file.
Modern smartphones can produce photographs several megabytes in size. That's useful when you want to print a picture or preserve fine details, but it's far more than some examination, recruitment, and government application portals will accept.
Fortunately, reducing an image to 20KB doesn't require professional editing software. What matters is understanding how compression works, which settings make the biggest difference, and how to preserve the details that are important.
In this guide, we'll explain how to compress an image to 20KB online, why some photographs become blurry after compression, and what to do when your image still exceeds the upload limit.
Why Do Some Online Forms Require Images Under 20KB?
File-size restrictions are common on websites that handle large numbers of applications. Smaller files reduce storage requirements and the amount of data transferred during uploads.
However, there is no universal 20KB requirement for official photographs.
Different application systems impose different limits. Some examination portals specify small file-size ranges for signatures, while photographs may have higher limits. Government and recruitment portals can also require particular dimensions, formats, and aspect ratios.
This distinction matters because an image can be rejected for being too small as well as too large.
Before compressing your photograph, check four things:
The maximum permitted file size
Any minimum file-size requirement
The required width and height in pixels
The accepted image format, such as JPG, JPEG, or PNG
If a website specifies a file-size range of 20KB to 50KB, for example, a 15KB image would not meet the stated requirements.
Taking a moment to check these details can save you from repeatedly uploading different versions of the same photograph.
How to Reduce Image Size to 20KB Online
The simplest approach is to use an online image compressor designed for small file-size targets.
SizePort offers a dedicated Compress Image to 20KB tool that is configured for this requirement.
Rather than manually experimenting with compression percentages, you can use the preset target and review the result.
Step 1: Open the image compressor
Visit SizePort's 20KB compression tool in your web browser.

You can access it from a desktop computer, laptop, or supported mobile device.
Step 2: Upload your photograph
Choose the photograph you want to compress.
Start with the original file whenever possible. If you've already compressed the photograph several times, returning to the original can help avoid additional quality loss.
Step 3: Use the 20KB target
The dedicated tool is configured to produce a JPG below the 20KB limit.
According to SizePort's published documentation, the compressor first attempts to reduce JPEG quality while retaining the image's dimensions. If that isn't enough, it progressively reduces the width and height.
This approach can help balance the file-size target against the amount of visual detail retained.
Step 4: Check the compressed image
After processing, examine the result carefully.

Pay particular attention to facial features, text, and important edges. If the image looks excessively blurred or distorted, it may no longer be suitable for the intended application.
Step 5: Download and verify the file
Download the compressed JPG and check its file size before uploading it to the application portal.
Also confirm that the resulting dimensions and format match the portal's instructions.
Practical tip: Keep an untouched copy of your original photograph. If the compressed version doesn't look right, you can adjust the settings or prepare another version without repeatedly degrading the same file.
Ready to Reduce Your Image to 20KB?
Need a smaller photo for an online application? SizePort makes it easy to compress your image directly in your browser.
Compress Your Image to 20KB for Free →
Free online tool • No software installation required
What Happens When a 1MB Photograph Becomes 20KB?
The difference between a 1MB photograph and a 20KB image is substantial.
Reducing a file from approximately 1MB to 20KB means removing around 98% of its original storage requirement.
To achieve that reduction, a compressor needs to represent the image using much less information.
With JPEG compression, some visual information is discarded. At moderate compression levels, these changes may be difficult to notice. At more aggressive settings, fine textures may soften, edges may become less distinct, and block-like artifacts can appear.
Resizing works differently.
Instead of simply changing how efficiently image information is stored, resizing reduces the number of pixels in the picture.
For example, a photograph measuring 4000 × 3000 pixels contains 12 million pixels. Reducing it to 600 × 450 pixels leaves just 270,000 pixels.
That is a dramatic reduction in image information before compression is even considered.
For very small files, a combination of resizing and JPEG compression is often necessary.
A documented compression example from SizePort
SizePort publishes a before-and-after example in its 20KB compression documentation.
| Measurement | Original image | Compressed image |
|---|---|---|
| File format | JPG | JPG |
| Dimensions | 3974 × 5000 pixels | 477 × 600 pixels |
| File size | Approximately 1.2MB | 19.2KB |
| File-size reduction | — | Approximately 98.4% |
Source: SizePort's published 20KB image-compression example. The figures describe the documented sample, not a guarantee for every uploaded image.
The example illustrates an important point: achieving a very small file size can require a significant reduction in image dimensions.
The resulting photograph may still be useful for a small online application, but it won't retain the full detail of the original.
Whether that trade-off is acceptable depends on what the image will be used for.
Can You Really Reduce an Image to 20KB Without Losing Quality?
The phrase without losing quality is frequently used when discussing image compression. Technically, however, it's important to distinguish between preserving the appearance of a photograph and preserving every bit of its original data.
JPEG uses lossy compression. This means some image information is permanently discarded to make the file smaller.
At reasonable compression settings, the visual difference may be minor. But when a detailed photograph must fit into just 20KB, some degradation is often unavoidable.
Mozilla's Image File Type and Format Guide explains the differences between image formats, including lossy and lossless compression.
The technical distinction helps explain why some photographs compress more successfully than others.
A portrait against a plain background may remain recognizable at a small file size. A photograph of dense foliage, intricate patterns, or a document containing tiny text may not.
The practical goal should therefore be to preserve sufficient clarity for the intended purpose rather than expecting a pixel-perfect copy.
For a profile photograph, that might mean keeping facial features clear. For a scanned signature, it means preserving the shape and visibility of the writing.
Why Image Dimensions Matter More Than You Think
When people try to reduce image size, they often focus entirely on compression quality.
But image dimensions can have an even greater impact.
Consider a smartphone photograph measuring 4000 × 3000 pixels. It contains far more detail than most small application photographs require.
If the receiving website only needs a relatively small image, reducing unnecessary dimensions can make it easier to reach the target file size without relying entirely on aggressive JPEG compression.
SizePort provides an image resizer in pixels for preparing images at specific dimensions.
For example, if an application requires an image measuring 300 × 300 pixels, you can prepare those dimensions before applying compression.
However, resizing should never be arbitrary.
If the portal requires a minimum width or height, reducing the photograph below that limit could lead to rejection even when the file is under 20KB.
A useful rule: Meet the required pixel dimensions first, then work toward the file-size limit.
JPEG vs. PNG: Which Format Works Better for 20KB Images?
The format you choose can make a noticeable difference to the final file size.
JPEG is generally well suited to photographs because it can compress photographic information efficiently.
PNG uses lossless compression, which preserves the stored image information. This makes it useful for graphics, illustrations, screenshots, and images that need transparency.
However, a photographic PNG can be considerably larger than a comparable JPEG.
If your image is currently in PNG format and the receiving website accepts JPG, converting it may make reaching the 20KB target easier.
SizePort offers an online JPG converter for converting supported image formats.
That doesn't mean JPEG is always the right choice.
If a website specifically requires PNG, follow that requirement. Similarly, if your image contains fine text or transparency, the format may affect how well those details are preserved.
Choose the format based on both the image content and the receiving website's instructions.
Why Does an Image Become Blurry After Compression?
Blurriness is one of the most common problems people encounter when reducing photographs to extremely small file sizes.
It generally occurs when too much visual information has been removed.
A compressor may lower JPEG quality, reduce image dimensions, or apply both adjustments to reach the target.
The effects are especially noticeable around facial features, hair, text, and sharp edges.
If your compressed photograph looks blurry, consider the following adjustments.
Start again with the original image
Repeatedly saving an already compressed JPEG can introduce additional artifacts.
Using the original file gives you a better starting point.
Remove unnecessary surroundings
If the application permits cropping, removing excess background can reduce the amount of detail the compressor needs to preserve.
For official photographs, however, always follow the relevant authority's framing and background requirements.
Avoid reducing dimensions more than necessary
An image that's too small in pixels may appear blurry when enlarged.
Try to preserve the dimensions required by the receiving website.
Use a larger file-size limit when permitted
If an application accepts files up to 100KB, there's little reason to force the image down to 20KB.
In that situation, SizePort's 100KB image compressor may help retain more detail.
The best compression setting is the one that meets the requirements without unnecessarily sacrificing clarity.
What If Your Image Is Still Larger Than 20KB?
Sometimes, a photograph remains above the target even after compression.
This can happen when the original image is particularly detailed, has large dimensions, or contains visual information that doesn't compress efficiently.
Rather than repeatedly lowering the quality, examine the image itself.
Does it contain a large amount of unnecessary background? Are the dimensions higher than the application requires? Is the file stored as PNG when JPEG is permitted?
Addressing those questions can be more effective than applying increasingly aggressive compression.
If you're preparing a signature, for example, cropping unused white space may help. For a portrait, using the required dimensions and an appropriate file format may make a meaningful difference.
If the portal specifies a larger maximum file size, use that limit rather than an unnecessarily strict 20KB target.
How to Check Whether Your Image Is Really Under 20KB
Before uploading the compressed photograph, verify that the downloaded file meets the requirements.
On Windows, right-click the image, select Properties, and look at the file size.
On macOS, select the image in Finder and choose Get Info.
On smartphones, file managers generally provide an option to view file information.
It's also worth checking the dimensions and format.
An image can be under 20KB and still be rejected because it has the wrong width, height, or file extension.
Some websites also interpret file-size units differently. If a portal enforces a strict maximum, leaving a small margin below the limit can help.
Most importantly, make sure you're uploading the compressed file rather than the original photograph.
Frequently Asked Questions
Can I reduce a 2MB image to 20KB?
Yes, many 2MB photographs can be reduced to 20KB, although doing so may require substantial compression and resizing. The final quality depends on the original image's dimensions and visual complexity.
How can I compress an image to 20KB on my phone?
You can use SizePort's browser-based 20KB compressor on a supported mobile device. Select the photograph, process it, and download the resulting JPG without installing desktop editing software.
Is 20KB enough for a passport photograph?
That depends on the issuing authority's requirements. Passport and visa photo systems may specify different file-size limits, dimensions, formats, and composition rules. Always consult the official instructions.
Why is my photograph blurry after compression?
The compressor may have reduced JPEG quality or image dimensions too aggressively. Starting with the original photograph and preserving the required dimensions can help.
Can I compress a PNG image to 20KB?
Often, yes. SizePort's dedicated 20KB compressor accepts PNG input and produces a JPG. Confirm that the receiving website accepts JPG before converting.
Does compressing an image change its dimensions?
Not necessarily. JPEG compression can reduce file size without changing pixel dimensions. However, resizing may be necessary when the target is as small as 20KB.
Why does a website reject my image even though it is under 20KB?
The website may also require particular dimensions, a specific file format, or a minimum file size. Check the complete upload instructions rather than focusing only on the maximum size.
Your Image Is Just a Few Clicks Away
Have a photo that's too large for an online form? Try SizePort's dedicated compressor and prepare a smaller JPG in your browser.
Try SizePort's Free 20KB Compressor
Final Thoughts
Reducing an image to 20KB is usually straightforward once you understand the relationship between dimensions, format, and compression quality.
The real challenge is producing a file that is small enough for the application while remaining clear enough to serve its purpose.
Start by checking the upload requirements. Keep the original photograph, choose the correct format, and avoid reducing dimensions more than necessary.
When a strict 20KB limit applies, SizePort's 20KB image compressor provides a convenient way to prepare the file directly in your browser.
And before submitting, take a final look at the result. A few seconds spent checking the image can save you from having to repeat the upload process.
Editorial Research & Sources
This guide was prepared using SizePort's published image-compression documentation and established technical references on digital image formats.
Research references
1. SizePort — Image Compression Documentation
The article references SizePort's published compression workflow and its documented example of reducing an approximately 1.2MB JPG to 19.2KB. These figures illustrate how resizing and compression can work together to meet a strict file-size target.
2. Mozilla Developer Network — Image File Type and Format Guide
Mozilla's technical documentation provides background on JPEG, PNG, lossy compression, lossless compression, and the practical characteristics of different image formats.
Editorial note: Compression results depend on the original image, its dimensions, format, visual complexity, and output settings. The examples discussed in this article should not be interpreted as guaranteed results for every photograph.
Official photograph requirements vary by application and issuing authority. Readers should always verify the latest requirements published by the relevant organization.
About the SizePort Editorial Team
The SizePort Editorial Team creates practical guides to help people understand and manage digital images. Our content focuses on image compression, photo resizing, file formats, passport and ID photographs, and browser-based image editing.
We believe image editing should be accessible without requiring expensive software or advanced technical knowledge. Our articles explain the reasoning behind common image-editing tasks, explore the trade-offs between file size and visual quality, and provide straightforward instructions for everyday users.
Our editorial approach emphasizes technical accuracy, clear explanations, and reliable references. Where appropriate, we draw on established technical documentation and SizePort's published product specifications to explain how image-processing tools work.
Our goal is to help readers make informed decisions, whether they're preparing photographs for online applications, optimizing images for a website, or converting files between formats.
Published by: SizePort Editorial Team
Focus areas: Image Optimization, Digital Photography & Online Image Tools
Website: https://sizeport.com/
