Skip to content
Free tools Let's talk

Free tool

Image optimizer and WebP converter

Compress JPG, PNG and WebP images, resize them for your website and convert them to WebP or AVIF. Drop a whole batch, compare before and after, and download one file or a ZIP. Everything runs in your browser: your images are never uploaded.

1Your imagesUp to 50 at a time

    Everything runs in your browser. Images are compressed on your device and never uploaded or stored. Output files carry no EXIF data or GPS location.

    Beyond the tool

    Lighter images are one fix. A slow site usually needs a few more.

    We find what slows your pages down, from images and fonts to scripts and hosting, fix it and set up an image workflow so new uploads stay light.

    Get a website proposalA fixed-price proposal within one working day

    The guide

    Image Optimizer and WebP Converter: the complete guide

    8 referencesMethodology and limitsUpdated 17 October 2026

    Built and maintained by the designers and marketers at DEMARCA, an award-winning design studio in Portugal.

    On this page
    1. How to optimize images for the web
    2. WebP, JPG, PNG or AVIF: which format to use
    3. Converting to WebP, and back
    4. How much quality can you drop?
    5. What size should images be for a website?
    6. Why PNG files barely shrink here
    7. What the optimizer removes from your files
    8. Methodology and limits
    9. Sources

    How to optimize images for the web

    1. Add your images. Drop them on the box, click it to choose files, or paste a screenshot. You can add up to 50 at once, in any format your browser can open: JPG, PNG, WebP, AVIF, GIF, BMP and SVG.
    2. Pick the output format. WebP is the smallest for websites. JPG works everywhere, including email and print. PNG is lossless and keeps transparency. Same keeps each file in its own format, which is what you want when you only need smaller files.
    3. Set the quality or a target size. Quality 80 is a sensible start. If a form or a platform has a limit, such as 100 KB or 2 MB, switch to Target size and type it in.
    4. Resize if the image is bigger than it will be shown. A phone photo is often 4,000 pixels wide or more. Few websites show an image wider than 2,000 pixels, so choosing a maximum width usually saves more than any quality setting.
    5. Compare, then download. Click Compare on any file and drag the divider to see the original and the result side by side. Switch to 100% to check fine detail. Download each file, or all of them as a ZIP.

    Image optimizer, image compressor, photo compressor: the names change, the job is the same. In the UK you will also see it spelled optimiser. Each file shows its size before and after and the percentage saved, so you know what you gained before you download anything.

    WebP, JPG, PNG or AVIF: which format to use

    The format decides more of the final size than the quality setting does. A rough guide:

    FormatBest forTransparencyWatch out for
    WebPAlmost everything on a website: photos, product shots, cutouts, bannersYesSome email programs, print shops and older desktop apps still do not accept it
    JPGPhotos that leave the web: email, documents, printing, marketplaces with strict rulesNo, transparent areas become whiteBlurry edges around text and flat colors
    PNGScreenshots, diagrams and graphics with few colors, when every pixel must stay exactYesPhotos as PNG are several times bigger than the same photo as WebP or JPG
    AVIFWebsites that want the smallest files and can wait a little longer for encodingYesOnly some browsers can create it, so the option appears only where yours can

    Google, which created WebP, measured its lossy files at 25 to 34% smaller than JPEGs of the same visual quality, and its lossless files at 26% smaller than PNGs. Results vary with every image, which is why the tool shows the real number for each of yours. For logos and icons, consider SVG instead: a vector file stays sharp at any size and is often smaller than any of these.

    Converting to WebP, and back

    Drop PNG or JPG files and choose WebP to convert PNG to WebP or JPG to WebP in one go. Going the other way, for a program or a print shop that does not accept WebP, use the WebP to PNG converter, which keeps transparency, or the WebP to JPG converter for photos and smaller files.

    How much quality can you drop?

    The quality number is a dial for how much detail the encoder may throw away. It is not a percentage of the original, and quality 80 in WebP is not the same as 80 in JPG or AVIF. As a starting point:

    • 85 to 90: large hero images and photos where people will look closely, such as products and portfolios.
    • 75 to 85: most photos on a website. The difference from the original is hard to see without zooming in.
    • 60 to 75: thumbnails and small images, where the eye cannot see the loss.
    • Under 60: blocks and smears start to appear in skies, skin and smooth gradients.

    Text, logos and screenshots behave differently from photos: sharp edges show compression sooner. Keep them as PNG, or use WebP at 90 or more. Whatever you choose, open Compare at 100% and look at the busiest part of the image and at any flat area, such as sky or a plain wall. If you cannot see a difference there, you will not see one on the page.

    What size should images be for a website?

    Size images for the space they fill on the page, times two for sharp screens. A blog column 800 pixels wide needs an image about 1,600 pixels wide; a full-width banner rarely needs more than 2,560. Anything larger is downloaded and then shrunk by the browser, which costs your visitors time for nothing.

    That time matters most for the largest image near the top of the page. Google measures loading with Largest Contentful Paint (LCP), and counts a page as good when its largest element appears within 2.5 seconds. Three habits keep images from dragging that down:

    • Width and height in the HTML. Give every image its width and height attributes, so the browser reserves the space and the text does not jump as the image arrives.
    • Lazy loading below the first screen. Add loading="lazy" to images further down the page, and never to the main image at the top.
    • Several sizes for several screens. With srcset, a phone downloads a 800 pixel version and a large monitor a 1,600 pixel one. Run the same images through this tool twice, at two widths, to make both.

    Why PNG files barely shrink here

    PNG is lossless, so a PNG encoder cannot throw detail away; it can only pack the same pixels more tightly. Browsers pack them quickly rather than as tightly as possible, so a PNG saved here can come out about the same size as your original, or bigger. When that happens and the format and size have not changed, the tool keeps your original file.

    Services that cut PNGs by 60 to 80% do something different: they reduce the image to a palette of 256 colors or fewer, which works well for flat graphics and badly for photos. This tool does not reduce colors. If your PNG is a photo or a cutout with a transparent background, convert it to WebP: transparency is kept and the file is usually a small fraction of the size. Try the sample above to see it.

    What the optimizer removes from your files

    Photos from phones and cameras carry EXIF metadata: the camera model, the date and time, and often the exact GPS location where the photo was taken. Every file this tool creates is drawn fresh from the pixels, so none of that is copied. That makes the files a little smaller and safer to publish. The rotation stored in the metadata is applied to the pixels first, so portrait photos stay upright.

    Two more things change. Color profiles are not embedded: the browser converts the image to standard sRGB, the color space of the web, so photos shot in a wider color space can look slightly less vivid. And animated GIFs and WebPs keep only their first frame. If you need the metadata, the profile or the animation, keep your original file.

    Methodology and limits

    Decoding
    Each file is opened by your browser as an image on your device, with its rotation metadata applied. Formats work where the browser can open them: HEIC usually only in Safari. SVG files need a width and height. Nothing is uploaded.
    Resizing
    Images wider than the chosen maximum are scaled to that width, keeping the proportions, and never enlarged. Large reductions are done in halving steps with the browser's high quality smoothing, to avoid jagged edges. Images over 50 million pixels (16.7 million on phones and tablets) are scaled down to fit the browser's canvas memory, and the file row says so.
    Encoding
    The resized pixels are drawn on a canvas and saved with the browser's own encoder (canvas toBlob) for WebP, JPEG, PNG and, where the browser supports it, AVIF. Support is tested when the page loads by encoding a small image; a format the browser cannot create is disabled. The quality slider maps 10 to 100 onto the encoder's 0.1 to 1. PNG is always lossless and is not reduced to a palette. For JPG, transparent areas are filled with white.
    Target size
    The tool first tries quality 92, then searches between 50 and 92 in up to six halving steps for the highest quality that fits. If quality 50 is still too big, it reduces the dimensions in proportion to the excess, between 10 and 50% at a time, and searches again. PNG only changes dimensions. The row shows the quality and size it settled on, or the smallest it reached if it could not fit.
    Sizes and savings
    Sizes use 1 KB = 1,000 bytes and 1 MB = 1,000,000 bytes, as macOS shows them. Windows divides by 1,024, so it shows the same file slightly smaller. The saving is 1 minus the new size divided by the original size. Kept originals count at their original size.
    Limits
    Metadata (EXIF, GPS, XMP) and color profiles are not copied; colors are converted to sRGB. Animated images keep their first frame. Up to 50 files per batch; very large batches on a phone may run out of memory, so work in smaller groups there. Output from the same settings can differ slightly between browsers, because each uses its own encoder.

    Sources

    Show all 8 sources

    FAQ

    Questions people ask

    Is WebP really better than JPEG?

    For websites, usually yes. Google's own study found WebP files 25 to 34% smaller than JPEGs of equivalent quality, and WebP also keeps transparency, which JPEG cannot. Every current major browser displays it. JPEG still wins where a file leaves the web: some email programs, print shops and older desktop apps expect JPG.

    How do I convert to WebP?

    Drop your JPG or PNG files on the tool above, choose WebP as the output and set the quality (80 is a good start). Each file is converted in your browser and shows its new size and how much it saved. Download them one by one or all together as a ZIP. If the WebP option is grayed out, your browser cannot create WebP files: open the page in Chrome, Edge or Firefox.

    How can I convert a WebP file to JPG?

    Drop the WebP file above and pick JPG as the output, then download it. Transparent areas become white, because JPG has no transparency; pick PNG instead if you need to keep them. Converting does not bring back detail the WebP compression removed, so set a high quality (90 or more) to avoid losing more.

    How do I open a WebP file?

    Drag it into any current browser window: Chrome, Edge, Firefox and Safari all display WebP. Most up to date image viewers open it too. If a particular app, upload form or printer will not accept it, convert it to JPG or PNG with the tool above.

    How do I optimize images for a website?

    Resize each image to about twice the width it is shown at (so a 800 pixel column gets a 1600 pixel image), save it as WebP at quality 75 to 85, and check it against the original at 100% before you publish. In the page, give every image width and height attributes so the layout does not jump while it loads, and lazy load the images below the first screen.

    Can I compress an image to under 100 KB?

    Yes. Switch the mode to Target size and type 100. The tool lowers the quality step by step until the file fits, and if even the lowest sensible quality is too big, it reduces the dimensions too, then tells you the quality and width it used. PNG has no quality setting, so for PNG only the dimensions change; WebP or JPG reach small sizes with far less loss.

    Do I still need an image optimizer plugin for WordPress?

    Not if you are the only one uploading and you optimize before uploading: resize and compress here, then upload the result. A plugin earns its place when several people add images, when you have a large library already online, or when you want it to serve WebP automatically. Either way, an image that is uploaded at 6000 pixels wide is the first thing to fix.

    Are my images uploaded to a server?

    No. The images are decoded, resized and compressed by your browser on your device, and the files you download are created there. Nothing is sent to DEMARCA or anyone else, which also means there is no upload wait and no limit on file size other than your device's memory.

    Why did my PNG barely shrink, or get bigger?

    Because PNG is lossless: the browser saves every pixel exactly, and its encoder is tuned for speed rather than the smallest file. Services that cut PNGs by 70% reduce the colors to a palette of 256 or fewer, which this tool does not do. For photos and cutouts, convert to WebP (it keeps transparency) or JPG. When a result in the same format comes out bigger than your original, the tool keeps the original file for you.

    Does the optimizer remove EXIF data and location?

    Yes. Every output file is drawn fresh from the pixels, so it carries no EXIF data: no camera details, no date and no GPS location. The photo's rotation is applied to the pixels first, so it still displays the right way up. The one exception is a file the tool keeps as it was, because a new version would have been bigger: the row says Original kept, and that file still has its metadata. Untick Keep the original if you want every file cleaned.

    More free tools

    See all 52 tools

    Website speed

    Let's make something matter.

    We find what slows your pages down, from images and fonts to scripts and hosting, fix it and set up an image workflow so new uploads stay light. Independent design and marketing studio in Portugal. Senior-led projects, transparent pricing and clearly defined deliverables for international clients.

    • A reply from a designer within one working day
    • A fixed-price proposal before any work starts
    • Senior-led work with clearly defined deliverables
    • Clients in Portugal, across Europe and further afield

    Request a quote

    Prefer email? hello@wearedemarca.com