A detailed photo and its 20KB version, which looks the same, with both file sizes shown.
Compress Image to 20KB — image compressor to reduce photo file size to a target KB — Processed output
Compress Image to 20KB — image compressor to reduce photo file size to a target KB — Source
Image Optimization

Compress Image to 20KB

Target loaded automatically

Reduce any JPG, PNG or WebP photo to 20KB online for free. The compressor automatically searches for the highest quality that gets closest to 20 kilobytes, so your image stays as sharp as possible for the 20KB upload limit. Files are processed on secure servers and auto-deleted afterwards.

  • Forms and portals capped at 20KB
  • Email or message attachments near a 20KB limit
  • Smaller web images with a measured size result

Drop an image — set your target KB and get a smaller file that still looks sharp

Compressing a form photo or signature to under 20 KB

Online applications that limit a photo or signature to 20 KB may also state pixel dimensions, and the order matters: set the pixels first, then compress. A photo already sized to the form's dimensions reaches 20 KB at a much higher quality than a full-size phone photo that the compressor has to shrink on its own.

This page is set to 20 KB with JPG output, which upload forms widely accept. The compressor tries quality levels until the file fits, and when quality alone cannot get there, it narrows the image by 20% per step. That automatic shrinking keeps the proportions but ignores any size the form requires, so resize to the exact pixels the form names before compressing whenever it lists them.

For a face photo, check that the eyes and hairline are still clear and that the background has not turned blotchy; a plain, evenly lit backdrop compresses far better than a patterned wall. Collecting photos from several applicants at the same limit? Premium batch mode applies the 20 KB target to every file and returns one ZIP. Because the tool's kilobyte is 1,024 bytes, a strict form that counts 1,000 bytes per KB may need a target of 19.

Image compressor to 20KB: crop, resize, then compress a photo to 20 KB

Use this photo compressor to 20KB to bring a photo, scan or signature toward 20 KB and save it as a JPG. Twenty kilobytes holds very little, so the order of the work matters more than any setting: cut away what the form does not need, set the pixel size, and only then compress. You can upload a JPG, PNG, WebP or iPhone HEIC file, run it once, and read the new size on the result screen before the file goes anywhere.

Compress image to 20KB online in five steps

To compress photo to 20KB without wasting bytes, remember that every pixel you remove beforehand leaves more bytes for the pixels that stay. A face cropped tight and sized to roughly 300 to 400 pixels across keeps its detail at 20 KB, while the same picture left at camera size has to be pushed to the lowest quality and comes out blocky.

  1. Crop the photo so the face, document or signature fills the frame.
  2. Set the width and height the form asks for, or about 300 to 400 pixels across if it gives none.
  3. Upload the resized file here, where Target file size (KB) already reads 20.
  4. Select See result and read the compressed size next to the original.
  5. Download the JPG, or choose Edit again to change the number and run it from the same upload.

Why a large photo can still end above 20 KB

A 20KB photo compressor lowers quality first. When that is not enough, it narrows the picture by 20% and tries again, up to six times, which leaves about a quarter of the original width at the end. A very large photo can run out of steps before it fits. You then get the smallest version it could make, which can still be over 20 KB. The saved file can also be larger than the size the search reached, so the number on the result screen is the one to trust. The fix is fewer pixels at the start, not a second pass over the result.

Convert image to JPG 20KB from a PNG, WebP or HEIC picture

As a 20 KB JPG converter, this page changes the file type and the file size in one run. Upload a PNG screenshot, a WebP picture saved from a website or an iPhone photo in HEIC, and the file you download is a JPG. JPEG cannot be transparent, so transparent areas turn white. Leave Output Format on JPEG when the form says JPG or JPEG, because choosing WebP or PNG would change the file type.

20KB photo size means weight in kilobytes, not pixels

A 20 KB photo size is how much the file weighs. It says nothing about how many pixels wide the picture is, so two photos of 20KB can have quite different dimensions. A 2 MB phone photo is roughly a hundred times heavier than 20 KB, which is why a form photo has to be cropped and resized before it fits. The Info tab lists your upload's width, height and size, so you can see how far it has to come down.

10 KB to 20 KB photo size and other nearby limits

A range such as 10 KB to 20 KB, or a 5 KB to 20 KB photo size, is handled by keeping the target at 20, because the target is a ceiling, and then checking the result screen against the lower number. If the form allows a little more, the 30 KB version leaves more room for detail. If it allows less, the 10 KB version is preset for even smaller files.

Compress a signature to 20KB and keep the strokes readable

A signature is a few thin strokes on plain paper, so it needs far fewer pixels than a face. Sign in dark ink on white paper, photograph or scan it straight on, cut the picture down to the signature with the crop step above, then size it to a few hundred pixels across before you compress. At 20 KB the pen lines should stay clean. If they look broken at full size, the file still holds more pixels than the budget can carry.

Before you upload the file

  • Open the JPG at full size and look at the eyes, the hairline and any printed text.
  • Check the width and height in your file manager when the form names a size, because the compressor can narrow a picture.
  • Keep the original, so you can run it again with a different number or fewer pixels.
  • Compress image to 20 KB from the original file, not from a copy that was already compressed once.
  • Compare the size on the result screen with the limit on the form, not with the number you typed.
Image OptimizationPreset loaded automatically

Set up for Compress Image to 20KB

Explore Image Optimization

Prepared settings

Starting point
One JPG, PNG, WebP, or GIF image
Upload is the only required setup step; the page opens with the target already active.
Prepared target
20KB file-size goal
The compressor searches for the highest usable quality that gets closest to the 20KB goal.
Output setup
JPEG selected for size efficiency
The quality slider is locked while the target is active (clear the target to use it), and another supported output format can still be chosen before processing.
Review rule
Confirm the result is at or below 20KB
The preview shows quality only; check the size on the result screen, and the dimensions, before using the file in a strict upload form.

Best-fit uses

  • Forms and portals capped at 20KB
  • Email or message attachments near a 20KB limit
  • Smaller web images with a measured size result

Frequently asked questions

How do I compress an image to 20KB?
Upload your photo and the tool works toward 20KB by lowering quality just enough to fit. The quality slider is locked while a target is set (clear the target to use it), and the size appears on the result screen, so check that it is under 20KB.
Will compressing to 20KB reduce quality?
We keep the highest quality that still fits 20KB. For typical photos 20KB keeps good detail; very large originals may soften slightly, which is expected at this size.
What formats can I compress to 20KB?
JPG, PNG, WebP and GIF inputs are supported. JPEG output usually reaches 20KB with the best quality-to-size balance.
Is the 20KB compressor free and private?
Yes. It is free to use, and uploads are processed on secure servers and auto-deleted after processing.
How do I resize an image to 20 KB?
To resize image to 20KB here, make the file lighter: the Target file size (KB) field does that and is already set to 20. Width and height are a separate setting. When a form names both, set the pixels first with Image Resizer, then run the 20 KB compression.
How many pixels is a 20 KB photo?
There is no fixed pixel size, because the file size depends on the picture as well as on its width and height. A plain background and a simple face fit more pixels into 20 KB than a busy scene does. Start a portrait at roughly 300 to 400 pixels across and read the size on the result screen.
What if the form wants a photo between 10 KB and 20 KB?
Keep the target at 20 and check the result screen against 10. A large photo is squeezed close to the target, while a small or plain picture can come out lower than 10 KB. If that happens, start again from a larger original, or from more pixels, and run it a second time.
Why does my 20 KB photo look blocky?
Blocks appear when many pixels share very few bytes, which pushes quality to its lowest level. Crop away empty margins, bring the width down, and compress again from the original. A photo with fewer pixels keeps more detail at 20 KB than the same photo squeezed down from full size.
Can I compress a photo to 20 KB on my phone?
Yes. Open this page in your phone's browser, choose the photo from your gallery and select See result. The target is already set to 20 KB. Check the size on the result screen, then download the JPG. An iPhone HEIC photo can be uploaded as it is.
How do I compress JPEG to 20KB without changing the file type?
To compress JPG to 20KB, upload the JPEG, leave Output Format on JPEG and keep Target file size (KB) at 20. The page lowers quality until the file fits, so a JPG goes in and a JPG comes out, aimed at 20 KB and with the same proportions.
Can I reduce image size to 20KB without losing quality?
Some quality is lost, because 20 KB cannot hold the detail of a multi-megabyte photo. You keep the most by sending fewer pixels: crop away what the form does not need and set the width first, then compress. The compressor then keeps the highest quality that fits, which looks far better than squeezing a full-size photo.
How do I make a photo under 20KB when the limit is strict?
Keep the target at 20 and read the size on the result screen. This page counts 1 KB as 1,024 bytes, so 20 KB allows up to 20,480 bytes. A form that counts 1,000 bytes per KB allows 20,000, so enter 19 in Target file size (KB) if a file at the limit is refused.
Can I compress an image to 20KB and keep exact dimensions?
Usually, if you set the pixels first and compress last. Resize to the width and height the form names with Image Resizer, then compress here. A small photo keeps its size, because quality is lowered before the picture is narrowed. One that is still too heavy at the lowest quality is narrowed in 20% steps, so check the saved file's width and height.
Can this file compressor to 20KB shrink a PDF or Word file?
It compresses pictures such as JPG, PNG, WebP and HEIC files, not documents. For a PDF, use Compress PDF, which offers levels such as Screen and E-book rather than an exact KB number. To turn a photo into a PDF first, use Image to PDF.
What is the size of a 20KB photo in MB?
About 0.02 MB. Here 1 MB is 1,024 KB, so 20 KB is roughly 0.0195 MB, and a 2 MB phone photo is about a hundred times heavier. When a limit is written in MB, multiply it by 1,024 and type the KB figure into Target file size (KB).
Can I crop an image to 20KB?
Cropping and compressing are two separate steps. Crop sets the frame, such as a face or a signature, and removes pixels the form does not need, which makes the file lighter. The compressor then brings the cropped file toward 20 KB. Crop first, because fewer pixels leave more bytes for each one that remains.
How do I make a JPG 20 KB or smaller from a photo?
Upload the photo, check that Output Format shows JPEG, and select See result. A PNG, WebP or HEIC picture is converted in the same run, so the file you download ends in .jpg whatever type you started with. Its size appears beside the original on the result screen; choose Edit again to try a different number from the same upload.

What you can do with Image Compressor

Review the main capabilities before you begin.

  • Compress JPG, PNG and WebP toward a target KB size
  • Aim for a target like 20KB, 50KB or 100KB
  • Compare the quality before you download
  • Meet upload limits for forms and portals
  • Speed up your website with lighter images
  • Bulk-compress many photos at once

Settings reference

Available controls for Image Compressor.

Mode

Single image / BatchPresets
Switches between compressing one photo with a live preview and queueing many images to compress with the same settings and download together as a ZIP; batch mode is a Premium feature.Options: Single imageBatch

Quality

Target file size (KB)Number input
Optional size budget in kilobytes (minimum 1, e.g. 100) that, when set, adjusts quality automatically — reducing dimensions if needed — to fit the budget and disables the quality slider.
QualitySliderRange: 10–100% · Default: 30%
Controls how strongly the image is compressed — drag toward 10% for a smaller file or toward 100% for better quality — and is ignored while a target file size is active.
Quick PresetsPresets
One-tap starting points that jump the quality slider to a named level, from High Compression at 30% to High Quality at 90%, so you can pick by name and fine-tune afterwards.Options: High Compression (30%)Medium (50%)Balanced (70%)High Quality (90%)

Format

Output FormatDropdown
Chooses the saved file type — JPEG suits photos, WebP gives the smallest files, PNG keeps transparency, GIF keeps animation — defaulting to JPEG, or GIF when a GIF is uploaded.Options: JPEG (Best for photos)WebP (Smallest size)PNG (Transparency support)GIF (Animation support)

Compress to a specific size

Free to use · No signup required · Without watermarkUploads are encrypted in transitRemoved under our retention policy

How Image Compressor helps you get it done

Real problems it solves every day — for businesses, creators, and everyday tasks. Find the use case that fits you and start.

Web & SEO

WordPress & Website Speed Optimization

Reduce image file sizes from MB to KB for faster WordPress sites, better Google rankings, and improved Core Web Vitals scores

For Business

Email Attachments & WhatsApp Sharing

Compress photos under email limits (25MB), reduce WhatsApp file sizes, and share images quickly without quality loss

Social Media

Social Media Uploads

Optimize images for social media platforms with size restrictions and faster uploads for better engagement for businesses. Useful for Instagram, Facebook, LinkedIn, Twitter, and YouTube content. Supports all major formats for consistent quality across platforms.

For Business

E-commerce Optimization

Cut the product images that are making your store slow, without the shots looking degraded

For Business

Storage Management

Reduce image file sizes to save storage space on devices and cloud storage for businesses.. Supports JPG, PNG, WEBP, GIF, SVG formats for comprehensive storage optimization.

On Mobile

Mobile Performance

Compress images for mobile websites and apps to improve loading times and user experience for businesses. Reduces data usage for mobile visitors while maintaining visual quality.

Web & SEO

Content Marketing

Optimize images for blogs, articles, and content marketing platforms to improve page load times and reader experience for businesses. Supports SEO efforts with faster loading content that ranks higher in search results and keeps readers engaged longer.

For Business

Digital Advertising

Compress images for digital advertising campaigns to meet platform requirements and reduce costs for businesses. Useful for Google Ads, Facebook Ads, and other paid marketing channels. Maintains visual impact while staying within file size limits for better ad performance.

Social Media

WhatsApp & Telegram File Sharing

Reduce photo file sizes to share quickly on WhatsApp, Telegram, and messaging apps without hitting file size limits

For Business

PDF & Document Creation

Compress images before adding to PDFs, PowerPoint presentations, and Word documents to reduce overall file size

Official Documents

Aim for KB Limits on Govt & Exam Portals

Type the size a government form, university admission, or exam portal demands, like 'photo under 50KB', into Target file size and let the server fit toward it, then check the size on the result screen, instead of guessing quality percentages until an upload finally goes through.

Real Estate

Batch-Ready MLS & Listing Photo Packs

Queue a whole property shoot in Batch mode, compress every photo with one shared quality setting, and download a single ZIP sized to fit MLS or listing-site upload caps without touching each image individually.

Career & HR

Resume & Job-Application Photo Sizing

Compress a professional headshot toward the KB limit a job portal or LinkedIn upload allows using Target file size, keeping the photo sharp, then check the size on the result screen before you upload.

Education

Course & LMS Assignment Upload Limits

When a school's learning-management system caps file uploads, enter that limit into Target file size so scanned homework or diagram photos compress to fit on the first try instead of bouncing back as 'file too large'.

Web & SEO

Batch-Optimize a Website's Entire Image Library for Core Web Vitals

Queue every image from a blog or product catalog in Batch mode, apply one shared quality setting or format, and download a single ZIP of web-ready files — a fast way to cut page weight and improve LCP scores across an entire site instead of compressing images one by one.

Watch each transformation land

Every photo crosses the slash untouched and comes out the other side finished.