Source photo
Compress JPEG Images
Reduce your JPEG and JPG file size online. Fast client-side image compression inside your web browser.
JPEG compressor · photo workflow
Compress JPEG photos online, with dimensions in your control
Use this JPEG compressor to reduce JPEG or JPG file size in your browser. Keep the source width and height when you need them, then check the output before downloading.
Photo workspace
coastal-evening.jpeg
Keep Original Dimensions
Preserve width and height
A photo-sized file
What changes when you compress a JPEG?
JPEG compression re-encodes image data to reduce file size. The scene and dimensions can stay the same, while fine image data may change because JPEG is a lossy format.
Illustrative comparison, not a measured export. File-size savings and visible changes depend on the original JPEG.
Smaller file, when possible
Useful, not complicated
A straightforward online JPEG compressor
A focused way to make a JPEG photo smaller, preserve the original dimensions when needed, and check the file before saving.
Made for JPEG photos
Compress everyday JPG and JPEG photos for easier sharing, storage, and use on the web.
Keep the source dimensions
Keep Original Dimensions is enabled by default. Turn it off when resolution scaling is acceptable.
Runs in your browser
Your image is processed on your device instead of being sent to a remote image-compression service.
See the output size
Review the compressed JPEG file size before downloading. The tool avoids reporting a larger result as a saving.
Three simple steps
How to reduce JPEG file size
Upload a photo, choose whether to keep its dimensions, and download the compressed JPEG if the result is smaller.
- 01
Upload a JPEG photo
Choose a .jpg or .jpeg file, or drop it into the uploader to open it in the workspace.
- 02
Choose dimensions
Keep the original width and height, or switch off Keep Original Dimensions to allow scaling.
- 03
Compress and download
Start JPEG compression, check the resulting file size, and download the smaller JPEG if available.
Behind the scenes
How PngExport compresses JPEG images in your browser
JPEG photos are re-encoded on your device using a browser worker and a fixed compression setting. You can keep the dimensions preference on or allow scaling.
- 01
Read the JPEG locally
Select a .jpg or .jpeg file. The image is processed in the browser, not uploaded to a compression server.
- 02
Re-encode as JPEG
The browser compression worker creates a JPEG output with the tool's built-in setting. There is no quality slider.
- 03
Compare file sizes
The new JPEG is checked against the original. If scaling is allowed and the first pass is not smaller, the tool tries a more aggressive pass.
- 04
Keep a smaller result
A .jpeg download is provided only when it is smaller than the source. If it is not, the tool reports that it could not reduce the size.
Keep Original Dimensions is enabled by default. JPEG uses lossy compression, so visible results can vary by photo; inspect the output before using it.
Good uses for a smaller JPEG
A JPEG compressor can help when a photo is larger than its destination requires. Smaller image files can take less storage and bandwidth, but page speed and search visibility also depend on how the rest of a site is built.
- Website and blog photography
- Email attachments and document images
- Phone and camera photo sharing
- Presentation and social content
Everyday photo workflows
When does JPEG make sense?
Website photos
Prepare JPEG images for a blog, portfolio, or web page where a smaller image payload is useful.
Phone and camera pictures
Reduce everyday photo file sizes before sharing them from a mobile device or computer.
Email and documents
Make JPEG attachments more manageable for messages, presentations, and reports.
Content and social posts
Create a lighter copy of a photo for a post or content workflow while keeping its dimensions if needed.
Choose the right format
JPEG vs PNG vs WebP
JPEG is a common choice for photographs. PNG and WebP are alternatives when transparency or a different image workflow is needed.
| Format | Transparency | Typical use |
|---|---|---|
| JPG / JPEG | No | Photographs and general-purpose images |
| PNG | Yes | Transparent graphics and screenshots |
| WebP | Yes | Web images, including photos and graphics |
JPEG compression, processed locally
The compression step runs in your browser on your device. Your photo is processed locally rather than sent to a remote JPEG compressor.
Help center
JPEG compression FAQs
How do I compress a JPEG online?
Upload a .jpg or .jpeg image, choose whether to preserve its original dimensions, and select Compress JPEG. Review the output size and download the result if it is smaller.
Are JPG and JPEG the same format?
Yes. JPG and JPEG are two file extensions for the same image format. This compressor accepts both .jpg and .jpeg files.
Will compressing a JPEG reduce image quality?
JPEG uses lossy compression, so re-encoding can change image data. This tool uses a consistent compression setting rather than a quality slider; results vary with the source photo.
Can I keep the original JPEG dimensions?
Yes. Keep Original Dimensions is enabled by default. Leave it on to retain the source width and height, or turn it off to allow resolution scaling.
Does the JPEG compressor work with PNG or WebP?
No. This page accepts JPG and JPEG files only. Use the PNG compressor for PNG images, or choose a suitable conversion tool for another format.
Are my JPEG photos uploaded to a server?
Compression runs locally in your browser on your device. The image is not sent to a remote compression service by this tool.
Will every JPEG become smaller?
No. A JPEG that is already optimized may not get smaller when re-encoded. The tool reports when it cannot create a smaller file.
More image tools
Choose the format or edit you need
Switch formats or adjust the image dimensions for a different destination.
The JPEG compressor is just above.