Resize product images for Shopify

Upload your photos → get padded 2048 × 2048 or fit-inside 2048 px JPEG, PNG or WebP files, every output under both of the pixel limits Shopify’s two official pages give.

🔒 Runs in your browser. Your images are never uploaded.

Drop images here, or click to choose

Up to 20 images at a time, 5 MB each

You can also paste an image with Ctrl / ⌘ + V

Official spec for Shopify (product and collection images)

ItemOfficial valueTypeSourceVerified
File size — product and collection images Smaller than 20 MB required help.shopify.com
Official wording
Product and collection images need to have a file size smaller than 20 MB to be added to Shopify.

Worded as a condition for adding the image, so we treat it as a requirement. Shopify publishes the wording, not a byte count, and does not say whether 20 MB means decimal or binary megabytes. This page reads MB as 1,000,000 bytes, the stricter of the two readings, which gives 20,000,000 bytes; and because the official wording is smaller than, not up to, the cap this page enforces is one byte below that figure, 19,999,999 bytes, so a file of exactly 20,000,000 bytes is flagged rather than passed. Both figures are our arithmetic, not Shopify figures, and the decimal reading is the one this site applies to every platform file-size figure. This bound cannot bind here either way: every output from this page is 2048 × 2048 px or smaller, and an image that size cannot reach 20 MB in JPEG, PNG or WebP, so no output this page can produce is above Shopify’s figure. The cap is still checked on every output rather than assumed, JPEG or WebP quality is lowered if a file would exceed it, and any file still over it is flagged. Separately, this site's own uploader takes files up to 5 MB each — our limit, not Shopify's. The theme images page, which has its own row below with its own source, gives the same figure, 20 megabytes, for uploads in general.

Maximum dimensions — product and collection images Up to 5000 × 5000 px, or 25 megapixels stated help.shopify.com
Official wording
Your product and collection images can be any size up to 5000 x 5000 px, or 25 megapixels.

Both pages word their figure as a limit; because they contradict each other on the pixel ceiling we treat neither as the operative maximum and stay under both, which is why this row and the theme images row below both read stated. The two sentences are shown side by side in the disagreement section. Every output here is 2048 × 2048 px or smaller, which is under both published pixel figures (25 megapixels on the product media page, 20 megapixels on the theme images page) by construction, without a separate megapixel check.

Recommended size — square product images 2048 × 2048 px recommended help.shopify.com
Official wording
For square product images, a size of 2048 x 2048 px usually displays best.

A display recommendation with an official hedge (usually displays best), not a minimum and not a requirement. It is stated for square images only; the page gives no figure for other shapes. The square preset, which is the default here, outputs exactly this size; the fit-inside preset uses it as a ceiling.

Upload limits — all images (theme images page) 20 megapixels or 20 megabytes stated help.shopify.com
Official wording
Images uploaded to Shopify can't exceed either of the following limits: 20 megapixels [or] 20 megabytes.

From a second official page, written for images uploaded to Shopify generally. The page gives the two figures as two list items under the quoted lead-in; the square brackets in the quote mark that they are list items rather than part of the sentence. Both pages word their figure as a limit; because they contradict each other on the pixel ceiling we treat neither as the operative maximum and stay under both, which is why the Type column reads stated on this row and on the product media row above. We do not know which figure the upload path enforces. The 20 megabyte figure agrees with the product media page; the 20 megapixel figure is below that page's 25 megapixels.

Delivery format to shoppers (theme images page) WebP or AVIF when the shopper's browser supports them stated help.shopify.com
Official wording
When a customer's web browser supports modern image formats such as WebP and AVIF, your images are delivered in those formats.

This describes what Shopify sends to the browser, not what you may upload. We hold no captured wording from either official page listing AVIF as a format you can upload, so there is no reason to convert files to AVIF before uploading; this page outputs JPEG, PNG or WebP.

What this tool does

  • Pad each photo to 2048 × 2048 px on a white canvas — the size Shopify recommends for square product images, and the default preset here
  • Give a set of photos of different shapes one consistent aspect ratio that way: Shopify advises a consistent aspect ratio across featured images, which we hold as a recorded note from its product media page rather than a verbatim capture, so it is not a quoted row in the spec table
  • Offer a fit-inside preset that scales each photo down until neither side is over 2048 px and keeps your photo's own aspect ratio, adding no padding
  • Re-encode as 8-bit RGB JPEG (default), PNG or WebP
  • Lower JPEG or WebP quality until each file is under the file size limit Shopify publishes as smaller than 20 MB — reading MB as 1,000,000 bytes that is 20,000,000, and because the wording is smaller than rather than up to we enforce one byte below it, 19,999,999 bytes, both our own arithmetic
  • Flag any file that is over that limit instead of shipping it silently — though no output this page can produce reaches it, because every output is 2048 × 2048 px or smaller. Shopify's 20 MB is the destination's ceiling, while this site's own uploader accepts up to 20 images at a time, 5 MB each, our limit, not Shopify's
  • Produce every output at 2048 × 2048 px or smaller, which is under both official pixel figures (25 megapixels on the product media page, 20 megapixels on the theme images page) by construction, without a separate megapixel check
  • Strip EXIF data and embedded colour profiles as part of re-encoding — we hold no captured Shopify wording on metadata either way, so this is this page's encoder default
  • Never make a photo bigger: a source smaller than 2048 px on its longest side keeps its own pixel size, the square preset centres it on the 2048 × 2048 canvas at that size, and each result row reports both the canvas size and the photo's own pixel size
  • Show the two official sentences that disagree on the maximum pixel count side by side, each with its own source
  • Say in the FAQ below where the two official pages' lists of uploadable formats differ, without quoting either list — we hold them as recorded lists rather than verbatim captures

What it does not do

  • Change the pixels of the product itself — we only scale, pad and re-encode
  • Check backgrounds, product fill ratio, watermarks or text: we found no such rule on either official Shopify page, so there is nothing to check against
  • Output anything other than JPEG, PNG or WebP
  • Output AVIF — we hold no captured wording listing it as an upload format on either official page, and the theme images page says Shopify delivers AVIF itself when a shopper's browser supports it
  • Process animated GIF or animated WebP — this page handles still images only and reports an animated file as unsupported
  • Treat 2048 × 2048 as a requirement — the official wording is a recommendation for square images
  • Upload your files anywhere
  • We only crop, resize, re-encode and write metadata. We do not alter the content of your photo. Files are processed in your browser and are not uploaded to a server.

Where the official pages disagree

Maximum pixel count for an uploaded image

Page A: help.shopify.com

Your product and collection images can be any size up to 5000 x 5000 px, or 25 megapixels.

Page B: help.shopify.com

Images uploaded to Shopify can't exceed either of the following limits: 20 megapixels [or] 20 megabytes.

How we handle it: The theme images page gives its two figures as two list items under the lead-in quoted here; the square brackets mark that. 5000 × 5000 px is 25 megapixels, so an image at the product media page's stated maximum would be over the theme images page's 20 megapixel limit; both sentences cannot be the upper bound for the same file. We do not know which one the upload path enforces, so we keep every output under both: everything this page produces is 2048 × 2048 px or smaller. We show both sentences with their own source rather than merging them into one number.

Numbers you may have seen elsewhere that are not on the official page

FAQ

Is 2048 × 2048 px a Shopify requirement?

No. The official wording is: For square product images, a size of 2048 x 2048 px usually displays best. That is a display recommendation for square images, with a hedge, and the same page's size rule is any size up to 5000 x 5000 px, or 25 megapixels. The square preset, which is the default here, outputs 2048 × 2048 because it is the only concrete size Shopify recommends; the fit-inside preset scales a photo down until neither side is over 2048 px and keeps the photo's own proportions.

Shopify says 5000 × 5000 px or 25 megapixels on one page and 20 megapixels on another. Which applies?

Both sentences are on official Shopify help pages and they do not agree: 5000 × 5000 px is 25 megapixels, above the 20 megapixel figure the theme images page gives. We do not know which one the upload path enforces at any given moment, so this page outputs 2048 × 2048 px or smaller, which is under both. The two sentences and their sources are shown in the disagreement section above.

What is the file size limit for Shopify product images?

The product media page says product and collection images need to have a file size smaller than 20 MB to be added to Shopify; the theme images page gives 20 megabytes as a general upload limit. Reading MB as 1,000,000 bytes, the stricter of the two readings, that is 20,000,000 bytes, and because the official wording is smaller than rather than up to, the cap this page enforces is one byte below it, 19,999,999 bytes — so a file of exactly 20,000,000 bytes is flagged, not passed. Both figures are our arithmetic, not Shopify figures. The cap cannot bind here: every output is 2048 × 2048 px or smaller, and an image that size cannot reach 20 MB in any of the three formats. It is still checked on every output rather than assumed. One limit here is ours, not Shopify's: this site's own uploader takes up to 20 images at a time and 5 MB per file, so a source photo over 5 MB has to be made smaller before this page will take it, even though Shopify's own wording is a file size smaller than 20 MB. That 5 MB intake cap is site-wide, so no page here can take the file either — it has to be made smaller before it reaches this site.

Which file formats does this page produce, and which does Shopify accept?

This page produces JPEG (default), PNG or WebP. The product media page lists PNG, JPEG, PSD, TIFF, BMP, GIF, SVG, HEIC and WebP (including animated GIF and animated WebP) as uploadable; the theme images page's list is shorter — JPEG, Progressive JPEG, PNG, GIF, HEIC and WebP. PSD, TIFF, BMP and SVG appear only on the product media page, so the two pages differ on formats as well as on the maximum pixel count. We hold these as recorded lists rather than verbatim quotes, so they are shown here without quotation marks and are not rows in the spec table above, where every row carries the official page's own wording. AVIF is on neither upload list. Both pages are linked under Sources — they are authoritative on what may be uploaded.

Can I upload AVIF images to Shopify?

We hold no captured wording from either official page listing AVIF as a format you can upload, and this page does not produce AVIF. The theme images page says that when a customer's web browser supports modern image formats such as WebP and AVIF, your images are delivered in those formats: Shopify does the conversion at delivery time. This page outputs JPEG, PNG or WebP; the official pages linked under Sources are authoritative on what may be uploaded.

Does Shopify require a white background or a minimum product fill ratio?

We found no background colour, no fill ratio and no rule about watermarks, text or logos on either official page. Those rules come from marketplaces such as Amazon and Walmart, not from Shopify. The white padding in the square preset is this page's default for the empty canvas area, not a Shopify value. If the same photos also go to a marketplace, use that marketplace's page on this site.

My product photos are not square. Should I pad them or keep their shape?

Shopify names 2048 × 2048 for square images only and publishes no figure for other shapes; the product media page states any size up to 5000 × 5000 px, a figure the theme images page's 20 megapixel cap contradicts. Shopify does advise a consistent aspect ratio across featured images — a recorded note from its product media page rather than a verbatim capture, which is why it is not a quoted row in the spec table — and padding is how photos of different shapes end up with one, so the square preset is the default here and pads each photo to 1:1. The fit-inside preset instead keeps each photo's own proportions and scales it down until neither side is over 2048 px; if these are featured images, prefer the square preset. Every value this page states is in the spec table above with the official page it came from, except where we say in so many words that we hold a recorded note rather than the page's wording; where we hold nothing at all, we leave it out rather than attribute it.

Is there a minimum image size for Shopify?

The product media page's size rule is written as any size up to 5000 x 5000 px, or 25 megapixels — an upper bound with no lower bound, and we hold no captured wording setting a minimum on either page; treat that as an absence of evidence rather than a verified 'no minimum'. A small source photo is not refused here, and neither preset makes it bigger: the square preset centres it on the 2048 × 2048 canvas at its own pixel size and the fit-inside preset keeps its pixel size, and each result row reports the pixel size produced, so a photo below the recommended size is visible as such.

Does this page handle animated GIF or animated WebP?

No. This page processes still images only and reports an animated file as unsupported rather than flattening it to one frame.

Will shoppers see the exact file I upload?

Not necessarily. The theme images page says that when a customer's web browser supports modern image formats such as WebP and AVIF, your images are delivered in those formats, so the format a shopper receives can differ from the one you uploaded. What you upload is the master copy; this page prepares that master within the published limits.

Do Shopify's numbers also work for Amazon, Walmart, eBay or Etsy?

No. Shopify's pages set a file size limit, a maximum size and a square-size display recommendation, and say nothing about background, fill ratio or image content; marketplaces set their own pixel, ratio, background and file size rules, several of which conflict with each other. The ecommerce-image-spec-conflicts page lists the official wording side by side, and multi-platform-image-export produces one set per platform from the same source photos.

Sources