Product images do most of the selling in an online store, and Shopify gives clear limits for what you can upload. This guide summarizes the numbers from Shopify's own help center, then shows how to get your photos to a sensible size before you upload them.

Shopify image requirements at a glance

ItemWhat Shopify says
Maximum dimensionsUp to 5000 x 5000 px, or 25 megapixels
Maximum file sizeSmaller than 20 MB
Recommended size (square)2048 x 2048 px usually displays best
Best file typePNG, followed by JPEG
Other accepted typesTIFF, BMP, GIF, SVG, HEIC and WebP (animated GIF and WebP supported)

Shopify also notes that its image service works out which format each visitor's browser supports and serves the best one available, and that it automatically creates smaller versions for different parts of your theme.

Which size should you actually upload?

The limit is a ceiling, not a target. For most stores a square image around 2048 x 2048 px is a good balance: sharp enough for zoom, but far smaller than a 5000 px original straight from a camera. Uploading a 20 MB file does not make the page look better, because Shopify resizes it for each placement anyway, but it does make your own uploads slower.

Tip: Keep one consistent aspect ratio for your main product images. Shopify points out that images of different shapes show up at different sizes on collection pages, so a consistent ratio keeps the grid tidy.

How to prepare Shopify product images (free)

  1. Remove a cluttered background: use the Background Remover for a clean cut-out, then the BG Color Changer for a white or brand-colored backdrop.
  2. Crop to one ratio: use the Crop tool so every main image has the same shape (for example 1:1).
  3. Resize to 2048 px: use the Resize tool. Scaling down keeps images sharp; scaling a small photo up does not add detail.
  4. Compress: run the file through the compressor to cut the file size before upload. See how to compress without visible quality loss.
  5. Add alt text in Shopify for each image, see how to write good alt text.

Why bother compressing if Shopify optimizes images? Shopify serves optimized versions to shoppers, but a smaller source file still uploads faster and is easier to manage. Check your store speed in your own reports rather than assuming either way.

Common mistakes

Sources

Checked against the official pages in October 2026. Platforms change their rules without notice, so confirm on the linked page before you publish.

Frequently Asked Questions

What is the maximum image size on Shopify?

Shopify says product and collection images can be any size up to 5000 x 5000 px (25 megapixels), and the file must be smaller than 20 MB.

What is the best size for Shopify product images?

For square product images Shopify says 2048 x 2048 px usually displays best. Keep the same aspect ratio across your main images so collection pages look consistent.

Does Shopify support WebP?

Yes. Shopify lists WebP among its accepted file types, along with PNG, JPEG, TIFF, BMP, GIF, SVG and HEIC. Its recommended type is PNG, followed by JPEG.

Should I compress images before uploading to Shopify?

It is a good habit: smaller files upload faster and are easier to manage, and you can resize large camera originals to around 2048 px first. Shopify also creates optimized versions for display.

How do I resize a product image for free?

Use the free Resize tool on TinyPNG Now, enter the target width and height, and download the result. Crop to your chosen aspect ratio first.