Home › Image Tools › Compress Image to 20KB

Compress Image to 20KB

Last updated:

Reduce a photo to under 20KB for online forms, exam applications, ID uploads and profile pictures. The tool automatically finds the best quality and size that fits.

Target size (maximum)
KB
Advertisement
Advertisement

How to compress an image to 20KB

  1. Add your photo. Drop a JPG, PNG or WebP image into the box, or click to choose one. You can add several images at once.
  2. Keep 20 KB selected or choose another target such as 10 KB, 30 KB, 50 KB or a custom size.
  3. Wait a second. The tool tries different quality levels and, only if needed, smaller dimensions until the file fits under the target.
  4. Download. Check the before and after sizes and download your compressed image.

How the 20KB compression works

The tool first searches for the highest JPEG or WebP quality that keeps the file under your limit. If the photo is still too large at a low quality, it gently reduces the width and height and searches again. This keeps the image as sharp as possible for the size. The result is always at or below the target. Sizes use 1 KB = 1024 bytes, which is how most upload forms and operating systems count, so 20 KB means 20,480 bytes or less.

Tips for small file sizes

  • Crop away empty background first with the Image Cropper. Fewer pixels means better quality at 20 KB.
  • Passport photos and signatures look best at around 200 to 400 pixels wide.
  • For a signature on white paper, tick "black & white" for crisp lines at very small sizes.
  • WebP gives about 25% smaller files, but some government and exam portals only accept JPG.

Frequently asked questions

How can I reduce my photo size to 20KB?

Upload the photo above with the 20 KB target selected. The tool compresses it automatically, and you can download the result as a JPG under 20 KB.

Will my image lose quality?

Some quality loss is unavoidable at 20 KB, but the tool always keeps the highest quality and largest size that fit, so faces and text stay as clear as possible.

Can I compress PNG to 20KB?

Yes. PNG images are converted to JPG or WebP, which are far smaller for photos. Transparent areas are filled with white.

Are my photos uploaded?

No. Compression happens in your browser, so your photos never leave your device.

Can I compress to 10KB, 50KB or 100KB?

Yes. Choose a preset or type any custom target in KB.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Image CompressorShrink images to a target size like 100 KB.Image ResizerResize images to any size without losing quality.Image CropperCrop images, including circle crops for profile pictures.PNG to JPGBatch convert PNG images to JPG with a background color.Compress JPEG to 50KBShrink photos to under 50KB for forms, passports and exams.Logo MakerDesign a text logo with fonts, icons and colors, then save SVG or PNG.RGB to HEXConvert RGB to HEX with sliders, live swatch and one-click copy.Certificate MakerDesign certificates from templates and export one or many as PDF.Compress Image to 100KBShrink any photo to under 100KB automatically, with the best quality that fits.Rotate & Flip ImageRotate images by any angle or mirror them, one or many at once.Collage MakerCombine photos into a grid collage.Aspect Ratio CalculatorCalculate image sizes for 16:9, 4:3 and any ratio.Image Border AdderAdd a border, rounded corners, matte and shadow to a photo onlineImage SplitterSplit an image into a rows × columns grid of tiles and download them one by one or as a ZIP.Image CombinerCombine images side by side, stacked or in a grid, with spacing, background color and alignment.Image UpscalerEnlarge images 2×, 3× or 4× with Lanczos-3 or bicubic resampling and optional sharpening.Image DPI ChangerChange the DPI of JPG and PNG images without re-encoding, and see the print size.Pixel Art MakerDraw pixel art on an 8 to 64 px grid with palettes, fill and mirror, then export PNG or SVG.Social Media Image ResizerResize photos for Instagram, Facebook, X, LinkedIn, YouTube, TikTok and Pinterest in one go.Image Diff CheckerCompare two images and highlight every changed pixel, with % difference and a swipe slider.Emoji to ImageTurn any emoji into a PNG image from 64 to 1024 px, transparent or on a color, in batch.Text to ImageTurn text into a PNG image with your font, size, colors, padding, alignment and wrapping.SVG OptimizerMinify SVG files: strip metadata, comments and editor junk, round numbers, compare sizes.Compress Image to 200KBShrink any photo to under 200KB automatically, with the best quality that fits.Crop GIFCrop an animated GIF with a draggable box or aspect ratio presets, keeping every frame.Crop Image into ShapeCrop a photo into a heart, star, hexagon, circle, speech bubble or custom SVG shape as a PNG.Drawing Grid MakerPut a numbered grid on a reference photo to copy it by hand. Print it or save as PNG or PDF.Resize GIFResize an animated GIF by width, height or percent, skip frames and compare file sizes.Square Image Maker (No Crop)Make any photo square, 4:5 or 9:16 without cropping, with a color, blur or gradient fill.Text Behind ImagePut text behind the subject of a photo: AI cut-out, fonts, colors, rotation and PNG export.
See all 49 Resize, Crop & Compress →

What fits in 20 KB

20 KB is 20,480 bytes, or 163,840 bits. How sharp your photo looks depends on how many pixels have to share that budget. A typical phone photo of 4000 × 3000 pixels has 12 million pixels, far too many for 20 KB, which is why the tool reduces the dimensions when quality alone is not enough.

DimensionsPixelsBits per pixel at 20 KBWhat to expect
200 × 20040,0004.1Very clean, room to spare
300 × 30090,0001.8Sharp for faces and signatures
400 × 400160,0001.0Good for most photos
800 × 600480,0000.34Softer, visible blocks in busy areas
1200 × 9001,080,0000.15Heavy compression, smeared detail

As a rough guide, JPG photos look good at about 1 bit per pixel and start to look blocky well below that. If a form asks for a small file but does not set exact dimensions, a width of 300 to 400 pixels is usually the sweet spot.

Why an upload form may still reject your file

Getting a clear signature or ID photo at a tiny size

For a signature, sign with a dark pen on plain white paper, photograph it in daylight without shadows, and crop tightly around the ink with the Image Cropper. Ticking black & white removes paper tint and noise, which are what waste bytes on a signature.

For a passport-style photo, use a plain, light background and even lighting. Grainy photos taken in dim rooms compress badly, because the encoder spends bytes on random noise instead of your face. Crop to the head and shoulders before compressing so the available pixels go to the part that matters.

More questions about Compress Image to 20KB

Why does the website say my 20 KB file is too large?

The site may count 1 KB as 1,000 bytes, so its 20 KB limit is 20,000 bytes. Set a custom target of 19 KB and upload the new file.

Why did the width and height of my photo change?

When the lowest acceptable quality still is not enough, the tool shrinks the dimensions until the file fits. You can also pick a maximum width yourself to control the final size.

Is it better to compress the original photo or an already compressed copy?

Start from the original whenever you can. Each new JPG compression throws away more detail, so compressing a copy that was already squeezed gives a worse result.

How can I keep more detail at 20 KB?

Crop away background, choose a smaller width such as 400 or 300 pixels, and use a photo with good light and a plain background. Fewer pixels and less noise leave more bytes for the subject.

Why do the sky or background look blocky after compression?

Smooth gradients are where JPG compression shows first, as visible squares or bands. Choosing a smaller width gives each pixel more of the byte budget and usually removes the blocks.