Hacks VitaeAll tools
freecompressconvert
client-side only

Compress JPG and PNG

Drop your images below. You get the real before and after size for every file, not a promise. If a file comes out bigger, the tool says so instead of hiding it.

· PNG, JPG, WebP, GIF, BMP

A whole folder at once is fine. Nothing is uploaded.

Files0
In0 B
Out0 B
Change–
No upload
Output format
How to decide the size
    Quick answer

    How to actually make an image smaller

    // Answer

    Two levers, in order of how much they save. Resize first: a 4000 pixel photo shown in a 1000 pixel space is carrying sixteen times the pixels it needs, because the count is width times height. Then lower the quality to about 85. Changing format from PNG to JPG or WebP is the third lever, and on photographs it is a large one.

    Worth knowing

    Why PNG compressors often do nothing

    PNG is a lossless format. Every pixel is stored exactly, which is why screenshots and logos look perfect in it. A tool that re-saves your PNG as a PNG has not thrown anything away, so there is nothing much to gain, and depending on how the original was written, the result is sometimes larger.

    Big PNG savings usually come from reducing the number of colours (which loses detail), from stripping metadata, or from a stronger lossless encoder than a browser has. This tool does none of those. Choose JPG or WebP and you will see a real reduction; stay on PNG and it will tell you there was nothing to win.

    Rules of thumb

    Which format for which job

    What it isBest formatWhy
    PhotographJPG or WebPApproximation is invisible and saves enormously
    Screenshot with textPNGJPG blurs the letter edges
    Logo or iconPNG or SVGFlat colour and transparency
    Anything for the webWebPAbout 25 to 34 percent under JPG at equal measured quality (Google)
    An upload form is refusing itJPGThe format everything accepts
    FAQ

    Frequently asked questions

    Because PNG is lossless. Re-saving a PNG as a PNG stores the same pixels again, and a browser canvas is usually a worse PNG encoder than whatever wrote the original, so the file can even grow. To actually shrink a PNG, save it as JPG or WebP, or reduce its width.
    Reducing the width. A phone photo is often 4000 pixels wide and is being viewed in a 1000 pixel space. Dropping it to 1920 usually saves more than lowering the quality, and on a screen the difference is hard to see.
    Start at 85; on most photographs the loss is hard to see. Go to 75 if the file still needs to be smaller. Lower settings show blocky patches sooner, first in skies and other flat areas.
    Yes. Every current browser reads WebP, and Google measured it at 25 to 34 percent smaller than JPG at equal measured quality. Safari cannot save WebP from a web page, so choose WebP here in Chrome, Edge or Firefox. The one place to avoid it is a form or an old app that only accepts JPG or PNG.
    No. Compression happens on your own machine, in this tab. There is no server in the path, and the page keeps working with your Wi-Fi switched off.

    Ask an assistant about this page

    Opens in a new tab with this page and the question already filled in.