Compress images and photos in your browser
Drop a JPG, PNG, WebP, GIF, BMP, TIFF, AVIF, HEIC or ICO. It stays in this tab, and we send you to the matching compressor.
or browse your device. Batches welcome, we detect the format
Pick a format, or drop a file and we will.
Each card is a live compressor. Same privacy model as the rest of the site: the file is processed in this tab and never sent anywhere.
Compress JPG
A free photo compressor for JPEGs. Set the quality you want and see the result straight away. Your photo never leaves this tab.
Open the JPG toolCompress PNG
A PNG compressor with real palette reduction and a real PNG optimiser, running on this device. Transparency survives intact.
Open the PNG toolCompress WEBP
nanofile is a free online WebP compressor that runs entirely inside your own tab, with nothing uploaded. WebP is already the modern format, so this squeezes it further with quality and size controls, animation and all. Drop an animated GIF here and it comes back as an animated WebP, usually a third to a half smaller.
Open the WEBP toolCompress GIF
A GIF compressor and optimizer that leaves the animation alone. Reduce GIF size by cutting colours, thinning frames or resizing, all on this device.
Open the GIF toolCompress BMP
A bitmap stores every pixel raw. We rewrite it as a palette with run-length coding, which is the only real compression the format has.
Open the BMP toolCompress TIFF
Scans and print exports arrive huge. We rewrite them as Deflate TIFF, with optional palette reduction, on this device.
Open the TIFF toolCompress AVIF
Already smaller than JPEG and WebP at matching quality. Squeeze it further with the controls below, running on this device.
Open the AVIF toolHEIC to JPG
Browsers cannot write HEIC, so this converts your iPhone photo to JPG and lets you set the quality on the way. Every device opens a JPG. Nothing is uploaded.
Open the HEIC toolCompress ICO
An .ico is a bundle of images. We rewrite each one as an optimised PNG and drop the entries your visitors never request.
Open the ICO toolHow to compress images
Drop the images
One photo or a folder of them. We read the bytes, not just the extension, so a mislabelled file still finds the right tool.
Land on the matching compressor
A JPG opens the JPG tool, a PNG the PNG tool, and so on. Settings, preview and download all happen on that page, still in this tab.
Compare and save
Drag the divider, pick a quality or a target size, then save locally. Nothing was uploaded, so there is nothing to delete later.
The home page routes any file we can compress, including code, fonts and ZIP archives.
Which image format should you be using?
Photographs belong in JPG. It is lossy, which is exactly right for a picture made of gradients and noise, and it is the only format every piece of software on earth will open. If the photo is going on a website rather than into an email, WebP does the same job 25 to 35% smaller and every current browser reads it. AVIF is smaller again and the support is now good, but it is slow to encode and older software still stumbles over it.
Anything with flat colour and hard edges belongs in PNG: logos, icons, screenshots, charts, UI exports, and anything that needs a transparent background. Saving that kind of image as a JPG is the single most common mistake here, and it costs you twice, because the file comes out both larger and visibly blotchy around the text. The reverse mistake is just as expensive: a photograph saved as PNG is routinely five to ten times bigger than it needs to be.
The rest are situational. GIF is only worth using for animation, and only where the destination refuses anything better, since an animated WebP is typically 30 to 50% smaller. HEIC is what an iPhone writes; browsers cannot save it back, so compressing one here hands you a JPEG. TIFF turns up from scanners and print workflows. BMP and ICO are legacy, and ICO exists now essentially just for favicons. Whichever you drop, we read the magic bytes rather than trusting the extension, so a mislabelled file still reaches the right tool.
Questions
How do I compress images without uploading them?
Drop them on this page. The file is read in your browser and routed to the matching compressor on this site. There is no upload endpoint, so the image never becomes a request.
Which image formats can I compress here?
JPG, PNG, WebP, GIF, BMP, TIFF, AVIF, HEIC and ICO are live today. HEIC becomes a JPEG on download, because browsers cannot write HEIC.
Will compressing an image ruin the quality?
You choose. Every image tool shows a before and after, and you can aim for a quality setting or a target size. If the result is not good enough, raise the quality and run it again. The original never left your device.
Can I compress several images at once?
Yes. A batch of JPEGs queues on the JPG page. A mix of image formats goes to Create ZIP rather than being skipped.
How do I make an image smaller without cropping it?
Two levers, and they stack. Compression rewrites the same pixels with fewer bytes, which is invisible at sensible quality. Downscaling throws pixels away, and it is the bigger win on a phone photo that is 4000px wide and will only ever be looked at on a screen. Every image tool here offers both.
Can I compress an image to a specific size in KB?
Yes. The JPG, PNG, WebP, AVIF, GIF and TIFF tools take a target and search for the highest quality that still fits under it, so "under 100KB" or "under 1MB" is a figure you type rather than a slider you guess at. If the target cannot be reached, they say so instead of handing back something unusable.
Does this remove EXIF, GPS and AI metadata from my images?
Yes. Every compressor here rebuilds the image from decoded pixels, so EXIF and GPS, the XMP packet, the colour profile, any Content Credentials (C2PA) manifest and any tag recording that a model was involved do not come through. The result panel lists what was in your file and what left with it. On some formats keeping the EXIF is a switch; on the ones where the conversion makes that impossible the page says so rather than offering a choice it cannot honour. What no compressor can remove is a watermark written into the pixels themselves, which some image generators add: that survives re-encoding here and everywhere else.
Is this image compressor free?
Yes. Compression runs on your own machine, so there is no per-file cost, no account and no watermark.