How to Compress an Image in Photoshop
Export As shows the file size while you move the Quality slider. What it can't do is aim for a size limit for you.
To compress an image in Photoshop, choose File > Export > Export As, pick JPG, lower the Quality slider, and check the file size Photoshop lists before you select Export. Making the Width and Height smaller in the same dialog cuts the size further. If you don't have Photoshop to hand, or the file has to fit under a fixed limit such as 1MB, Compress Image does the job in your browser, and the image is never uploaded.
How to compress an image with Export As
These steps follow Adobe's help pages Fine-tune export settings with Export As and Export settings and export location preferences:
- Open the image and choose File > Export > Export As.
- In Format, choose JPG. The other choices are PNG, GIF and SVG.
- Lower Quality. It runs from 1% to 100%, and Adobe's note is that "higher values preserve detail but increase file size."
- To shrink the file further, type a smaller Width or Height under Image Size. The two are locked together, so the picture keeps its proportions. Scale shrinks both sides at once.
- Check the file size in the list of exported items, then select Export.
There's no single right Quality number: lower it in steps and stop when edges or skies turn blocky. See compressing a JPG without artifacts.
Quality or pixel size: which shrinks the file more?
If the photo has more pixels than it will be shown at, lowering the pixel size is the bigger saving. Halving the width and height leaves a quarter of the pixels, and fewer pixels is less to store. Quality only changes how much detail each part keeps. Resize first, then trim Quality.
Resizing in Photoshop covers Image > Image Size, and lossy vs lossless compression explains why lowered Quality can't be undone.
Compressing a PNG in Photoshop
Export As has no Quality slider for PNG, only two checkboxes: Transparency (a 32-bit file) and Smaller File (8-bit). Smaller File stores far fewer colors, which suits logos and flat graphics; smooth gradients in photos can band.
Compress PNG gives you a slider instead. It reduces the color levels in each channel, keeps the file a PNG, and leaves transparent areas exactly as they were. See how to compress a PNG for when JPG is the better format.
Other ways Photoshop compresses a JPG
The other routes don't share a quality scale:
| Route | Where | Quality setting | Good for |
|---|---|---|---|
| Export As | File > Export > Export As | 1% to 100% | One image, size shown before saving |
| Save for Web | File > Export > Save for Web | Set in the dialog | Previewing result and file size |
| Save As JPEG | File > Save As, then JPEG | 0 to 12 | Baseline or Progressive options |
| Quick Export as JPG | File > Export > Quick Export as | Set once in Preferences > Export | Same settings, no dialog |
| Image Processor | File > Scripts > Image Processor | 0 to 12 | A whole folder, with Resize to Fit |
Don't copy numbers between the 0-12 and percentage scales. Export from the PSD or the original photo, never from an already-compressed JPG, to avoid generation loss.
When the file has to fit a size limit
None of the Export As settings is a target size. If a form says "under 2MB", you lower Quality, read the size, and try again. Compress JPG has a field for it instead:
- Export a JPG from Photoshop first. The tool takes JPG files only, not PSD.
- Drop it into Compress JPG and type the limit in "Target max size in MB (optional)", from 0.1 to 50.
- Compress, then download. The file stays a JPG with the same name.
It searches for a quality setting that fits. If even its lowest setting is too big, it makes the width and height smaller and tries again; if the limit still can't be reached, you get the smallest file it managed, so check the reported size. Leave the field empty to use the "Compression quality" slider (0.3 to 1) instead, which shows an estimated output size as you move it, and hands back your original unchanged if compressing would make it bigger. For PNG or WebP, Compress Image has the same controls. Limits under 0.1MB have their own pages, such as Compress Image to 50KB; see compressing to a target size.
FAQ
Does exporting change my PSD?
No. Export As and Save for Web write a separate file, and Adobe's Save for Web page says the original PSD "remains unchanged". A JPEG doesn't keep layers, so keep the PSD if you'll edit again.
Why is my export bigger than the photo I started with?
The original was probably compressed harder than the Quality you picked. Lower Quality or the pixel size and check again.