Tools Compressor

Compress Images Online - Image Optimizer & Photo Compressor

🔒 Private image optimizer - compress photos in your browser with WebAssembly, no server uploads

🏙️

Compress Images Online for Free - Reduce JPG, PNG, WebP, GIF, SVG and AVIF File Size

Use ShotEdit as a free online image optimizer for faster websites, email attachments, product photos, and social media images. Compress JPG, JPEG, PNG, WebP, GIF, SVG, and AVIF files in batches while keeping a practical balance between file size and visual quality.

Compression runs locally in your browser with WebAssembly. Your images do not need to be uploaded to a server, so private photos, design assets, and client screenshots stay on your device.

🤩

Why would you want to compress images?

Depending on the source of an image, the file could be quite large. A JPG from a professional DSLR camera, for example, could be dozens of megabytes. Depending on your needs, this could be too big. Compressing this image would be very useful.

Likewise, you might have large images on your phone. These images could be taking up a lot of hard drive space and preventing you from taking more photos. Compressing them could free up more internal storage, fixing this problem.

🐼

ShotEdit - Online Photo Editor & Screenshot Tool Compress vs TinyPNG Compress

ShotEdit - Online Photo Editor & Screenshot Tool Compress

Using native C++ libraries: libimagequant / libpng / zlib, compiled into WebAssembly, used on the web.

Compression at the memory level through native encoding.

After resource loading, pure browser-local usage, no upload required - complete privacy protection

100% Free - no size limit, no quantity limit, supports multi-level folders, no registration required

Purely local and open-source technology, ensuring complete privacy and security - your data never leaves your browser.

TinyPNG Compress

The TinyPNG website achieves image compression through the use of smart compression algorithms. These algorithms, based on deep learning and machine learning technologies, can detect and remove unnecessary details and redundant information in images, thereby reducing image file sizes.

TinyPNG's compression algorithm mainly detects unimportant pixels in images and replaces them with simpler representations, thus reducing file size.

TinyPNG supports uploading multiple images at once, processing up to 20 images simultaneously.

Only supports image formats including PNG, JPEG, WebP, does not support GIF, SVG, and other formats

Maximum support for 5MB per image, may have limitations for ultra-high resolution images

Privacy risk, users need to upload images to TinyPNG's servers for compression.

Need to reduce video size instead? Try our video size reducer — it compresses MP4, MOV and MKV files in your browser with no upload.

Batch image compression for email, websites, and product photos

Compress JPG, PNG, WebP, GIF, SVG, and AVIF in the browser. Drop a whole folder, tune quality while watching the output size, and download each file or one ZIP — nothing is uploaded to a server.

Batch compression

Drop several images or a folder, apply one quality setting to all of them, then download the files individually or packaged as a single ZIP.

Quality you can see

Move the quality slider and click Recompress to see the new output size, so you can stop at the point where the file is small enough and still looks right.

Nothing leaves your device

Compression runs locally through WebAssembly. Client screenshots, design assets, and personal photos never touch a server.

What people compress here

  • Shrink photos to fit an email or chat attachment limit without cropping them.
  • Optimize product images and hero shots so pages load faster and pass Core Web Vitals.
  • Convert to WebP or AVIF first with the image converter — the newer formats usually compress much further than JPG.
  • Compress a screenshot from the screenshot tool before pasting it into a ticket or a document.

Common questions

Does compression reduce image quality?

It can, and you control how much. Lower the quality setting only until the preview size is small enough — for most photos the file drops sharply before any visible change appears.

Is there a file size or file count limit?

No. Batches and large files are limited only by your device memory, and there is no registration or daily quota.

Are my images uploaded anywhere?

No. The compression runs in your browser with WebAssembly, so the files stay on your device.

Inside the compressor: formats, settings, and batch work

The compressor above does not run every file through the same routine. Each format is sent to a different encoder, and the single Quality slider is translated into a different setting for each one. Knowing what happens to a JPG, a PNG, or an SVG makes it much easier to pick settings that shrink the file without damaging the parts of the image you care about.

What happens to each file type

JPG and WebP files are re-encoded with your browser's built-in encoder. The process is lossy, and the Quality setting decides how much detail is given up. PNG files go through colour quantisation in WebAssembly, which reduces the image to a limited palette and then writes a standard PNG. That is why screenshots and flat graphics often shrink by a large margin with little visible change, while photos saved as PNG show the reduction more.

GIFs are processed by gifsicle at its highest optimisation level with a smaller colour table, and the animation is kept. AVIF files are encoded by a WebAssembly AVIF encoder with a fixed speed setting, so large AVIFs take noticeably longer than JPGs. SVG is the exception: it is text, so the compressor rewrites the markup with SVGO, removing comments, editor metadata, and redundant code. Quality and Size do not apply to SVG, and its dimensions stay the same.

What the Quality slider really changes

The slider runs from 0 to 100 and labels its position as Low (below 30), Mid (30 to 59), Optimal (60 to 89), or High (90 and above). For JPG and WebP the value is the encoder quality, so 80 means 0.8. AVIF receives the number directly as its quality level. For PNG and GIF the slider sets the maximum number of colours instead: 256 multiplied by the slider percentage, never fewer than 2. At 50 you get 128 colours, at 25 you get 64, and 100 allows the full 256.

Until you move the slider, each format uses its own starting value: 70% quality for JPG and WebP, 32 colours for PNG, 128 colours for GIF, and quality 50 for AVIF. The Reset link in the settings bar brings these values back. Neither PNG nor GIF is dithered, so at low colour counts smooth gradients, soft shadows, and photographic areas show visible banding. For screenshots, icons, and flat illustrations 32 colours are often enough; for a PNG that contains a photo, raise the slider or convert the file to JPG or WebP.

Resizing and converting in the same pass

The Size option fits every image in the batch to a fixed width or a fixed height, anywhere from 1 to 100,000 pixels, and calculates the other side from the original proportions. Resizing often saves more than lowering quality: halving the width of a photo leaves only a quarter of the pixels to store. The tool does not stop you from entering a value larger than the original, so an image can be enlarged by mistake, which makes the file bigger and softer. For exact dimensions or percentage scaling, use the image resizer.

On Auto, the Convert menu keeps each file in its own format; otherwise it turns everything into JPG, JPEG, PNG, WEBP, or AVIF. The file is converted first and then compressed by the target format's method, so a PNG converted to WebP follows the WebP quality value rather than a colour count. JPG cannot store transparency, so transparent areas are filled with a colour, white (#FFFFFF) by default, which you can change with the colour picker that appears next to the menu.

Working through a batch

You can add files with Add Images, by dragging them onto the page, or by pasting from the clipboard. Dropping a folder works too, and in browsers that support folder access an Add Folder button appears. Images from subfolders keep their folder path, and that structure is preserved in the ZIP. Files the compressor cannot read, such as HEIC or BMP, are skipped with a warning that says how many were left out; convert HEIC photos with the HEIC to JPG tool first. Three images are compressed at a time in a background worker, so the page stays usable during a large batch.

Changing a setting does not touch files that are already finished. Press Recompress (the circular arrow) to run the whole list again with the new settings; files you add after a change use the new settings automatically. Download All packs every successfully compressed file into ShotEdit.zip, and when two files share a name, the second gets (1) before its extension instead of overwriting the first. To judge a result, click its thumbnail to open a before-and-after comparison.

When a file gets bigger or does not compress

Each result shows the change as a percentage: green means the new file is smaller, red means it grew. Growth usually has a simple cause. The original was already heavily compressed and you re-encoded it at a higher quality, a small flat graphic was converted from PNG to JPG, or the Size value was larger than the original. You do not have to download a file that got bigger; keep the original, or lower the quality and press Recompress.

If the PNG, GIF, or AVIF encoder cannot process a particular file, the tool hands back the original unchanged, which shows up as a 0.00% change. Files that fail outright are marked Failed with a short reason and are left out of the ZIP. Animated GIFs that stay too large are better handled in the GIF compressor, which adds a lossy setting on top of colour reduction.

🔒 Your privacy is our priority

Every ShotEdit tool processes your images on your own device, so your files are never uploaded. The badge above each upload area confirms that the tool runs in your browser.

Processed in your browser · Never uploaded