Color shapes
- Input
- 8,125 bytes · 1000 × 400 px
- Output
- 20,407 bytes · 1000 × 400 px
- JPEG quality setting
- 55
HEIC → JPEG · ≤ 20KB
Runs in your browser. Nothing is uploaded. Never over your limit.
We made both synthetic samples and ran the tool in Chrome 157 on macOS. Sizes are download bytes. The tool uses 1 KB = 1,024 bytes.
Compare the dimensions and quality before sending the result. If a form measures KB as 1,000 bytes, leave extra room. If the tool cannot fit a file under the cap, it reports an error and offers no download for that run.
At this setting, at least one measured result exceeds a strict 20,000-byte cap. Choose a lower target if that is your limit.
When to use this
Tips
Getting an iPhone HEIC photo down to 20KB is one of the most extreme size targets you’ll meet online — and among the hardest to hit by hand. A handful of email clients, forum avatars, and legacy or ultra-strict government forms cap images at 20KB and reject anything larger, usually with no guidance on how to get there. This tool does exactly that: you type 20, and it returns a JPEG at or under 20KB, with no upload and no guesswork.
A 20KB limit shows up wherever a service needs images to be truly tiny — small enough to embed inline, store at enormous scale, or survive a legacy system built when bandwidth and storage were scarce. You’ll see it on email signature banners, tiny avatar or icon uploads, certain legacy government or municipal forms, and online portals built around very small display sizes.
The difficulty is that phones do not produce 20KB photos. An iPhone shooting HEIC — the default since iOS 11 — typically produces a single photo of 1 to 5 megabytes, with a 12-megapixel shot commonly landing around 1.5 to 3MB. Hitting a 20KB target is therefore a 60× to 150× reduction, and doing that precisely with a generic editor is painful: change a setting, export, check the size, repeat, overshoot, repeat again. Most editors cannot even get there, because at some point the quality slider bottoms out and the file is still over 20KB.
A purpose-built 20KB HEIC compressor removes the trial and error. Instead of asking you for a quality setting, it asks for the one number the form or email client cares about — the size in KB — and hits it directly.
A 20KB image cap is most common in situations that want a very small, predictable file:
In each case the requirement is the same: a JPEG, at or under 20KB, that still looks acceptable at a very small display size. That is exactly what this tool produces.
The tool is intentionally simple — no account, no settings menu, nothing to install.
If the form later complains, type a slightly lower number (say 18KB) and compress again. Some forms round up at the boundary, so landing a couple of KB under is safer than landing exactly on 20KB.
It helps to know what the tool is doing, especially at an extreme target like 20KB where the line between “acceptable” and “unusable” is thin. Compression runs in four stages, all in your browser.
HEIC is a container holding image data compressed with HEVC (H.265). Browsers other than Safari cannot render HEIC directly, which is why pointing an <img> at a raw HEIC file shows nothing. The tool decodes the HEIC into raw pixels with a WebAssembly module, entirely on your device. No pixel data is sent anywhere.
With raw pixels ready, the tool encodes them to JPEG. JPEG lets you choose a quality level from 1 to 100 — higher quality looks better but produces a larger file. The tool performs a binary search across quality levels to find the highest quality that still fits under 20KB. A binary search is efficient: rather than trying quality 30, then 31, then 32, it jumps to the middle, checks whether that fits, and narrows in within a handful of attempts. At 20KB, it almost never fits at full resolution, which triggers the next two stages.
This stage is what stops the result from looking like a mosaic. Older “hit a target size” approaches kept lowering quality until the size fit — sometimes crushing quality down to single digits, which produces blockiness so severe that faces stop being recognizable. That is exactly wrong, and at 20KB it is a real risk.
This tool instead enforces a quality floor. It lowers quality only so far, and if even that floor still exceeds 20KB at full resolution — which at 20KB it almost always does — it stops lowering quality and starts resizing instead. The principle: trade pixels before you trade visible quality. A very small but clean photo always looks better than a full-size but blocky one. At 20KB, resizing is not an edge case; it is the path.
When a resize is needed — and at 20KB it always is — the tool uses a Lanczos resampling filter, a high-quality method for downscaling photographs, preserving edges and fine detail far better than the faster bilinear filters many tools default to. After resizing, it repeats the quality search on the smaller image and loops until it lands under 20KB. The result is a JPEG that fits the target, given the source.
At 20KB, the honest expectation is a very small but clean image. A 20KB budget cannot hold a real photograph — it can hold a tiny signature image, an icon, or a small avatar. For a clean headshot or a simple graphic, the result commonly lands around 150 to 300 pixels on the long edge, which is enough for an inline email signature, a tiny avatar displayed at 32 or 48 pixels, or an icon — and not enough for anything you would call a real photo.
A few practical expectations:
If the result looks too soft, the cause is almost always the source. Cropping tightly to the face or subject before uploading makes more difference at 20KB than at any other target, because the tool can then spend its tiny budget on the part that matters instead of on background.
A JPEG’s size in bytes comes from three things, and understanding them sets realistic expectations for 20KB:
That third point is why two photos at the same resolution and quality can come out very different sizes, and it is especially important at 20KB: a tightly cropped face against a plain background fits far more cleanly than a wide, busy scene. Cropping before compressing is the single most effective thing you can do to improve a 20KB result — more than at any other target.
For a clean headshot or simple graphic, 20KB corresponds to roughly 150 to 300 pixels on the long edge at a sensible quality — enough for an email signature, a tiny avatar, or an icon, but not enough for a real photograph or anything displayed at more than a small size. This is why 20KB targets suit icons, signatures, and tiny avatars, and resist anything you would call a photo.
A normal image editor asks for a quality number and hands you whatever size results. That is backwards for forms: the form or email client cares about the size, not the quality. A target-KB compressor inverts the question — you give the size, the tool finds a suitable quality that fits — which is exactly what a hard 20KB ceiling demands. At 20KB this matters more than usual, because a quality slider bottomed out at its minimum often still produces a file larger than 20KB.
Two reasons the output is JPEG, not HEIC.
First, almost no online form accepts HEIC uploads. Forms expect JPEG or PNG. HEIC is an Apple-pushed format with uneven support outside the Apple ecosystem, and most form systems reject it outright.
Second, JPEG reaches tiny targets like 20KB far more cleanly. JPEG was designed for photographs and produces small files that look acceptable; the same photo as a PNG would be several times larger for no visible benefit. Since the goal is to fit under a size limit, JPEG is the right output.
So the conversion from HEIC to JPEG is the point, not a side effect. Your original HEIC is never modified.
Forms specify different combinations of file size, pixel dimensions, and aspect ratio. The tool handles file size directly; for the others, a little prep in your phone’s editor helps.
Always confirm the exact requirements on the specific form, since they vary. The tool removes the most common hard blocker, which is the file-size ceiling.
Small-image use cases use a small set of standard shapes. Crop to the right one before compressing:
At 20KB the final pixel dimensions will be far smaller than these guidelines once the tool resizes to fit, but the aspect ratio you crop to is preserved. A signature banner that starts wide and short stays wide and short; a square avatar stays square.
The form still says the file is too large. Some forms round up. Re-compress targeting a couple of KB lower (18KB or 15KB) and try again. The tool always lands at or under the number you type.
The form rejects the format. The output is a standard JPEG with a .jpg extension, which virtually every form accepts. If a form specifically wants .jpeg, renaming the extension works — the contents are identical.
The photo won’t preview or compress. Make sure you are uploading a genuine HEIC/HEIF file, not a renamed extension or a screenshot. An interrupted transfer can produce an incomplete file; re-saving the original fixes it.
Compression feels slow. Large source files take longer because decoding and encoding scale with pixel count. This is normal and processing time varies with the device and pixel count, all on your device.
The result looks like a blur. At 20KB this is almost always a source problem. Crop tightly to a single face or subject against a plain background, then compress again. A wide, busy scene will not work at 20KB — no tool can make it work, because the budget simply is not there.
The images people compress to 20KB — signature banners with a name and job title, avatars tied to real identity, government form uploads — are sensitive. Your image never leaves your device. There is no upload, no cloud processing, no server that sees your photo. Decoding and compression happen locally in your browser through a WebAssembly module, and when you close the tab the data is gone. There is no account, no storage, and no analytics applied to your image.
This differs from most “online compressor” sites, which upload your photo, process it on a server, and send it back. For a signature image or a form upload, running everything locally is both a privacy guarantee and a speed advantage — no round trip to a server.
For the specific job of “I have a phone photo and a form or email signature needs it under 20KB,” a targeted browser-side compressor is the most direct path.
Not every form wants 20KB. The same tool hits any target:
Whatever number your form states, type it and the tool lands at or under it — privately, in your browser, with no upload.
Yes. It searches JPEG quality levels to land at or just under 20KB, and only shrinks dimensions if 20KB can't be reached at the quality floor — which at 20KB is almost always required. The tool returns a file of 20KB or less, never over.
No. Decoding and compression run entirely in your browser via WebAssembly. Your HEIC file never leaves your device, nothing is stored, and there is no analytics on your image. Close the tab and it's gone.
Not blocky — but small. A quality floor protects visible detail, so faces and edges stay clean instead of turning into mosaic artifacts. At 20KB the image is always resized heavily, which is expected for such a tiny target. The result is best understood as a small signature image, icon, or tiny avatar rather than a real photograph.
20KB is an extreme budget — far too small to hold a real photograph. Rather than crushing quality into blocky artifacts, the tool holds a quality floor and shrinks dimensions with a high-quality Lanczos filter until it fits. A very small but clean image always looks better than a large but blocky one, and at 20KB resizing is essentially always required.
A slider makes you guess the quality and re-check the size over and over, and at 20KB most editors' sliders bottom out before the file is small enough. You enter 20KB and it hits that target directly — which is what ultra-tight form limits actually require. The size is the constraint, not the quality.
It works in any modern browser (Chrome, Edge, Firefox, Safari) on any device. HEIC is most common on iPhone, but the file can come from anywhere — Android, a DSLR, a download, an email attachment.
There is no server quota because everything runs on your machine. The only limit is your device's memory. Very large HEIC files may take a second or two to process.
Yes — completely free, with no signup, no watermark, and no upload. There is no account and no plan to upgrade.
JPEG (.jpg). Online forms almost always require JPEG or PNG, and JPEG reaches tiny target sizes like 20KB far more cleanly than PNG. Your original HEIC is never modified.
Yes — for a small email signature, a tiny avatar displayed at 32 or 48 pixels, or an icon, 20KB is enough. It is not enough for a real photograph, a profile picture shown at any meaningful size, or any kind of ID photo. For those, use a larger target such as 50KB or 100KB.
Type the number the form actually allows. Using the largest target your form permits keeps the most quality: see compress HEIC to 30KB, 50KB, 100KB, or 200KB. Any target from 5KB up works.
No. It runs in the browser. There is no app, no plugin, no software to install, and no account to create.
No — and for sensitive photos that is a feature. The result is a freshly encoded JPEG with none of the original's EXIF data, which means camera details and any embedded GPS location are stripped.
After decoding, use Left 90°, Right 90°, or Reset beside the preview. The preview dimensions update immediately, and compression uses the rotated pixels.
One at a time. This keeps the tool simple, fast, and entirely local. If you have many photos to prepare, compress each individually — it only takes a moment per file.
Yes — any target down to 5KB works. Below 20KB you are firmly in icon territory: the image will be very small in pixels, suitable for a tiny favicon-like graphic but not for anything you would call a photo.
Modern iPhones capture 12 megapixels or more and keep quality high, so a single HEIC photo is commonly 1–5 MB. Hitting 20KB is a 60–150× reduction from that starting point — one of the most aggressive reductions asked of any photo tool.
Yes, within the limits of a very small image. The quality floor protects visible skin tone and prevents the blocky mosaic that comes from crushing quality. At 20KB the face will be small in pixels, but it will be clean rather than distorted — provided you cropped tightly to the face before compressing.