Compress PNG

Shrink PNG screenshots and graphics by reducing their color count.

On-device No sign-up Free to use

Compress controls

  1. 1 Add files
  2. 2 Arrange/Options
  3. 3 Download

Drop your images here

or choose them from your device

PNG images only. Every output stays PNG; each image uses the same compression settings.

    ?

    After quality or palette compression, try up to five smaller sizes. Stops at 64 pixels on the longest side. The result reports its actual dimensions and size.

    ?

    Animated GIF, PNG, WebP and AVIF are flattened to one still image only when this is checked.

    Advanced
    ?

    0 keeps the quality setting. A target is best effort for JPEG and WebP: the tool lowers quality up to four times and reports the size it actually reached. PNG output ignores it and uses the PNG color count instead.

    ?

    Used when the output is PNG. Reducing colors can change colors and smooth shading and may reduce the file size. The dither option below adds a fine pattern that may reduce visible banding. "Smallest file" tries four counts and keeps the smallest, which is slower on large PNGs. Full color keeps the PNG lossless.

    ?

    PNG output with a reduced color count only. Adds a fine repeating pattern before reducing colors, which can make color steps less obvious. It does not change transparency itself, but reducing the colors can still change it. Compare the actual file size and appearance before using the result.

    ?

    Keep the original pixel dimensions. Turn this off to apply the maximum longest side below.

    ?

    0 keeps the original pixel size. Images are never enlarged.

    Result

    Showing an example.

    A PNG screenshot at 1920 by 1080 pixels.

    A PNG at 1920 by 1080 pixels written with a 256 color palette, downloaded under a name with -compressed added when it is smaller than the source, with the original size and the new size reported. When the reduction is not smaller, the original comes back under its own name and the result says so.

    Loading the tool. Your result will appear here.

    https://usefreetools.net/compress-png · 20 November 2026

    Was this helpful?

    How to use Compress PNG

    1. Add PNG screenshots or graphics. Every file in the run uses the same settings.
    2. Every output uses PNG. Choose PNG colors: a reduced palette can save bytes but change color and transparency; Full color avoids palette reduction.
    3. Optionally build a before-and-after comparison. Inspect text, gradients and transparent edges in the full downloaded result too.
    4. Select Compress and read each delivered size. If format and dimensions stay unchanged and no smaller encode is found, the original is returned.

    Example: Compress PNG

    A PNG screenshot at 1920 by 1080 pixels.

    You add
    One PNG at 1920 by 1080 pixels, Output format PNG, PNG colors 256 and No maximum pixel size left on.
    You get
    A PNG at 1920 by 1080 pixels written with a 256 color palette, downloaded under a name with -compressed added when it is smaller than the source, with the original size and the new size reported. When the reduction is not smaller, the original comes back under its own name and the result says so.

    Options

    PNG colors
    Opens on 256 colors, which maps pixels to a smaller palette. It may reduce file size, but can alter gradients, text edges and transparency. Full color avoids palette reduction; its encoded size still depends on the input.
    No maximum pixel size
    On by default, keeping the original width and height. Turning it off reveals Maximum longest side, which also brings a very large PNG inside the 16 megapixel limit for color reduction.
    Measured batch sizes
    Compare the reported bytes for every PNG and download each image or the ZIP. Color reduction can change fine gradients and transparency; inspect the output.
    Before and after
    Select a PNG screenshot or graphic and build its comparison. Move the slider to examine palette changes around small text, transparent edges and gradients. The screen view uses fewer pixels than the full download.
    Target size
    PNG quality is not searched. The palette settings run first; if the target is still unmet, optional pixel reduction can try up to five smaller sizes. Check the measured bytes and dimensions.
    PNG dithering
    Try the ordered pattern on a PNG gradient when reducing its palette. It changes RGB values before color mapping, which may lessen bands or increase visible texture. Check output bytes and transparent edges. Full-color PNG ignores it.
    Reduce pixel dimensions if the target is still unmet
    For a PNG that exceeds the selected size target, this optional setting tries up to five smaller dimensions after the palette encode. The result lists its pixel dimensions and measured bytes.

    Supported inputs and limits

    Batch sizeUp to 20 images per run
    Per image64 MiB each, 40 megapixels each
    Total size128 MiB total for the whole run
    • Up to 20 PNG inputs per run, 64 MiB each, 128 MiB total and 40 megapixels per image.
    • Input is checked from its bytes and output is pinned to PNG.
    • Reduced palettes are limited to 16 megapixels and can change colors or alpha;
    • Full color avoids palette reduction.
    • A smaller original can be returned when dimensions and format stay unchanged.
    More details

    PNG ignores JPEG quality.

    A size target is measured, with optional pixel reduction trying at most five smaller sizes.

    Pixel reduction is off by default.

    Animated PNG needs explicit first-frame consent; that output is a still PNG.

    Outputs include individual images and a ZIP for a batch.

    Where your input is processed

    This tool does not upload your inputs. See the limits for anything saved on your device.

    Why an unchanged PNG is a normal result

    A PNG already contains compressed picture data. Re-encoding it can produce fewer, similar or more bytes depending on its original encoding and metadata. Palette reduction changes the picture by restricting its colors, while Full color avoids that reduction. Neither promises a smaller file. The measured result and full-size visual check tell you whether a particular change is useful.

    Questions about Compress PNG

    Why did the PNG come back at the same size?

    A new encoding of the same pixels may be larger. If dimensions are unchanged, the smaller original can be returned. Try fewer colors or fewer pixels, then inspect the output.

    What happens to transparent areas?

    PNG can keep alpha, but reducing its palette can change transparency as well as colors. Full color avoids palette reduction. Compare soft edges in the downloaded result.

    Will small text in a screenshot stay readable?

    Inspect it in the full download. Anti-aliased letter edges can contain many shades, and a reduced palette may shift them. Fewer colors do not guarantee readable text. Use a larger palette or Full color if the result loses clarity.

    Can I reduce the colors of a very large PNG?

    Not at full size. Palette reduction is capped at 16 megapixels so the browser tab stays responsive, so turn off No maximum pixel size and set a longest side of about 4000 pixels, or leave the colors at Full color.

    Is the original file changed?

    No. The tool writes a new file and your original stays where it is. Keep it until you have checked the result, particularly when the image contains gradients.

    Page updated · Project managed by Tony Hines · Report a problem with Compress PNG

    Related reading

    All guides