Free · up to 20 images in your browser · free account to download
Compress JPG, PNG and WebP Images
Drop up to 20 JPG, PNG or WebP files to reduce their byte size for email attachments, web pages and upload forms. Compression runs on your device, so your images are not uploaded.
How do I compress an image without uploading it?
Drop up to 20 JPG, PNG or WebP files into the box above, and they compress right away with the Quality slider at 70% for JPG and WebP and the Colors menu at 256 colors for PNG. Move the slider or the Colors menu to redo it. Your browser decodes each picture onto a canvas and re-encodes it at the same width and height. If re-encoding would make a file larger, the original file is kept instead.
How it works
01
Add your images
Drag files in or click to choose them. You can load up to 20 files at once, each up to 50 MB, in JPG, PNG or WebP format. A new drop replaces the current list.
02
Choose quality and palette settings
Set the Quality slider from 30% to 95% (default 70%) for JPG and WebP files, and pick 256, 128 or 64 colors—or Lossless (no palette)—for PNG files.
03
Download the compressed files
The files compress as soon as they are added, and again after each settings change. Review the old and new byte sizes on each row. One file downloads directly with a -compressed suffix; multiple files download together as a single ZIP.
How JPG, PNG and WebP compression differ
JPG and WebP use lossy quality settings on this page. The Quality slider runs from 30% to 95% and defaults to 70%, which usually cuts file size from camera or design exports while keeping edges and textures clean. Lower settings save more bytes at the cost of softer fine detail or slight blockiness in flat gradients.
PNG is a lossless container, so a quality percentage does not apply. Instead, the tool uses an indexed color palette of 256, 128 or 64 colors (with full alpha transparency preserved), or a Lossless (no palette) option that packs every original color without quantization. Screenshots, logos and UI graphics shrink well with a 256-color palette, while full-color photos belong in JPG or WebP.
What changes in the file—and when the original is kept
Each file is decoded in your browser, drawn to an HTML canvas at its original pixel width and height, and encoded back into its own format. Because the canvas works in 8-bit sRGB, wide-gamut color such as Display P3 is converted to standard sRGB, and camera metadata (EXIF, GPS, color profiles) is stripped from newly encoded files. Animated WebP or APNG files keep only their first frame.
Never-larger protection is built in: if a file is already tightly compressed and the new encode comes out equal or larger in bytes, the tool discards the new encode and returns your untouched original file.
Browser support and target-size alternatives
Every current browser can read and write JPG and PNG, and Chrome, Edge and Firefox write WebP as well. Safari can open WebP files but cannot encode WebP from a canvas; when you run a WebP in Safari, the page warns you and falls back to PNG, or leaves the original WebP unchanged if the PNG would be larger.
This page applies one quality slider and one PNG palette choice across up to 20 files under 50 MB each. If an upload portal requires a strict byte ceiling such as 50 KB, 100 KB or 1 MB, use one of the target-size compressors linked below, which search quality levels and scale dimensions when needed.
What this tool does not do
It does not change pixel dimensions, compress AVIF, HEIC or animated GIF files, preserve EXIF metadata or wide-gamut color profiles on re-encoded files, or let you type a custom KB target on this page.
Keep exploring
Related free tools
Questions
Image Compressor: FAQ
Are my photos uploaded to a server?
No. Decoding and compression run inside your browser, so your images stay on your device. The page sends usage events to Google Analytics, such as the number of files and chosen settings, but never the images.
Why did a file say 'Already small: kept the original'?
If re-encoding at your chosen setting produces a file that is the same size or larger than the input, the tool keeps your original bytes so you never download a bigger file.
Why do I see both a Quality slider and a Colors menu?
This tool accepts JPG, PNG and WebP together. The Quality slider (30%–95%) controls JPG and WebP encoding, while the Colors menu (256, 128, 64 colors or Lossless) controls PNG encoding.
How do I compress an image to an exact KB or MB limit?
This page compresses by quality and color count at the original dimensions. For a strict byte limit, pick a dedicated target tool such as Compress Image to 50KB, 100KB, 200KB or 1MB, which automatically searches quality and scales dimensions if needed.
What happens to transparency and metadata?
PNG and WebP keep transparent pixels; JPG has no transparency and fills transparent areas with white. Re-encoded files do not keep EXIF, GPS or embedded color profiles, and wide-gamut colors are converted to standard sRGB.
Why were my WebP files left unchanged or saved as PNG in Safari?
Safari does not support encoding WebP from a browser canvas. The tool converts the image to PNG when that saves bytes, or keeps your original WebP file when a PNG would be larger. Use Chrome, Edge or Firefox to write compressed WebP files.