Free online image compressor reduces JPG, PNG, WebP and AVIF file size with a quality slider and size presets, so a page loads faster or an upload fits a limit. Set the quality, choose a preset and download the compressed image.
Image format work by OnlinePCApps since 2013
A photo straight from a phone or camera is often several megabytes, too heavy to attach or load quickly. Free online image compressor reduces the file size while the image still looks right, and why email attachments are encoded explains the attachment limit.
A form or an inbox often caps a file at a few megabytes, or a portal asks for a photo under 100 KB. A lower quality and a smaller size preset land the image under the limit on the first try.
Heavy images are the usual reason a page feels slow and scores poorly on Core Web Vitals. On most pages the biggest image is the LCP element, so compressing it cuts the weight and the page paints sooner.
A folder of full-size photos eats disk and cloud space fast. Compressing a batch keeps the pictures usable at a fraction of the size, so far more fit in the same space.
Drop a JPG, PNG, WebP or AVIF onto the online image compressor panel, or click Upload Image and browse to it.
Select the output format in the image compressor, move the quality slider from 20 to 100 and select a size preset: Original, Instagram Square, Full HD, 4K or Custom width and height.
Click Download Compressed Image. Your original is never overwritten, so a second pass through online image compressor at a different quality is always possible.
To compress an image is to encode the same picture into a smaller file. Online image compressor runs that image compression and returns a lighter image file.
A lossy pass on a JPG or WebP drops fine detail the eye barely registers, which is where most of the saving comes from. Image compressor quality slider sets how far to go, from 20 to 100.
Image compressor repacks a PNG without dropping a single pixel, trimming a graphic, logo or screenshot with no quality loss at all. The saving is smaller than a lossy pass, so a photo-like PNG does better converted to JPG or WebP.
Size presets in the online image compressor resize the image to Instagram Square, Full HD, 4K or a custom width and height. Resizing an oversized photo cuts more file size than the quality slider alone.
EXIF details like the camera model and GPS location are removed, which trims a little more size and keeps that data private. The pixels are untouched, so only the hidden tags go.
To compress an image, to reduce image size and to optimise a photo all name the same operation. A search for compress PNG, reduce image size or photo compressor lands on the same online image compressor. The source files are kept exactly as they were.
Image compression trades file size against detail. These points decide how far the online image compressor goes and how the compressed image looks, and what an image file remembers about its history covers the metadata side.
| The case | Result | What happens and why |
|---|---|---|
| JPG and WebP photos | big saving | Online image compressor lossy pass drops detail the eye hardly sees, cutting most of the file size. |
| PNG graphics | modest saving | A lossless repack keeps every pixel, so the drop is smaller than lossy. |
| Photo saved as PNG | convert instead | A photo in PNG shrinks far more turned into a JPG or WebP. |
| Size presets | resizes | Size presets resize to Instagram Square, Full HD, 4K or custom dimensions. |
| Over-compression | artifacts | Pushed too far, a JPG shows blocking, blur and banding, so a preview helps. |
| Resizing first | saves more | Resizing a huge image to its display size in the image compressor cuts more weight than quality alone. |
| Metadata | stripped | EXIF and GPS tags are removed for a little size and more privacy. |
| Transparency | kept | A PNG or WebP keeps its clear background through the compression. |
| Where it runs | on the device | Every picture is processed in the browser, so nothing is uploaded. |
A Smaller File From the Same Picture
Compression reduces the bytes an image takes up without changing what it shows, and it comes in two kinds. Lossy compression, used by JPG and WebP, throws away fine detail the human eye barely notices, which is where the large savings come from. Lossless compression, used by PNG and lossless WebP, rewrites the very same pixels in a tighter way, so nothing is lost but the saving is more modest. Three honest points guide the setting. Lossy compression cannot be undone, so the original is worth keeping, since detail once removed cannot be restored. Pushing the quality too low shows artifacts, the blocking and banding that appear when too much has been thrown away. And a picture kept oversized carries needless weight, so resizing it to the size it will actually be shown at often saves more than the quality slider alone. The references below define the formats and the page-speed goals compression serves.
Both reduce image file size. Online image compressor and a hosted compressor make the same cut in different places, and a photo is often a personal one.
| Point of comparison | This tool Compressed in the browser On the device | Hosted compressor Uploaded and compressed on a server |
|---|---|---|
| Where the photos go | Never leave the device | Uploaded to a server |
| Price and caps | Free with no file cap | Free tier often capped |
| Camera RAW files | Common web formats here | Server or desktop reads RAW |
| Hundreds of images | A set at a time in the browser | Batch on their hardware |
| A saved size preset | Set every time in the browser | Desktop saves a preset |
The last three rows go to the desktop and hosted routes, since camera RAW, a run of many hundreds and a saved preset all call for more than a browser tab holds. For a set of everyday photos the first two rows are what count. The images stay on the machine, and the compression is free with no cap.
Every image is recompressed inside the browser using its own canvas, which keeps the job client-side and every photo on the machine that opened it. Nothing is sent to a server to be processed.
A photo can be a personal record, a screenshot, an ID card or a picture that was never meant for an outside server. Many hosted compressors upload every one and promise deletion hours later, while compressing on the device avoids that hand-off completely.
All of these reduce image file size without the online image compressor on this page. Effort, cost and where the file goes all differ, and online file tools and whether they upload sets out the trade.
Preview, Squoosh and ImageMagick run locally, yet one is Mac-only, one is single-file and one lives in the terminal. The online image compressor here adds size presets and AVIF output with nothing to set up.
A little context sets how far to push image compression. They hold for any image file the online image compressor takes in.
Lossy compression cannot be undone, and detail once removed does not come back. Compressing a copy and keeping the full-quality original means there is always a clean source to start from again.
A photo shown at 800 pixels but saved at 4000 carries weight nobody sees. Resizing to the size it will actually appear at often saves more than the quality slider, with no visible loss.
PNG shines for logos, screenshots and transparency, but a photograph saved as PNG stays large. Converting a photo-like PNG to JPG or WebP shrinks it far more than compression alone.
Folders of hundreds or a full library bound for a website belong on the desktop image compressor, optimised in one pass.
Set it on a folder of pictures and every file is brought down to the target in one sweep, written next to the source.
A preset holds a target size, quality and format, so a repeated job runs the same way every time in one click.
Camera RAW straight off a DSLR and multi-page TIFF are opened and optimised, file types a browser tab cannot decode by itself.
No sign-up, no watermark, no cost. Reduce image file size right here with the online image compressor.