Comprimir imagem para um tamanho em KB (20 KB, 50 KB, 100 KB)
Reduza uma foto ou assinatura digitalizada ao tamanho exato pedido por um formulário on-line, como 20 KB, 50 KB ou 100 KB. Primeiro a qualidade é reduzida e, se preciso, as dimensões.
Entrada
Dica: pressione Ctrl + Enter para executar
Configurações salvas
Por enquanto, a ajuda detalhada abaixo está disponível apenas em inglês.
Sobre esta ferramenta
Government portals, job applications and exam registrations often demand photos and signatures under a strict size such as 20 KB, 50 KB or 100 KB, sometimes with pixel limits too. Guessing the right quality setting in an editor takes many attempts. This tool searches automatically: it lowers the JPG or WebP quality step by step to reach your target and only reduces the dimensions if quality alone is not enough, so the image stays as large and sharp as possible.
Kilobytes are counted as 1,024 bytes, as most upload forms do.
Como usar
- Choose the photo or scanned signature.
- Enter the maximum file size in KB that the form allows.
- Optionally enter the longest side in pixels if the form specifies dimensions.
- Choose JPG or WebP and run it.
Como o cálculo funciona
A bisection search between 95% and 40% quality finds the highest quality whose encoded size is at or below the target. If even 40% is too big, the image is scaled down in proportion to how far it is over and the search repeats (below 320 px the quality floor drops to 10%). 1 KB = 1,024 bytes.
binary search on encoder quality (5–95 %), then scale by √(target ÷ size) until the file fitsExemplo prático
An exam portal requires a photo under 50 KB. A 2.4 MB phone photo (3000 × 4000) is reduced to photo-50kb.jpg: 49 KB at 1060 × 1413 pixels and quality 62%: sharp enough for a face on screen and accepted by the portal on the first try.
Exemplo de entrada e resultado
foto.jpg (2,4 MB, 3000 × 4000) → foto-50kb.jpg (49 KB, 1060 × 1413, qualidade 62 %)
Limitações
- Very small targets (under about 10 KB) may require small dimensions.
- Transparency is lost in JPG.
- Metadata is not kept.
Última atualização:
Perguntas frequentes
Why is the result a little under the target?
The tool stops at the highest quality that fits, which is rarely exactly the limit.
The form also wants exact pixel dimensions.
Crop and resize to those dimensions first, or enter the longest side here.
Should I choose JPG or WebP?
JPG is accepted by almost every form; WebP gives better quality at the same size if accepted.
Solução de problemas
The form still says the file is too large.
The form may count 1 KB as 1,000 bytes; enter a slightly lower target.
The face is blurry.
Crop to the face first so fewer pixels are needed.
The form wants a minimum size too.
Enter a higher target closer to the maximum.
Privacidade & Uso gratuito
Meus dados são armazenados?
Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.
Esta ferramenta é gratuita?
Sim. Não é preciso cadastro nem pagamento.
Veja também
Próximos passos úteis
Redimensionador de imagens
Ajuste uma imagem dentro de dimensões máximas, preservando a proporção e sem ampliar.
Ferramentas de imagemCompressor de imagens
Recodifique JPG ou WebP com qualidade ajustável. O resultado pode ficar maior; sempre compare os tamanhos.
Ferramentas de imagemConversor de JPG, PNG e WebP
Converta imagens para JPG, PNG ou WebP. No JPG, a transparência vira branco.
Ferramentas de imagem