Shopify Image Size Guide
The dimensions, limits and formats Shopify actually wants, and a tool to hit them.
Last updated
Shopify serves your product images in modern formats automatically, but it can only work with what you upload. Starting from a correctly-sized, well-compressed source is still the biggest lever on storefront speed, and speed feeds Core Web Vitals, which affects both rankings and conversion.
Square images at 2048 × 2048 px are the practical sweet spot: large enough for Shopify's zoom, small enough to stay fast, and consistent so collection grids line up cleanly.
Shopify image requirements
| Recommended size | 2048 × 2048 px (square, for zoom) |
|---|---|
| Maximum resolution | Stay under 20 MP. Shopify states two different limits |
| Maximum file size | 20 MB |
| Accepted formats | JPEG, PNG, WebP, HEIC, GIF |
| Recommended format | PNG then JPEG, per Shopify. Upload format matters less here |
| Aspect ratio | 1:1 square for consistent collection grids |
Source: Shopify Help Center: Product media
How to do it
- 1Open the bulk resizer and add your product photos.
- 2Set dimensions to 2048 × 2048 and choose pad mode for an exact square canvas.
- 3Set the output format to JPEG or PNG, which is what Shopify recommends, and compress: the weight of the file matters more here than the format, because Shopify re-encodes it anyway.
- 4Download the optimized images and upload them to your Shopify product.
Frequently asked questions
What is the best image size for Shopify products?
Square images at 2048 × 2048 px so customers can zoom, which is also the size Shopify itself recommends. Keep every file under 20 MB and under 20 megapixels. Shopify publishes two different maximums: its Help Center says product images can be up to 5000 × 5000 px or 25 MP, while its developer documentation and its own upload-limits page both say 20 MP, and the troubleshooting on that page tells you to resize a 5000 × 5000 px image down. Staying under 20 MP satisfies both, and 2048 px square is well inside it.
Should I use WebP or JPEG on Shopify?
Shopify's own documentation recommends PNG first, then JPEG, and lists WebP among the formats it accepts rather than the ones it advises. This matters less on Shopify than almost anywhere else: its imagery service re-encodes what you upload and serves WebP or AVIF to whichever browser supports them, so uploading WebP does not make the storefront faster on its own. What does move the needle is the size and weight of the file you give it, so resize to 2048 px square and compress before uploading, in whichever of PNG, JPEG or WebP suits your images.
Will optimizing images hurt their quality?
No. High-quality resampling plus a sensible target file size keeps images sharp while making them dramatically smaller.
Do image sizes affect Shopify SEO?
Indirectly but significantly. Large images slow Largest Contentful Paint, one of Google's Core Web Vitals. Faster product pages tend to rank better and convert more visitors.
What size should Shopify collection thumbnails be?
Thumbnails are generated from your product image, so a consistent 1:1 source keeps every grid tile aligned. Upload one square master rather than separate thumbnail files.