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.

Flat violet illustration of a home desk at dusk: a monitor shows a photo editor with a city sunset photo and a settings panel, beside a glowing desk lamp, a mug and a drawing tablet.

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:

  1. Open the image and choose File > Export > Export As.
  2. In Format, choose JPG. The other choices are PNG, GIF and SVG.
  3. Lower Quality. It runs from 1% to 100%, and Adobe's note is that "higher values preserve detail but increase file size."
  4. 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.
  5. 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.

The two ways Export As makes a file smaller Two side-by-side boxes. The left box, Image Size, says to lower the width and height: half the width and half the height leaves a quarter of the pixels. The right box, Quality, says to lower the slider from 100 percent: the pixel count stays the same but less detail is kept. Image Size: fewer pixels Half the width and height leaves a quarter of the pixels Quality: less detail Same pixel count Too low and blocky patches appear

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:

RouteWhereQuality settingGood for
Export AsFile > Export > Export As1% to 100%One image, size shown before saving
Save for WebFile > Export > Save for WebSet in the dialogPreviewing result and file size
Save As JPEGFile > Save As, then JPEG0 to 12Baseline or Progressive options
Quick Export as JPGFile > Export > Quick Export asSet once in Preferences > ExportSame settings, no dialog
Image ProcessorFile > Scripts > Image Processor0 to 12A 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:

  1. Export a JPG from Photoshop first. The tool takes JPG files only, not PSD.
  2. Drop it into Compress JPG and type the limit in "Target max size in MB (optional)", from 0.1 to 50.
  3. 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.

← All compression & file size guides