heictosize

HEIC → PNG · 20KB target

Compress HEIC to 20KB PNG — lossless.

100% in your browser. No upload. Lossless PNG that fits your target size.

  • Exact target KB
  • No upload
  • Free, no signup
JPEGPNG

When to use this

  • Strict systems that require PNG and cap uploads at 20KB.
  • Tiny lossless icons, favicons, or avatars under 20KB.
  • Small graphics and badges exported as PNG within a hard size limit.

Tips

  • 20KB PNG is best for tiny icons and graphics — for photos at 20KB, JPEG keeps more usable detail.
  • Crop tightly before compressing; a small subject makes better use of the tiny pixel budget.
  • Land a few KB under 20KB to dodge systems that round up at the boundary.

A 20KB PNG is an extremely tight lossless target — enough for a small icon, favicon, or simple graphic, typically around 110–130 pixels on the long edge for a photograph. This tool hits it exactly: type 20, and you get a lossless PNG at or under 20KB, with no upload and no guesswork.

At this size, PNG suits small synthetic graphics far better than photographs — flat-color icons and badges compress efficiently and stay crisp, where a photo simply runs out of pixels. If your image is a photo and the destination accepts JPEG, a 20KB JPEG keeps more usable detail.

Who needs a 20KB PNG

How to compress HEIC to 20KB PNG, step by step

  1. Open the compressor on this page. The engine loads once, in your browser.
  2. Drop your HEIC image into the box, or click to select it. A preview appears once it’s decoded.
  3. Set the target to 20KB. It is preset; type any number for a custom target.
  4. Click Compress. The tool reduces dimensions until the lossless PNG fits under 20KB.
  5. Compare before and after, then download the .png result.

How PNG compression to a target size works

PNG is lossless by design, with no quality dial. To hit a size target, the tool reduces the image’s dimensions rather than its quality. It decodes the HEIC to pixels, estimates the target size from the dimensions, resizes with a Lanczos filter — the gold standard for downscaling — and encodes losslessly, looping until the PNG lands at or under 20KB. The result is a lossless PNG: exact pixels, no artifacts, at the very small resolution that fits.

What to expect from a 20KB PNG

For a photograph at 20KB, a 20KB JPEG is usually the more usable result.

Privacy: nothing leaves your device

Your image never leaves your device. Decoding and compression happen locally in your browser via a WebAssembly module — no upload, no server, no storage, no analytics on your image. Close the tab and the data is gone.

Whatever number your system states, type it and the tool lands at or under it — privately, in your browser, with no upload.

Frequently asked questions

Can it compress HEIC to exactly 20KB PNG?

Yes. PNG is lossless with no quality dial, so the tool reduces the image's dimensions with a high-quality Lanczos filter until the lossless PNG fits at or under 20KB. You always get a PNG of 20KB or less, never over, with no quality loss from the encode.

Why does the PNG end up so tiny?

Because PNG is lossless and keeps every pixel, a 20KB cap holds only a very small number of pixels — typically around 110–130 pixels on the long edge for a photograph. At this size PNG is best suited to small icons and graphics rather than photos. If the form accepts JPEG and the image is a photo, a 20KB JPEG keeps more usable resolution.

Is my photo uploaded to a server?

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.

Is the PNG really lossless?

The PNG encode is lossless — it preserves the decoded pixels exactly. Your HEIC was already lossy-compressed at capture, so this tool cannot recover detail the camera discarded; it guarantees no further loss while fitting the 20KB cap.

PNG or JPG for a 20KB image?

For a photograph, JPEG — it keeps more usable resolution at 20KB because it is designed for photos. Choose PNG at 20KB for small icons, favicons, and graphics where losslessness or the PNG format is required and the small size is acceptable.

How is this different from a quality slider?

A slider makes you guess and re-check the size repeatedly. You enter 20KB and the tool hits it directly. PNG has no quality slider anyway — the tool adjusts dimensions to fit, losslessly.

Does it work on Android or only iPhone?

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.

Is it free?

Yes — completely free, with no signup, no watermark, and no upload. There is no account and no plan to upgrade.

Does the output keep my photo's metadata?

No. The result is a freshly encoded PNG with none of the original's EXIF data — camera details and any embedded GPS location are stripped.

Can I compress several images at once?

One at a time. This keeps the tool simple, fast, and entirely local. If you have many to prepare, compress each individually.