Online Image Shrinker
OnlineImageShrinker
Back to Guides
E-commerce

Shopify Product Image Requirements 2026: Size, Format & Limits

Shopify product image requirements come down to three numbers. Files must be under 20 MB. The pixel count can't go past Shopify's megapixel cap (more on the confusing part in a second). And square photos display best at 2048 x 2048 px. Accepted formats are JPEG, PNG, WebP, HEIC and GIF. Those are the core limits. The catch is that a common cause of upload failures isn't the 20 MB limit at all, and a photo that passes the upload can still be far heavier than it needs to be.

So here's what actually goes wrong, the size that fixes it, and how to get a folder of camera-roll photos there in a couple of minutes without installing anything.

Compress your product photos → — runs in your browser, no upload.


Shopify product image requirements at a glance (2026)

SpecShopify's value
Maximum file sizeUnder 20 MB per image
Maximum dimensions5000 x 5000 px (25 megapixels) per the Help Center, 4472 x 4472 px (20 megapixels) per the developer docs
Recommended square size2048 x 2048 px
Accepted formatsJPEG, PNG, WebP, HEIC, GIF
Aspect ratioAnything between 100:1 and 1:100
WebP deliveryAutomatic, no theme changes needed

Sources: Shopify Help Center — Product media types, Shopify developer docs — Manage media for products and collections


The megapixel limit is the one that bites

Have you ever had Shopify reject a photo that was nowhere near 20 MB? That's the megapixel cap, and Shopify's own pages don't agree on where it sits. The Help Center says product and collection images can be any size up to 5000 x 5000 px, or 25 megapixels. The developer docs list the ceiling as 4472 x 4472 px, which works out to 20 megapixels.

Which one is right? Even the Help Center is split, because its theme images page says 20 megapixels. It doesn't matter for you. Stay under 4472 px on both sides and you clear every version of the rule. And that same page spells out the fix. If you get a "file is too large" error on an image that's under 20 MB, the problem is the megapixel count. Reduce the pixel dimensions.

Quick triage: open the photo's properties and multiply width by height. Over 20,000,000 means resize, not compress.

Where this trips people up is modern phones. A 12-megapixel photo is fine. But a 48-megapixel shot from a current flagship phone, or anything straight off a mirrorless camera, blows past 20 megapixels without the file ever getting close to 20 MB. The upload fails, the error message points at file size, and you waste ten minutes compressing the wrong thing.

Megapixels at each Shopify-relevant size width x height, in millions of pixels 5000 x 5000 (Help Center cap) 4472 x 4472 (dev docs cap) 2048 x 2048 (recommended) 500 x 500 (Google minimum, 2027) 25 MP 20 MP 4.2 MP 0.25 MP Pixel counts computed from the dimensions Shopify and Google publish. 2048 x 2048 is roughly a sixth of the cap.

Look at the gap between the cap and the recommended size. 2048 x 2048 is about 4.2 megapixels, roughly a sixth of what Shopify will accept. You're not supposed to upload near the ceiling. The ceiling is just where uploads stop working.

Why 2048 x 2048 is the number to hit

Shopify says square product images at 2048 x 2048 px generally display best, and that's not an arbitrary pick. Shopify generates multiple sizes of every image you upload and serves whichever one fits the shopper's screen, so your original only needs enough pixels to cover the biggest view a theme will ask for. 2048 px is more than enough for a full-width view on a high-density phone screen. Past that, you're adding storage and processing without adding anything a shopper can see.

Square is the safe default because most themes build collection grids, cart drawers and related-product rows around square thumbnails. A 1:1 main image slots in everywhere without surprise crops.

Non-square shots still work. A jacket on a model or a sofa in a room often looks wrong forced into a square, and Shopify accepts anything between 100:1 and 1:100. The practical rule is to keep the long edge at or above 2048 px and keep one aspect ratio within a single product's gallery, so the images don't jump around as a shopper swipes.

Resize first, then compress (the order matters)

This is the part most sellers get backwards. They open a compressor, drag the quality slider down, and watch the file barely move. We've measured this on our own Compress tool with an ordinary 12-megapixel phone photo (3024 x 4032 px, 1.62 MB JPEG) run through the same encoder the page uses:

  • JPG at 80% quality, full size: 1.61 MB, basically unchanged
  • JPG at 60% quality, full size: 588 KB, and visibly softer
  • WebP at 80% quality, full size: 1.03 MB, a 36% cut with no resize at all
  • JPG at 80% quality, resized to 2000 px wide (2667 px on the long edge): 491 KB, a 70% cut

Dimensions do the heavy lifting. Quality does the trimming. So the workflow is:

  1. Resize to 2048 px on the long edge with the Resize tool. If you need every photo in a gallery to share one shape, run them through the Crop tool first and lock the ratio.
  2. Compress the resized file in the Compress tool. Start at the 80% default and look at the compare view at 100% zoom on fabric, text or a face. Only go lower if it still looks clean.
  3. Pick WebP as the output format if you want the smallest file. Shopify accepts WebP uploads directly.
  4. Check the number under the preview. For a 2048 px product shot, expect a few hundred kilobytes. If a photo is still in the megabytes after resizing, the quality setting is the next lever.

Everything in that list happens in your browser. The photos never leave your computer, which matters when you're batching unreleased products before a launch.

JPEG, PNG or WebP?

WebP is the right default for Shopify product photos in 2026. Google's own WebP compression study puts lossy WebP files at 25 to 34% smaller than JPEGs of the same measured quality. Our 36% on one test photo came from a fixed 80% quality setting rather than a quality-matched comparison, so it lands in the same range, a touch above it. Shopify also serves WebP automatically. Its changelog entry says online stores deliver WebP to browsers that support it with no settings or code changes, so uploading a JPEG doesn't lock you out of the savings either. Uploading WebP just means the original sitting in your media library is already small.

JPEG is still fine. If your export tool doesn't offer WebP, or you're sending the same photos to a channel that doesn't take it, JPEG at 80% is a perfectly good product image.

PNG is the one to avoid for photos. It's a lossless format built for logos, screenshots and graphics with hard edges or transparency. A photograph saved as PNG carries far more data than the same shot as JPEG or WebP, with no visible gain on a product page. Use PNG for your logo and your size chart. Use WebP or JPEG for the product.

If you've got a folder of PNG or HEIC exports to deal with, the image converter switches formats in the browser, and our WebP conversion guide covers the edge cases.

Why file size still matters after the upload succeeds

Shopify resizes what you upload before it reaches a shopper, so a heavy original isn't a disaster. But every size Shopify makes starts from your file. A soft, over-compressed or oddly cropped original stays that way in every derivative, and a bloated one makes each upload slower and your media library heavier. Start clean and everything downstream is clean.

Page speed is the other half. Google's "good" threshold for Largest Contentful Paint, the time until the biggest visible element renders, is 2.5 seconds or less at the 75th percentile of page loads. On a product page that element is almost always the main photo. Our guide to optimizing images for web speed covers that side.

Selling through Google too? Mind the 2027 minimum

One more date for the calendar. Shopify's Google channel requirements note that from January 31, 2027, Google requires product images to be at least 500 x 500 px in every product category. Images below that won't be approved in Merchant Center after the deadline, and Merchant Center already flags undersized ones with an "Image too small for upcoming enforcement" warning.

Follow the 2048 px advice above and you're four times over that minimum on each side. The sellers who'll get caught are the ones who shrank old catalog photos to tiny thumbnails years ago. Those need re-exporting from the originals, not upscaling.

Common mistakes that cause Shopify image rejections or blurry listings

  • Compressing the file when the pixels are the problem. A 48-megapixel photo at 8 MB fails on megapixels, not bytes. Resize it.
  • Uploading at the cap "to be safe." 5000 x 5000 isn't safer than 2048 x 2048. It's just slower to upload and bigger to store.
  • Mixing aspect ratios in one gallery. Square, then portrait, then a wide shot makes the product viewer jump between crops.
  • Uploading PNG photos because "PNG is higher quality." It's lossless, not sharper. For a photo that's extra weight for nothing.
  • Shrinking below 2048 px to make files small. You lose zoom sharpness permanently. Compress or switch to WebP instead.
  • Saving in Adobe RGB. Phones shoot sRGB by default, but photos edited in desktop software can export in a wider color space that looks dull in a browser. Export as sRGB.

Selling on Etsy or Amazon as well?

The same 2048 px master works across all three. Etsy recommends listing photos at least 2000 px in both width and height and Amazon has its own main-image rules, so shoot and edit once at full resolution, then resize per platform. Our Etsy listing photo guide and Amazon product image requirements guide have each marketplace's exact spec.

The Bottom Line

Shopify product image requirements are generous on paper: 20 MB, up to 20-25 megapixels, five formats. Treat those as the ceiling, not the target. Ship square product photos at 2048 x 2048 px, or 2048 px on the long edge, compressed to WebP or JPEG at around 80% quality. You'll clear every upload rule, look sharp in zoom, and keep your product pages fast.

Resize and compress your product photos → — everything happens in your browser, so your photos never leave your device.

Related guides

We use cookies for analytics and personalised advertising. By accepting, you allow these uses. See our Privacy Policy and Cookie Policy.