Resize Image to 20KB Online

Compress a photo or a signature scan down to 20 KB in your browser. Every result shows its real byte size and pixel dimensions, and the tool says plainly when 20 KB is out of reach.

What Fits in 20 Kilobytes

20 KB is 20,480 bytes. A JPEG of an ordinary photograph costs somewhere between a quarter and a half a byte for every pixel it stores, so 20 KB buys roughly 50,000 to 80,000 pixels in total - about 300 by 230. That is the honest arithmetic behind this page: a 12 megapixel phone photo cannot become a 20 KB file and stay 12 megapixels. Something has to go, and this tool gives up resolution rather than quality, because a small sharp picture is more useful than a full sized smeared one. Flat artwork behaves completely differently. A scanned signature is mostly white with a few thousand dark pixels, and JPEG spends almost nothing on flat areas, so a 600 by 200 signature commonly lands at 8 to 15 KB with no downscaling at all. The tool works by measuring rather than guessing. It encodes once, reads the exact byte count and pixel count of what came out, computes the bytes per pixel that this specific image actually costs, and solves for the pixel count that would fit the budget. That solved size drives the next attempt. Two or three rounds is normally enough. There are hard stops in both directions: quality never drops below about 0.54 on the JPEG scale, the long side never goes below 96 pixels, and no more than five encodes ever run. When those limits are hit before 20 KB is, the page says so and reports the smallest file it did produce. Camera metadata is stripped, because an EXIF block alone can eat several kilobytes of a 20 KB allowance. Everything runs on the canvas element in your own browser; no file is uploaded anywhere.

Why People Need Exactly 20KB

Almost nobody wants a 20 KB image for its own sake. They want it because a form refuses to accept anything larger. Government examination portals are the biggest single source of this: application systems for staff selection, banking, university entrance and civil service recruitment routinely cap the candidate photograph at 20 to 50 KB and the signature at 10 to 20 KB, and they reject the upload outright rather than compressing it for you. The same ceiling shows up on older municipal record systems, visa appointment sites, insurance claim portals and internal HR tools built a decade ago against a database column that was sized once and never revisited. These limits are almost never about bandwidth today. They exist because a field was defined long ago, thousands of records depend on it, and nobody is going to migrate a production database so an applicant can upload a nicer photo. That makes 20 KB a fixed obstacle rather than a preference, and it makes an honest answer more valuable than an optimistic one: if your document scan genuinely cannot fit, you need to know that now, not after the portal rejects it on the last day of the application window. It is also why this page reports the output resolution as prominently as the byte count - many of the same forms specify a pixel range alongside the size cap, and a file that clears 20 KB by becoming a 140 pixel thumbnail will fail the second check just as surely.

Clear the 20 KB caps on exam and recruitment portals
Fit signature and thumbprint scans into strict form limits
See the real output size before you upload anything
Know immediately when 20 KB is not achievable

How to Compress an Image to 20KB

Start from the highest quality copy you have. Compressing an image that has already been squeezed once gives a worse result at the same byte count, because the first pass has already thrown away the detail the second pass would have used.

1

Drop in your photo or signature scan. JPG, PNG, WebP and BMP are accepted; several files at once is fine

2

Leave the output format on JPEG. It is the only format that reliably reaches 20 KB for a photograph

3

Click Apply and read the result panel - it reports the exact byte size and the exact output dimensions for each file

4

If a file is marked as not reaching 20 KB, check the reason given, then either accept the closest result or crop the image tighter before trying again

Frequently Asked Questions

Because that is the only way a photograph reaches 20 KB. JPEG quality alone gets you a factor of four or five below the original; the rest has to come from removing pixels. The tool reports the exact output dimensions next to the byte size so this is never a surprise you discover later in an image viewer.
Only if it is flat artwork - a signature, a logo, a line drawing. PNG is lossless, so it has no quality dial to turn down, and the only lever left is resolution. A photographic PNG hits the 96 pixel floor long before 20 KB. When that happens the result panel says so and points you at the JPEG option, which is the actual fix.
Check the wording. Most portals state a maximum, and anything at or below it is accepted. A few state a range such as 10 to 20 KB, and those do reject files under the lower bound. If you are against a lower bound, use a larger source image or a less aggressive crop rather than padding the file - this tool always aims below the ceiling, never at a specific value.
It means the search ran into one of its own limits before it ran into your budget: the output format is lossless, or the image was already at the 96 pixel floor, or five attempts were spent. The panel names which one. Nothing is retried in a loop and nothing is compressed into an unusable smear to force a number.
For the thumbnail printed on an admit card or shown next to a record, generally yes - those are displayed at a few hundred pixels anyway. It is not good enough for anything printed at document size. If a portal accepts 50 KB or 100 KB, use those pages instead; you get noticeably more resolution for very little extra.
No. Decoding, resizing and encoding all happen in your browser through the canvas element and a web worker. The file never leaves the device, which also means the page keeps working on a phone with a weak connection once it has loaded.
Nothing, deliberately. When the file you upload is already inside the budget it is returned untouched and marked as already under 20 KB. Re-encoding it would cost a generation of quality to satisfy a condition that was already true.
Yes. Files are processed one after another rather than in parallel, which keeps memory use flat enough for a mid-range phone to handle a batch of large photos. Each file gets its own verdict, so one failure does not hide the others.

Mais Ferramentas de Imagem

Explore outras ferramentas poderosas para suas necessidades de edição de imagem

Comprimir Imagem

Reduzir tamanho

Recortar Imagem

Cortar área

Converter Formato

Mudar formato

Editor de Fotos

Editar fotos

Girar Imagem

Girar imagem

Virar Imagem

Horizontal/Vertical

Adicionar Marca d'Água

Marca d'água

Adicionar Borda

Adicionar borda de imagem

Cantos Arredondados

Adicionar cantos arredondados

Filtros

Brilho/Contraste

Desfocar Rosto

Ocultar rostos

Mosaico

Desfocar regiões

Remover Fundo

Remover fundo

Melhorar Imagem

IA upscale

Adicionar Texto

Adicionar texto a imagem

Colagem

Combinar múltiplas imagens

HTML para Imagem

Web para imagem

GIF para Sequência

Extrair frames

Remover bordas vazias

Remover bordas vazias

Renomear imagens em lote

Renomeie arquivos em lote com segurança

Recorte Circular

Recortar imagens em círculo

Preto e Branco

Converter imagens em tons de cinza

Dividir Imagem

Cortar uma imagem em grade

Mesclar Imagens

Combinar imagens em uma só

Alterar DPI

Definir metadados de DPI da imagem

Imagem para Base64

Codificar imagens como Base64

Imagem para PDF

Combine imagens em um PDF

HEIC para JPG

Converta fotos HEIC do iPhone para JPG

Remover EXIF

Visualize e remova metadados ocultos de fotos, incluindo localização GPS

Gerador de Favicon

Conjunto completo de ícones mais HTML

Paleta de Cores

Extraia cores de uma imagem

Base64 to Image

Decode Base64 back to an image

HEIC to PNG

Convert iPhone HEIC photos to lossless PNG

Text Behind Image

Put text behind the subject of a photo, entirely in your browser

Color Picker

Get the HEX, RGB and HSL of any pixel

Signature Maker

Draw a signature and download it as a transparent PNG

Signature Background Remover

Ink from paper, on transparency

Transparent Background Maker

Make a background transparent