freesozoFree tools, no sign-up (home)
All tools
Language: English
Tool number 12

Batch Image Converter and Compressor

Drop in a batch of images to convert and compress them on the spot. Check the quality against the original side by side, then save them all as a ZIP.

Drop images here

Choose as many as you like at once. You can also paste a copied image.
Works with JPEG, PNG, WebP, GIF, AVIF, BMP and SVG. Images are not sent anywhere.

Or drop them here
Converted imageOriginal image

        Format

        Lower means smaller files and rougher images. Decide while checking the side-by-side view.

        Size

        The aspect ratio is kept, and images are never made bigger than the original.

        File size limit

        Images over the limit get a lower quality first, and are made smaller if they still don't fit.

        File names

        The extension changes to match the format.

        What to do next

        Choosing a format

        FormatCompressionTransparencyGood for
        WebPDrops detail to get smaller. There's also a mode that doesn'tYesPhotos and illustrations for the web
        JPEGDrops detail to get smallerNoPhotos, when it matters that any software can open them
        PNGKeeps all the detailYesScreenshots, logos and diagrams

        If in doubt, WebP will make images for the web smaller. Current versions of the major browsers can show WebP. On a Mac, though, Safari needs to be version 14 or later, on macOS Big Sur (11) or later. For older setups, or upload forms that don't accept WebP, use JPEG or PNG.

        "Same as original" keeps JPEG as JPEG, PNG as PNG and WebP as WebP. Formats the browser can't export, such as GIF and AVIF, become PNG.

        About the quality number

        Quality is a number from 1 to 100 and applies to WebP and JPEG. It's a rough measure of how much detail to keep, and the same 80 gives different results and file sizes in different formats and browsers. Go by what you see side by side, not by the number itself.

        In the comparison view, the original is to the left of the line and the converted image to the right. You can drag the line across the image. "100%" shows one pixel of the converted image as one pixel on screen, so any blurring or roughness shows as it is.

        PNG keeps all the detail, so the quality number doesn't apply. To make a PNG smaller and keep it a PNG, reduce its colours, as described next.

        Reducing PNG colours

        A normal PNG stores a colour value for every pixel. Reducing the colours gathers the colours in the image into a table (a palette) of up to 256, and each pixel only stores its number in the table. Each pixel needs less data, so the file gets smaller.

        • Images with few colours to begin with (logos, diagrams, simple screenshots) can take this form without a single colour changing. The list then says "colours (unchanged)".
        • Images with many colours get representative colours that each stand in for a group of similar ones. "Smooth it out (dithering)" spreads the difference to nearby pixels so the steps between colours are less visible. Leaving it off gives a smaller file.
        • Photos have too many colours, and 256 colours makes them grainy. Photos come out better and smaller as WebP or JPEG.

        Semi-transparent edges are kept, and fully transparent pixels stay transparent.

        A PNG without colour reduction is exported without changing a single pixel. On top of that, if it has 256 colours or fewer it's stored with a palette, and an image that doesn't use transparency drops the transparency data. That alone can make it smaller while it looks exactly the same.

        Size and the file size limit

        You can set the long side, the width or the height in pixels, or scale down by a percentage. The aspect ratio doesn't change. Images are only shrunk when the value is smaller than the original. They're never enlarged.

        For a big reduction, the image isn't taken straight to the target size but halved step by step. That stops fine patterns from flickering and thin lines from breaking up.

        With a file size limit, each image is fitted in this order:

        1. Export at the quality you set. If it's under the limit, that's it.
        2. If not, find the highest quality that fits (WebP and JPEG).
        3. If even the lowest quality doesn't fit, make the image a little smaller and try again.

        How each image was fitted is shown on its row in the list, such as "quality lowered to 62" or "resized to fit the limit". Sizes are counted with 1 KB = 1,024 bytes.

        What changes when you convert

        • Shooting data (Exif) isn't kept: the date and time, the camera model, the location and so on aren't carried over to the exported image. That's also handy for removing location data before you post online. A photo's orientation is applied by rotating the image itself.
        • Animation isn't kept: animated GIFs and WebPs become a still of the first frame.
        • Colour becomes standard (sRGB): CMYK images for print and images with wide-gamut profiles are converted to screen colours. It's not suitable for making print-ready files.
        • JPEG loses transparency: transparent areas are filled with the colour you choose (white by default).

        Common mistakes

        • Saving photos as PNG: keeping all the detail makes them far bigger than JPEG. Use WebP or JPEG for photos.
        • Re-saving a JPEG over and over: each save makes it a little rougher. Convert once, from the most original image you have.
        • Shrinking an image and later using it large: stretching a shrunk image doesn't bring the detail back. Shrink it once you know the size you'll use it at.
        • Lowering the quality too far on images with text: the edges of text are where blurring shows most. For screenshots, PNG with colour reduction, or WebP at a higher quality, works well.

        FAQ

        Are my images sent anywhere?
        No. Loading, converting and making the ZIP all happen inside your browser. Once the page is open, it works even with your connection off.
        How many images can I convert at once?
        Up to 200. They're converted one at a time, so lots of images or large ones take a little while. When you change a setting, the selected image is converted again first, so you can fine-tune the quality while the rest catch up.
        Can it convert iPhone photos (HEIC)?
        It depends on whether your browser can open HEIC. In a browser that can't, the list says so. Then try a browser that can, or set the camera format to "Most Compatible" in the iPhone's Settings to take photos as JPEG.
        The converted image is bigger than the original
        This happens when an image that's already heavily compressed is exported at a high quality. A PNG exported as PNG also barely shrinks if it's already optimised. Those rows show a red "+" figure on the right of the list. Lowering the quality, switching to WebP, or reducing the colours of a PNG will make it smaller.
        Can it convert SVG?
        Yes. It becomes a WebP, JPEG or PNG image at the size written in the SVG. An SVG without a size may not open.
        Are my settings saved?
        Settings such as the format and quality are saved only in your browser. Images aren't saved, and the list is empty again when you close the page.

        Sources

        More tools