Compress JPG for Web
A preset of Compress JPG
Images are usually the largest thing on a web page and the most common reason a Lighthouse score falls short. This preset uses quality 78 and caps the longest edge at 1920px — the settings that give the best size-to-quality ratio for full-width hero images.
- Files never leave your device
- Free, no signup
- No watermarks
- Works offline once loaded
How to compress jpg
- 1
Add your photos
Drag JPG files onto the drop area, click to browse, or paste an image from your clipboard. Up to 20 files at a time.
- 2
Pick quality or a target size
Use the quality slider for a quick result, or switch to target size mode and type the exact file size you need.
- 3
Download
Save each image individually, or download every compressed photo at once as a ZIP archive.
Images are usually what makes a page slow
On a typical content page images account for the majority of transferred bytes, and the largest one is very often the Largest Contentful Paint element — the metric Core Web Vitals measures directly. A hero image that arrives half a second later moves LCP by half a second, and LCP above 2.5 seconds is the threshold at which a page stops counting as good.
The most common mistake is serving the file straight from the camera or the designer. A 4000px, 5 MB JPEG displayed in a 1200px container transfers roughly twenty times more data than the layout can show. The browser downscales it on arrival, so the visitor waits for detail that is discarded before it is ever painted.
Quality 78 at 1920px, and what to pair it with
Quality 78 sits just below the point where JPEG artefacts become perceptible on photographic content, and 1920 pixels covers full-width display on the overwhelming majority of screens. Together they typically cut a hero image to under 300 KB. Going further with quality costs visible fidelity for relatively little payload; going further with dimensions starts to look soft on high-density displays.
Compression is only part of the fix, though, and the rest is markup. Set explicit width and height attributes so the browser can reserve space and avoid layout shift, add loading="lazy" to everything below the fold, and let the one image that is the LCP element load eagerly. Serving a modern format alongside the JPEG via a picture element is usually the next largest win after this step.
- Full-width hero images
- 1920px is the right cap. This preset targets exactly that case.
- In-article and card images
- Rarely need more than 800–1200px. Cap them lower and the saving compounds across the page.
- Thumbnails and avatars
- 400px is generous. These are frequently shipped at ten times the size they render.
Frequently asked questions
Are my photos uploaded to a server?
No. Compression happens entirely inside your browser using the Canvas API in a Web Worker. Your photos never travel over the network, which is also why the tool keeps working if you disconnect.
How much smaller will my JPG get?
Photographs typically shrink by 60–80% at quality 80 with no difference visible at normal viewing size. Images that are already heavily compressed will shrink less, and the tool will tell you exactly how much it saved.
Does compressing a JPG reduce its dimensions?
Not unless you ask it to. By default only the encoding quality changes. Turning on "Resize" additionally caps the longest edge, which is usually the fastest way to make a photo dramatically smaller.
Is there a file size or batch limit?
Files up to 50 MB and 20 images per batch. The limit exists because everything is held in your device memory — there is no server queue to wait behind.
Will EXIF data like GPS location be kept?
No. Re-encoding through the canvas discards all EXIF metadata, including camera model and GPS coordinates. That is usually what you want before sharing a photo publicly.
Should I use WebP instead of JPG for the web?
WebP is typically 25–35% smaller than JPEG at equivalent quality and is supported by every current browser, so it is the better default for new work. JPEG remains the safer universal fallback and the right choice when a file has to be opened by arbitrary software. Serving both through a picture element gets the saving without giving up compatibility.
You might also need
Compress PNG
Shrink PNG files while keeping transparency
Resize Image
Change image dimensions by pixels or percentage
WebP Converter
Convert images to and from WebP
Remove EXIF Data
Strip GPS location and camera data from photos
Background Remover
Cut the background out of any photo, right in your browser
Color Palette Extractor
Pull the dominant colors out of an image
Crop Image
Drag to crop, with aspect ratio presets
Favicon Generator
Every favicon size plus the HTML to install it