Compress PNG Online — Smaller PNGs, Transparency Kept, Free

CodexFuse Team · 2026-10-27T19:25:14.697Z · 9 min read min read

Compress PNG online free while keeping transparency. Cut file size with colour reduction, resizing and a WebP option — no software needed.

To compress PNG files without ruining them, shrink the data behind the image. PNG suits logos, icons and graphics with transparency, but it bloats easily: a full-resolution screenshot, a logo with thousands of unused colours, or a hero image straight from a design tool can add megabytes to a page.

This guide shows how to compress PNG images online, free, while keeping transparency intact: why PNG files get large, how to use colour reduction and resizing sensibly, when to switch to WebP, and how to fit the job into a managed workflow.

What Does It Mean to Compress a PNG File?

To compress a PNG file means to reduce its file size while keeping the image usable, usually by removing redundant colour data, trimming unused colours, or resizing its dimensions. A well-compressed PNG still looks sharp and keeps transparent areas transparent, but it downloads faster and uses less storage.

PNG compression is lossless in principle, unlike aggressive JPG compression. In practice, the biggest savings come from deliberate choices: fewer colours where the eye cannot tell, and dimensions matched to the display size.

Why PNG Files Get So Large in the First Place

Most oversized PNGs share one of three causes, and naming the cause tells you the fix.

  • Oversized dimensions: an image exported at 4,000 pixels wide but displayed at 800 pixels wide carries roughly 25 times the pixels it needs.
  • Unused colours: a simple logo or icon may be stored with a palette of thousands of colours when a few dozen would look identical.
  • Wrong format for the job: a full-colour photograph saved as PNG, instead of JPG or WebP, can be several times larger than the same photo saved properly.
Important

Do not compress the only copy of an image. Keep the original master file somewhere safe, and compress a copy for the web. Once colours are reduced or dimensions are cut, you cannot reliably restore the original detail later.

How to Compress PNG Images With the Free CodexFuse Tool

The Compress PNG tool follows three steps, and each one maps to a decision you should make deliberately rather than accepting defaults blindly.

  1. Upload your PNG: add the file you want to shrink. Start with the web copy, not your master original.
  2. Tune the settings: use colour reduction to trim the palette, resize to the width the image will actually display at, and consider the WebP option if your site supports it and you want an even smaller file.
  3. Download the result: check the output at full size, especially edges, text and transparent areas, before you replace the live image.

Colour reduction needs a careful eye. For a logo or flat illustration, dropping to 128 or 64 colours often shows no visible change. For gradients or detailed screenshots, it can introduce banding. If you see banding, raise the colour count.

Resizing is usually the biggest win. A thumbnail shown at 400 pixels wide does not need a 2,400-pixel source. Resize to display width, plus a small margin for high-density screens.

FormatBest forTransparencyTypical trade-off
PNGLogos, icons, diagrams, screenshots with textYesLarger files for photographs
JPGPhotographs with no transparencyNoSmaller files, but artefacts around text and edges
WebPPhotographs and graphics on modern browsersYesSmallest files, but check older-browser support

If you also work with photographs, the companion guide on how to compress JPG files with quality control covers the JPG side of the same problem, and the guide to shrinking any image under 500 KB helps when a form or upload limit sets a hard target.

A Worked Example: A Plant Shop's Homepage Hero Image

Consider a fictional small business, Fern & Stone, an online plant shop whose homepage hero image was slowing its site down. The numbers are illustrative; the workflow is exactly the one above.

The starting point: the hero PNG was 4.8 MB at 2,400 by 1,600 pixels, exported straight from a design tool with a full palette and a transparent badge. On a typical mobile connection it took several seconds to appear.

Step one, resize: the hero displays at most 1,200 pixels wide, so the team resized the copy to 1,600 pixels for high-density screens. Size fell from 4.8 MB to around 2.1 MB, with no visible change.

Step two, colour reduction: a moderate reduction, checked against the original at full size, brought the file to around 1.1 MB without visible banding in the foliage or badge edges.

Step three, the WebP question: the team also exported a WebP version at around 640 KB as the primary file, keeping the compressed PNG as fallback. Total saving: roughly 87 percent, from 4.8 MB to around 640 KB.

The lesson is the order: resize first, reduce colours carefully second, and only then judge a format switch. Skipping straight to maximum compression is how logos end up ragged and gradients end up banded.

Pro Tip

Check compressed images on a real phone, not just a large desktop monitor. Banding, soft text and halo edges around transparent logos show up far more clearly on a small, bright screen, and that is where most visitors will see them.

Heavy PNGs slowing your site down? Fix the image and the hosting behind it.

CodexFuse is a fully managed, all-in-one IT platform on pay-as-you-go credits, so your site, email and backups are looked after in one place instead of across separate subscriptions. Compress the image, then move the site somewhere it loads properly.

Get Started with CodexFuse

When Should You Keep a PNG Instead of Switching to JPG?

Keep a PNG when transparency, crisp edges, or exact colours matter more than the smallest possible file size. Logos, icons, diagrams, screenshots with text, and graphics placed over coloured backgrounds need PNG transparency and lossless edges to stay clean. If the image is a photograph with no transparency, JPG or WebP will typically give a much smaller file.

Upload limits mislead people the same way. A form cares only about bytes, so the temptation is to crush a file until it fits. That damages logos and signatures first. Resize and trim colours first, and only reduce quality last, checking each time.

What Compression Cannot Fix

Compression is often sold as a cure for problems it cannot solve:

  • Blurry source images stay blurry: compression cannot add detail that was never captured. A low-resolution screenshot will not become sharp by being recompressed.
  • Slow hosting stays slow: a compressed image on an overloaded or poorly configured server still loads slowly, because the server response itself is the bottleneck.
  • Too many images still hurt: twenty optimised images can still outweigh one large one. Compression helps per file; page design decides the total.
  • Old browsers may not support WebP: serve the compressed PNG as a fallback if many visitors use very old browsers.

A Managed Workflow So This Stays Fixed

One-off compression is easy. Keeping a whole site lean is harder, because new images arrive with every product and campaign. A workable routine looks like this.

  1. Set a house rule: every image is resized to display size and compressed before going live, with the original kept in a masters folder.
  2. Use the free tool for the one-offs: when you need to compress PNG files for a campaign, a logo refresh or a form upload, run them through the tool, check transparency and edges, and download the web version.
  3. Move the site to managed hosting: on CodexFuse, hosting, business email, security and backups sit on one fully managed platform on credits, with no subscription lock-in.
  4. Review quarterly: re-check the heaviest pages every few months, before new banners and photos quietly undo the earlier work.

You are not buying a compression tool; you are moving the site to a platform where hosting, email, security and backups are managed together on credits. When a page slows down, there is one place to look and one team responsible.

Suggested Reading

For the JPG equivalent of this workflow, see how to reduce a JPEG to 100 KB without visible quality loss.

Frequently Asked Questions

Can I compress PNG files online for free?

Yes. The CodexFuse tool is free and unlimited: upload a PNG, tune colour reduction and resizing, and download the result. No software to install, and transparency stays intact.

Will compressing a PNG remove its transparency?

No, if you use a PNG-aware tool and check the output. Proper compression preserves transparent areas. Preview the result over a coloured background before publishing: bad conversion, not compression, is what usually breaks transparency.

Should I convert PNG to WebP instead?

Convert when file size matters more than universal compatibility and your audience uses modern browsers. WebP is typically smaller and supports transparency. Keep the compressed PNG as a fallback for very old browsers.

How much can I shrink a PNG without visible loss?

It depends on the image. Flat graphics and logos can often shrink by 50 to 80 percent with no visible change. Detailed photographs saved as PNG shrink less, which is usually a sign to use JPG or WebP instead.

Does compressing PNG files improve SEO?

Indirectly, yes. Smaller images load faster, and page speed affects rankings and user experience. Compression alone will not rank a page, but a fast page outperforms an identical slow one.

What is the best size for a web PNG?

Match the display size. A 400-pixel thumbnail should be roughly that wide, a 1,200-pixel hero no more than around 1,600 pixels wide for high-density screens, and a logo exactly the size it appears. Anything larger is wasted bytes.

Stop Letting Heavy PNGs Drag Your Site Down

Compress the images you already have, set the house rule so new ones arrive lean, and fix the platform behind them. Start with the heaviest page today: resize its images, reduce colours where the eye cannot tell, and check the result on a phone. Then move that site to CodexFuse, where hosting, business email, security and backups are fully managed on pay-as-you-go credits. Get started with CodexFuse today.