---
type: blog
title: "Shopify Product Image Size: The Limits, the Best Size, and How to Keep Photos Consistent"
description: "Shopify accepts product images up to 20 MB and recommends 2048 x 2048 px for square photos. Learn the exact limits, which file type to use, and how to keep every product photo the same shape."
date: "2026-11-15"
lastModified: "2026-11-15"
authors: "Runner AI Team"
tags: ["Shopify", "Product Data", "Product Photography"]
featured: false
readTime: "6 min read"
seo:
  title: "Shopify Product Image Size: Limits and Best Size (2026)"
  description: "The best Shopify product image size is 2048 x 2048 px for square photos. See the file size and pixel limits, file types, alt text length, and a pre-upload checklist."
---

The best **Shopify product image size** for a square photo is **2048 x 2048 px**, which is the size Shopify says usually displays best. A product image must be smaller than **20 MB** and no larger than **5000 x 5000 px (25 megapixels)**. Shopify recommends PNG first and JPEG second. Whatever size you choose, use the same aspect ratio for every product photo so that your collection pages line up.

Disclosure: Runner AI publishes this guide, and Runner AI is a store platform that competes with Shopify. The Shopify numbers come from Shopify's [product media types page](https://help.shopify.com/en/manual/products/product-media/product-media-types), its [alt text page](https://help.shopify.com/en/manual/products/product-media/add-alt-text), and its developer page on [product media](https://shopify.dev/docs/apps/build/online-store/product-media), all retrieved on November 15, 2026. The Runner numbers come from Runner's source code on the same date. Limits can change, so check the pages before a large upload.

> **Key Takeaways**
>
> - Use **2048 x 2048 px** for square product photos. Shopify says this size usually displays best.
> - Keep each file **under 20 MB** and within **5000 x 5000 px (25 MP)**, the limits on Shopify's help page.
> - Shopify's developer page lists a lower limit of **4472 x 4472 px (20 MP)**. If an app or a script uploads your photos, stay under that number.
> - Use **one aspect ratio** for every product photo. Mixed shapes make product grids uneven.
> - Write alt text of **125 characters or less**. Shopify allows up to 512.

## Shopify product image requirements

| Requirement | Shopify help page | Shopify developer page |
| --- | --- | --- |
| Maximum file size | Smaller than 20 MB | 20 MB |
| Maximum dimensions | 5000 x 5000 px, or 25 megapixels | 4472 x 4472 px, or 20 megapixels |
| Recommended size | 2048 x 2048 px for square images | 2048 x 2048 px |
| File types | PNG (best), then JPEG. Also TIFF, BMP, GIF, SVG, HEIC, and WebP | PNG, GIF, JPEG, WebP, HEIC |
| Aspect ratio | Use one ratio for all images so they display at the same size | From 100:1 to 1:100 |
| Alt text | Up to 512 characters, 125 or less recommended | Not listed |

The two Shopify pages disagree on the maximum dimensions. The help page is written for merchants who upload in the Shopify admin. The developer page is written for apps that add media through Shopify's API. A 2048 px photo fits both, which is one more reason to use it.

Shopify makes smaller copies of each image for phones, product grids, and thumbnails. You upload one large file, and the theme picks the copy it needs. A file much larger than 2048 px mostly makes your uploads slower.

## Why 2048 x 2048 px is the safe choice

A 2048 px square photo is large enough for a shopper to zoom in on fabric, stitching, or a label. It is small enough to stay under the 20 MB limit as a JPEG. It also fits inside the lower 20 megapixel limit that apps must follow.

If your products are tall, such as bottles or clothing on a model, a portrait ratio such as 4:5 can show more of the item. That is fine. The rule is not "always square". The rule is "always the same shape". Pick one ratio for the whole catalog and crop every photo to it.

## Which file type to use

- **JPEG** for most product photos. It keeps files small, and Shopify accepts it.
- **PNG** when you need a clear background or sharp edges, such as a logo on a shirt. Shopify lists PNG as the best type. PNG files are larger, so check the size before you upload a batch.
- **WebP** if your editing tool exports it. It is usually smaller than JPEG at the same quality.
- **HEIC** is the default format on many iPhones. Shopify accepts it, but other tools you use may not. Convert to JPEG if you plan to reuse the photo elsewhere.

## A checklist before you upload product photos

1. **Crop every photo to one aspect ratio.** Square at 2048 x 2048 px is the simplest choice.
2. **Check the file size.** Each file must be under 20 MB. Export at 2048 px instead of uploading the full camera file.
3. **Use the same background and lighting** across a collection, so that the grid looks like one store. Our [image background guide](./image-background-change) shows how to change a background without changing the product.
4. **Do not enlarge a small photo** to reach 2048 px. Upscaling adds pixels, not detail. Read our [image resolution guide](./increase-image-resolution) before you try it.
5. **Put the main photo first.** It is the photo shoppers see in the product grid.
6. **Add a photo for each variant** that looks different, such as each color. Our [product variations guide](./product-variations-examples) covers how to set them up.
7. **Write alt text** for each photo. Describe the product and what the photo shows, in 125 characters or less.
8. **Open the product page on a phone** after you save. Check the crop, the zoom, and how fast the photos load. Our [Core Web Vitals guide](./website-performance-core-web-vitals) explains why large images slow a page.

## How Runner AI handles product photos

If you move a store from Shopify to Runner AI, the same 2048 px photos work without changes. Here is what Runner's product editor does with an upload:

- **File types.** JPEG, PNG, GIF, and WebP.
- **File size.** You can pick a file of up to 10 MB. If a file is larger than 3 MB, the editor shrinks it in your browser before it uploads. The longest side becomes 2048 px or less. A PNG stays a PNG. Other types become WebP. A GIF larger than 3 MB is refused, because shrinking it would break the animation.
- **Photos per product.** A new product can have up to 8 photos. If you add more, the editor names the limit before it saves. This message was added on November 14, 2026. Before that, the save failed with no reason.
- **Variant photos.** Each variant can have its own photo. A variant without one shows the product's main photo.

If you have no product photos yet, our [AI product photography guide](./ai-product-photography-no-studio) explains how to make them without a studio.

## FAQ

### What is the best Shopify product image size?

For square photos, 2048 x 2048 px. Shopify's help page says this size usually displays best. If you use a different shape, such as 4:5 portrait, use it for every product.

### What is the maximum image size on Shopify?

Shopify's help page says a product image must be smaller than 20 MB and no larger than 5000 x 5000 px, or 25 megapixels. Shopify's developer page lists 4472 x 4472 px, or 20 megapixels, for media added through the API.

### Should Shopify product images be square?

They do not have to be square, but they should all be the same shape. Shopify's help page says to use a consistent aspect ratio so that images display at the same size. Square is the most common choice because it fits most themes.

### What file type is best for Shopify product images?

Shopify lists PNG as the best type, followed by JPEG. In practice, JPEG keeps photos small, and PNG suits images that need a clear background or sharp edges.

### How long should alt text be on Shopify?

Shopify allows up to 512 characters and recommends 125 or less. Describe the product and what the photo shows, such as "Blue linen shirt, back view".
