Compress images without uploading them
The compression itself happens in your browser, with five presets covering web, social, thumbnail, email and custom settings. Animated GIFs and SVG files are rejected, because neither is a single still raster image.
At a glance
- Tool
- /tools/image-compressor
- Web Optimized preset
- Quality 80, maximum width 1920
- Social Media preset
- Quality 85, a fixed 1200 by 630 frame
- Thumbnail and Email presets
- Quality 70 at 300 by 300, and quality 60 at 800 wide
- Output formats
- JPEG, PNG, WebP or AVIF
- Rejected inputs
- Animated GIF and SVG
In detail
The pictures people compress are less innocent than they look. Product photos before a listing, yes, but also screenshots of an internal dashboard heading for a public issue tracker, and a photographed form heading for an upload field with a two megabyte cap. A screenshot of a work system is company data in an image wrapper.
Pick the preset for the destination rather than by size alone. Web Optimized caps the width at 1920 and holds quality at 80, which suits a page image. Social Media produces a fixed 1200 by 630 frame, the shape link previews use, so compose for that crop rather than expecting your whole photo to survive. Thumbnail and Email go much smaller and much harder, and at quality 60 at 800 pixels wide, small text in a screenshot stops being readable.
Format matters as much as quality. WebP and AVIF hold detail at smaller sizes than JPEG; JPEG is the one every system accepts; PNG is the right answer for flat colour, diagrams and anything containing text. An animated GIF and an SVG are refused outright, because a GIF is a sequence of frames and an SVG is markup, and neither is what a still raster compressor operates on.
You can watch the compression run with no network at all. Load the page, disconnect, then compress: it completes and downloads, because the work is happening on your machine. Doing it with the network panel open shows the same thing from the other direction.
Things that catch people out
- Animated GIFs and SVG files are rejected. Convert a GIF to a still first if a single frame is what you actually want.
- These presets are lossy. Keep the original, because detail removed by compression cannot be recovered from the smaller copy.
- Compression does not touch metadata. If the image is a photo you are about to publish, check the EXIF separately.
- Check what the destination actually limits. Plenty of forms cap the file size rather than the dimensions, so a large lossless image can fail a limit at perfectly legal dimensions.
Try it: Hash Generator
The file hasher is on every page here because it takes any file at all and proves the point: disconnect from the network, drop a file in, and it still returns a checksum you can compare against a published one.
Hash Generator
LOCAL · Browser-OnlyGenerate MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-512, Keccak-256, CRC32, and HMAC hashes from text or files
MD5 is cryptographically broken and should not be used for security purposes. Use SHA-256 or SHA-512 instead.
Related Working without uploading
All working without uploading →Resize images without uploading them
Resize to exact pixels, a percentage or a preset in your browser. The 8192 pixel and 32 megapixel ceilings, and what to check afterwards.
Convert between image formats without uploading
Convert to JPEG, PNG, WebP, BMP or AVIF in your browser. What each format is for, and why a GIF converts as its first frame only.
Remove EXIF data from a photo without uploading it
View and strip EXIF in your browser. What a phone photo records: coordinates, the exact timestamp, the camera model and its serial number.
Crop an image without uploading it
Crop to a free or fixed ratio in your browser, with rotation and flips. Why cropping genuinely removes pixels but never removes EXIF.
Convert SVG to PNG without uploading the file
Rasterise an SVG to PNG, JPEG or WebP in your browser. Why an SVG is a text file that usually carries layer names and editor metadata.
Optimise an SVG without uploading it
Clean up SVG markup in your browser. What an exported SVG carries beyond the drawing, and why that is a disclosure risk, not just weight.
Tools for this
- Image Compressor & Resizer Compress images online free without uploading - reduce image file size in your browser with no quality loss
- Image Resizer Free online image resizer - resize images to exact dimensions, percentage, or common presets
- EXIF Data Viewer Free online EXIF data viewer - view and strip EXIF metadata from photos for privacy