Skip to main content

PNG Input • JPEG or WebP Output

Compress PNG to Small KB

Reduce PNG images locally by exporting a smaller JPEG or WebP. Review the output format and background before downloading; this tool does not produce compressed PNG files.

A smaller file starts here.No sign-up
Maximum size

Drop your image here
browse files

JPG, PNG or WebP → at most 50.0 KB

Max 15 MBMax 24 MPPaste from clipboard
01 · Choose your settings
KB

50,000 bytes maximum · 1 KB = 1,000 bytes

Auto keeps JPEG inputs as JPEG and uses WebP for other inputs when supported. JPEG fallback uses a white background.

Zero server uploads: Processed in local browser memory
Decimal bounds: 20 KB = 20,000 bytes verified
  • Free to use. No account needed.
  • Your images stay on your device.
  • Check the preview and exact file size.
JPG · PNG · WebPUp to 15 MB · 24 MP
A little help getting the right result

Print size to pixels, crop fit and JPG vs PNG

Convert a form's centimetre or inch size into exact pixels, see whether your photo needs a crop or a white margin, and compare real measured file sizes by format. Sizes are common examples; confirm your current notice.

1. Print size → exact pixels

276 × 354 px at 200 DPI (0.1 MP). Formula: pixels = round(cm ÷ 2.54 × DPI).

2. Fit your photo into the required box

Centre crop · aspect difference -13.7%

Crop 13.7% of the source to a centred 3000 × 3450 px window, then scale to 200 × 230 px. Keep the face centred; never stretch.

Centre crop window
3,000 × 3,450 px (13.7% removed)
Fit on white
173 × 230 px image, 13.5% margin
200 px printed 3.5 cm wide
≈ 145 DPI

Exact 200 × 230 px canvas · source crop (sx, sy, sw, sh) = (0, 275, 3000, 3450) → (dx, dy, dw, dh) = (0, 0, 200, 230)

The main compressor reduces bytes and may shrink dimensions. The exact-pixel exporter keeps the canvas at exactly 200 × 230 px, crops or pads on white in your browser, and lowers JPEG quality only.

3. JPEG vs PNG vs WebP under a KB limit

Measured bytes for ID photo 200 × 230 px against 50,000 bytes
FormatMeasured bytesFits 50 KB?Header bytesAccepted by forms
JPEG ★7,503Yes (42,497 B spare)FF D8 FFAlmost always
PNG55,093No (+5,093 B)89 50 4E 47Some forms
WEBP3,110Yes (46,890 B spare)52 49 46 46 … 57 45 42 50Rarely

Use JPEG: 7,503 bytes fits. Lossless PNG is 55,093 bytes — over the 50,000-byte limit — because continuous-tone photo pixels barely compress without loss.

Portals read the first bytes of the file, not its name. A PNG renamed to .jpg still starts with 89 50 4E 47 and can be rejected; a real JPEG starts with FF D8 FF. Re-encode instead of renaming. Measured on seeded test images (JPEG quality 85, lossless PNG, WebP quality 80).

Exact-pixel photo export (crop or white pad)

Make a JPEG that is exactly the selected pixel size, then search JPEG quality so the file stays at or under your maximum. The photo is never stretched. Sizes are common examples; confirm your current notice.

Choose a JPG, PNG, WebP or HEIC photo. It stays on this device.

Box 200 × 230 px · Centre crop to fill · example window 20,480–50,000 bytes

Output is always a JPEG (header FF D8 FF) on a white background, so transparency becomes white. The tool checks the downloaded bytes and pixel size; it does not check face position, background colour or live-photo rules.

How to Prepare Your Image in 3 Steps

  1. 1

    Select or Drop Image

    Choose a supported static JPG, PNG or WebP file up to 15 MB and 24 megapixels. Animated images and PDF files are not supported.

  2. 2

    In-Browser Compression

    Your browser tries quality and dimension settings within its processing limits. Time depends on the file and your device; a matching result is not guaranteed.

  3. 3

    Download Verified File

    Download after checking the result against your destination’s file type, size and dimension requirements.

A GOOD FIT, NOT JUST A SMALL FILE

Make every kilobyte count.

How compression works

Choose the right output format

Use JPG when your form asks for a photograph in JPEG format. JPEG replaces transparent areas with white. Use WebP when the destination accepts it and you need a smaller file or transparency.

PNG is supported as an input. Downloads are JPEG or WebP; this tool does not export PNG or PDF.

Small enough, and still readable

Compression can soften details and reduce pixel dimensions. Check faces, letters and signature strokes in the comparison before downloading. File size in KB and image dimensions in pixels are different requirements.

For a strict 20 KB maximum, this site checks against 20,000 bytes. See why that differs from 20 KiB.

Supported inputs are static JPG, PNG or WebP files up to 15 MB and 24 megapixels. Before compression, the working image is limited to 12 megapixels; larger sources are reduced proportionally even if a generous byte limit is selected. The search may reduce dimensions further. Some images cannot reach the selected maximum within the time, attempt and minimum-dimension limits. The tool does not pad a smaller result to an exact size or enforce a minimum file size.

Compress PNG to 50 KB, 100 KB or 2 MB Locally in Your Browser

Screenshots, digital illustrations and transparent logos saved as lossless PNG images have large file sizes, as standard deflate compression has difficulty with photographic gradients and high-DPI screen captures. You can compress png to 50kb for a small forum avatar or compress png to 100kb for an online form attachment, even compress png to 2mb for a high-resolution marketplace listing or design portfolio, our browser-based converter does the heavy lifting locally. We automatically convert PNG inputs to size-checked JPEG or WebP outputs, flattening transparencies onto a clean white background, since many government or academic portals do not accept PNG headers at all. Switching to perceptual encoding and removing alpha bloat can save up to 95 percent of bytes in a single click when choosing to compress png to 50kb or compress png to 100kb. If you want to keep high pixel sizes for larger graphics but not have the risk of exceeding the upload limit, you can compress png to 2mb.

  • Quickly compress png to 50kb or compress png to 100kb by exporting size-verified JPEG or WebP files locally.
  • Use the custom KB input (up to 5,000 KB) whenever you need to compress png to 2mb for high-DPI screenshots or portfolios.
  • Automatically flattens transparent PNG backgrounds onto crisp white when JPEG output is selected for government portals.

How does the tool compress png to 50kb or compress png to 100kb so effectively?

Lossless PNG files store full alpha channels and uncompressed-style pixel rows. When you compress png to 50kb or compress png to 100kb here, the browser converts the image to perceptual JPEG or WebP, cutting file weight by up to 95%.

Can I also compress png to 2mb for large high-DPI screenshots?

Yes—use the custom KB target set to 2,000 KB (2,000,000 bytes) whenever you need to compress png to 2mb while preserving high screen resolution.

Still getting an upload error?
  • Check the destination’s required file type. A small WebP file will not work in a JPG-only field.
  • Check both minimum and maximum file size. A result under 20 KB may also be below a required 10 KB minimum; this tool enforces a maximum only.
  • Check the required pixel dimensions, crop, background and photograph date. This compressor does not set an exact width, height or DPI.
  • If the result is blurry, crop away unnecessary background in an image editor first, then try again. Choose a larger target only if the destination allows it.

Frequently Asked Questions

Does compressing PNG remove the transparent background?

Output is JPEG or WebP, not PNG. JPEG replaces transparency with white. WebP can retain transparency, but falls back to JPEG if the browser cannot encode WebP. Check the actual output format and background.