Blog/April 28, 2026·3 min read
Shopify product image size requirements - compress and crop before uploading
What image dimensions and file sizes work best for Shopify product photos, and how to prepare them in your browser before uploading to your store.
Shopify accepts images up to 20 MB and up to 4472 x 4472 pixels. That is the hard limit, but just because Shopify accepts a 15 MB image does not mean you should upload one. Every product image is loaded by customers - often on mobile - and large images slow down your store, hurt your Core Web Vitals score, and can cost you conversions.
Getting images right before uploading is one of the highest-impact things you can do for a Shopify store's speed and SEO.
Recommended dimensions for Shopify product photos
Shopify recommends 2048 x 2048 pixels for product images. This gives you enough resolution for their built-in zoom feature while keeping files manageable. Going above this is rarely useful because Shopify scales images down for display anyway - you are just adding file size for no visible gain.
For square products, a 1:1 ratio at 2048 x 2048 is ideal. For clothing, gear, or products that naturally photograph in portrait orientation, 3:4 or 4:5 works well and looks better in many theme grid layouts.
Use Image crop on toolit to crop your product photos to a consistent aspect ratio before uploading. Consistent ratios mean your product grid looks clean and professional - no awkward mix of landscape and portrait thumbnails breaking the layout.
File size targets for Shopify
| Image type | Target file size |
|---|---|
| Product main image | 200-500 KB |
| Product variant / swatch | 100-300 KB |
| Collection banner | 300-600 KB |
| Hero / header image | 400-800 KB |
These are what to aim for. Shopify's CDN handles caching and some basic optimisation, but it does not recompress your images - it serves what you upload.
How to compress product images for Shopify
Open Image compress on toolit, drop your product photo in, and export as WebP at 80-85% quality. WebP is fully supported by all modern browsers and produces files 25-35% smaller than JPEG at equivalent quality.
If you need JPEG for compatibility with older systems or export pipelines, 80-85% quality gives you a clean result without visible artifacts on most product photos.
Background removal and product photos
If your product photos have a white or solid background, compressing as JPEG is fine. If there is transparency in the image - a PNG with a cutout background - use Image convert to keep it as PNG or convert to WebP, both of which support transparency. JPEG does not support transparency and will fill the background with white or black.
Preparing images properly before uploading to Shopify takes a few minutes but pays off in faster page loads, better Google rankings, and a more consistent-looking storefront.