Shopify Product Image Size Guide 2026

Published: August 6, 2026 7 min read

Shopify recommends product images at 2048×2048 pixels, square (1:1), under 20MB. JPEG for product photography; PNG for anything requiring a transparent background. In practice, a well-compressed JPEG at 2048×2048 lands between 500KB and 1.5MB — well under the 20MB ceiling and fast to upload.

Specification Shopify recommendation
Recommended dimensions 2048 × 2048 px
Aspect ratio 1:1 (square)
Maximum file size 20MB
Maximum pixel dimensions 4472 × 4472 px
Accepted formats JPEG, PNG, GIF, WebP
Practical target file size 500KB – 2MB

Specifications current as of August 2026 — confirm against Shopify's product media documentation.

What Shopify actually does with your uploaded image

This is the part most guides skip, and it changes how you should think about upload quality.

Shopify runs all product images through Imgix, its CDN image processing service. When a customer loads your product page, they don't receive the file you uploaded — they receive an Imgix-processed version, resized and recompressed for their screen size and browser. On a desktop browser, Shopify typically serves the image at 1024 pixels wide. On mobile, it's often 400–600 pixels.

Shopify also converts to WebP automatically for browsers that support it (Chrome, Edge, Firefox, Safari) — which covers over 95% of visitors. The WebP version is roughly 30% smaller than the JPEG equivalent at similar visual quality.

What this means practically: uploading a 10MB file does not make your storefront faster or your images sharper for customers compared to uploading a 2MB file at the same 2048px dimensions. Both get processed to the same CDN output. The 10MB file just takes longer to upload and uses more of your Shopify storage quota.

Why square images matter more than the pixel count

Shopify themes display product thumbnails in collection pages and search results at a fixed aspect ratio — usually square, sometimes 4:5. If your images are a mix of landscape, portrait, and square, the theme has to make a choice for each one: letterbox, crop, or stretch. No choice looks good across a mixed set.

Inconsistent aspect ratios in a product grid look unprofessional in a way that pixel count never will. A 1000×1000 JPEG with consistent square framing looks better in context than a 4000×3000 high-resolution photo that gets cropped differently from its neighbors.

Standardize on square before worrying about resolution. If your photos aren't square, crop them consistently — product centered, equal white space on all sides — before uploading.

JPEG vs PNG for Shopify products

JPEG is the right format for the vast majority of product photos. At 2048×2048 pixels and 85% JPEG quality, file sizes land between 500KB and 1.5MB. Shopify converts these to WebP on delivery anyway, so the minor JPEG artifacts in the uploaded file don't reach the customer.

PNG is appropriate when the product needs a transparent background — for example, apparel displayed on a white background where the transparency matters for overlay designs, or isolated product shots where you intend to composite the image elsewhere. A 2048×2048 PNG with transparency is typically 3–8MB, still within Shopify's limits but noticeably larger to upload.

One case where PNG causes problems: if you upload a PNG with a white background (not transparent), you've paid the PNG file size penalty with none of the transparency benefit. Export those as JPEG instead and compress under 2MB before uploading.

The zoom feature needs 2048px — here's why

Most Shopify themes include a zoom feature that lets customers hover or tap to see a magnified view of the product image. The zoom function pulls from the same uploaded image — it doesn't load a separate high-resolution file.

If you upload at 800×800, the zoom shows a heavily upscaled version that looks blurry. At 2048×2048, the zoom has enough pixels to display a magnified crop without upscaling, which keeps the detail sharp. This is the practical reason for Shopify's 2048px recommendation — not the product grid display, where 800px would look fine, but the zoom magnification.

How to prepare product images for Shopify

  1. Crop to square. Center the product with consistent padding on all sides. White or light grey backgrounds are standard for ecommerce.
  2. Resize to 2048×2048. This is the optimal upload size for zoom quality without excessive file size.
  3. Export as JPEG. 85% quality is the sweet spot — indistinguishable from 100% on screen, roughly half the file size.
  4. Compress to under 2MB. Our tool handles this without visible quality loss. A 2048×2048 JPEG at 2MB or under uploads quickly and stays well within Shopify's 20MB limit.
  5. Name files descriptively. Shopify uses the filename as the image alt text default — blue-ceramic-mug-12oz.jpg gives Google something to index; IMG_4892.jpg doesn't.

For a product catalog with dozens of items, handling images one at a time adds up. Batch-compress a folder of exported JPEGs using our tool's single-file flow for each, keeping the compressed versions in a separate folder before bulk uploading to Shopify.

Frequently Asked Questions

What is the recommended Shopify product image size?

2048×2048 pixels, square (1:1), under 20MB. In practice, a well-compressed JPEG at these dimensions lands between 500KB and 1.5MB — far under the limit and fast to upload.

Does Shopify compress images after upload?

Yes. Shopify serves CDN-optimized versions via Imgix and converts to WebP for supported browsers. Your uploaded file is stored, but customers receive a processed version. Uploading a massive file does not improve storefront performance — prepare images at the right size before uploading.

Should Shopify product images be square?

Yes. Shopify themes display product thumbnails in a consistent aspect ratio across collection grids. Mixing orientations causes inconsistent cropping that looks unprofessional. Square (1:1) works in every theme without unexpected results.

What file format for Shopify product images?

JPEG for most product photos. PNG only when you need a transparent background. Shopify converts both to WebP on delivery, so the format choice mainly affects your upload file size, not what customers see.

How do I compress Shopify product images before uploading?

Resize to 2048×2048, export as JPEG, then compress to under 2MB. Our tool handles the compression step — drop the file in and download the compressed version without anything leaving your device.