Compress Image to 20 KB — Passport & Visa Photos
Reduce a photo to under 20 KB for online passport, visa, and government applications — without uploading sensitive identity photos to any server.
Last updated
图片压缩
批量压缩图片到目标大小
上传一张图片或整批图片,设置所需的最大文件大小。免费、私密,在浏览器中运行。
拖放图片到此处
或点击选择文件(PNG、JPG或WebP,一次最多50张,每张最大50MB)
关于图片压缩
我们的图片压缩工具使用多轮自适应压缩,将图片压缩到您需要的大小。设置精确的目标大小,引擎会自动找到质量和大小的最佳平衡——无论是单张图片还是最多50张的批量处理,都会压缩到同一目标大小,并可打包成一个ZIP下载。
功能:
- 设置精确的最大文件大小目标(MB或KB)
- 智能质量搜索的多轮自适应压缩
- 支持PNG、JPG和WebP格式
- 批量模式:一次最多50张(每张50MB以内),可打包为ZIP下载
- 完全在浏览器中运行 — 文件永远不会离开您的设备
- 完全免费,无需注册
使用方法
- 上传图片 — 拖放或点击上传PNG、JPG或WebP图片;批量压缩时可一次选择最多50张(每张最大50MB)。
- 设置目标大小 — 输入所需的最大文件大小(MB或KB)。批量模式下,同一目标大小适用于每张图片。
- 下载压缩后的图片 — 点击「压缩」,等待每张图片处理完成——批量进度会按文件逐一显示。
- 查看结果 — 比较原始文件和压缩后的文件大小。检查压缩率和输出的视觉质量。
- 下载或重试 — 下载压缩后的图片,或将整批结果打包为ZIP下载。也可以调整目标大小后重新压缩以获得不同效果。
常见问题
图片可以压缩多少?
压缩效果取决于图片内容。通常可在保持可接受视觉质量的同时减小50-90%的文件大小。
支持哪些图片格式?
支持PNG、JPG/JPEG和WebP格式,最大可压缩50MB的文件。
目标大小压缩如何工作?
该工具使用二分搜索在不同质量级别之间寻找能适合目标大小的最高质量。它会在多轮中自动调整压缩参数。
有损压缩和无损压缩有什么区别?
有损压缩(JPEG、WebP)会删除部分数据以缩小文件。无损压缩(PNG)保留所有数据。本工具会找到画质与文件大小的最佳平衡。
图片压缩会将文件上传到服务器吗?
不会。所有处理完全在浏览器中完成。文件永远不会离开您的设备,确保完全的隐私和安全。
可以同时压缩多张图片吗?
可以。拖入或选择最多50张图片(每张50MB以内),它们会逐张压缩到同一目标大小,并显示每个文件的状态。您可以单独下载,也可以打包成ZIP一次性下载。如果某个文件无法达到目标大小,会保留找到的最小版本并加以标注。
Why this matters
Online visa and passport portals routinely cap photo uploads at 20 KB, 30 KB, or 50 KB — a threshold that most smartphone cameras vastly exceed. The compressor binary-searches quality levels until your photo lands under the limit, letting you submit on the first attempt instead of guessing quality settings in another app.
Step by step
- 1Open the Image CompressorDrop in your passport or ID photo (JPG recommended).
- 2Set the target to 20 KBType "20" and choose "KB".
- 3CompressThe tool iterates in-browser to hit the target.
- 4Check the previewThe face should still be clear at 20 KB for most modern photos. If it looks too degraded, try a higher-resolution source image.
- 5Download and submitSave the compressed photo and upload it to the application portal.
Frequently asked questions
Why do government portals require photos under 20 KB?
Legacy upload systems with low server storage quotas set these caps years ago. The limits are rarely updated even as camera megapixel counts have increased.
Will the face still be recognizable at 20 KB?
Yes, for a correctly taken passport photo (tight face crop, even lighting, white background). A 1–2 MP crop of a face compresses well at 20 KB because skin and solid backgrounds are highly compressible.
Should I use JPG or PNG for a 20 KB photo?
JPG. PNG at 20 KB would be extremely degraded because PNG is lossless and far less efficient for photos at tiny file sizes.
Is my passport photo uploaded anywhere?
No. Compression runs entirely in your browser. Your photo never leaves your device, which is especially important for identity documents.
What if the portal also requires specific pixel dimensions?
Resize first using the Image Resizer (e.g., 600×600 px), then compress to 20 KB here.
My country's portal asks for under 50 KB or 30 KB — will this work?
Yes. Set the target to whatever value your portal specifies — 30, 50, or 100 KB.
Further reading
- JPG vs PNG: Which Image Format Should You Use?JPG and PNG are the two most common image formats on the web, but they serve very different purposes. Learn which one to use for photos, logos, screenshots, and more.
- What Is WebP and Should You Use It?WebP is a modern image format from Google that delivers smaller files than JPG or PNG with comparable quality. Here is everything you need to know before switching.
- How to Compress Images Without Losing QualityLarge image files slow down websites and fill up storage. This guide explains the practical techniques for making images smaller while keeping them looking sharp.
You might also need
- Compress Image to 100 KB OnlineReduce any photo or image to exactly 100 KB (or any custom target) in your browser. No upload, no guesswork.
- Compress JPG Images Online — Free & PrivateReduce the file size of JPG and JPEG photos right in your browser. Drop in any JPEG, pick your target size, and download the compressed image. Nothing is uploaded to a server.
- Resize Image for YouTube Thumbnail (1280×720)Create a pixel-perfect YouTube thumbnail at 1280×720 in your browser. No design software needed.