Skip to content

Browser-local workspace

Compress an image to a target file size

Compress images to 20, 50, 100, or 200 KB with size presets and optional automatic resizing. Check the actual file size and download locally, with no upload.

  • No upload
  • No sign-up
  • JPG, PNG, and WebP
PixelShrink workspace
Local only

Nothing selected yet

Size target, crop & workflow settings

1 KB = 1,000 bytes. JPG and WebP targets adjust quality automatically. PNG targets need fewer pixels if the encoded file is too large.

Turn this off if your form requires fixed dimensions. Successful results show the measured bytes and final pixel dimensions.

Custom crop uses percentages of the original image. Shape presets use a centered crop. Crop happens before resizing and rotation. Compare the result before downloading.

Settings only are saved locally. Images are never stored.

Quality applies to JPG and WebP. PNG output remains lossless.

    Compare original and result

    Original
    Original image
    Processed result
    Processed result image

    Per image

    25 MB

    Images per batch

    20

    Batch limit

    150 MB

    A practical guide

    Meet an upload limit using the actual encoded file size.

    A form that accepts a 200 KB image checks bytes, not pixel dimensions. Enter a maximum file size in KB and PixelShrink tries JPG or WebP quality settings, measuring the encoded file after each attempt. One KB means 1,000 bytes here; enter 1,000 for a one MB decimal limit.

    Choose a 20, 50, 100, 200, or 500 KB preset, or 1 MB. Automatic resizing is enabled on this page: if quality alone cannot fit, the tool reduces dimensions proportionally and measures again. Turn it off when your destination requires fixed dimensions. Successful results display the actual bytes and final dimensions.

    Format notes

    Know what changes—and what does not.

    A maximum, not an exact byte count

    Successful results fit at or below the target. The tool searches quality settings but does not promise an exact size or mathematically optimal quality.

    PNG needs fewer pixels

    The native PNG encoder does not have adjustable quality. Automatic resizing can reduce its dimensions while keeping transparency. Turn this off to preserve dimensions, or choose JPG or WebP if the destination allows it.

    Destination requirements still apply

    Check the receiving form for required dimensions and formats. JPG flattens transparent areas onto a background.

    Good fits

    Useful choices for real files.

    An application form with a 200 KB limit

    Choose the 200 KB preset and JPG. Review the result and check the final dimensions against the form requirements.

    A one MB attachment

    Set 1,000 KB for a decimal MB limit. Keep enough pixels for readable text, and inspect small details after compression.

    Privacy by design

    Your image does not become our file.

    Image bytes and processing stay on your device. Saved presets contain settings only; no image history or image storage is created.

    Frequently asked questions

    Answers before you start.

    Can I compress an image to exactly 100 KB?

    You can set 100 KB as the maximum. A successful result may be smaller, because encoding does not produce arbitrary exact byte counts.

    What happens if my target is too small?

    With automatic resizing enabled, PixelShrink reduces dimensions until the encoded output fits or cannot shrink further. If the target is still impossible, it reports an error. An oversized file is never labeled a successful target result.

    Does lowering quality change the dimensions?

    Quality alone does not. Automatic resizing, maximum dimensions, and crop settings can change them. Disable automatic resizing if you need to keep your selected dimensions.

    Can I compress a signature to 20 KB?

    Yes. The signature optimizer combines margin trimming, maximum dimensions, JPG background, and a 20 KB preset. Check readability and any form-specific requirements before submitting.