← Back to Blog

May 26, 2026 · Matteo

How to Stop Shopify from Compressing Images (2026 Guide)

Merchants upload a crisp product photo and see a softer version on the storefront. How to stop Shopify from compressing images is a fair question. The short answer: you cannot turn off Shopify CDN optimization entirely. You can control what you upload and how heavy each file is.

I run a Shopify-focused image app, and this is the pattern I see most often: the upload is already soft or over-compressed before Shopify ever touches it.

This is the hub guide for compression on Shopify. Shorter answers:

What Shopify actually does to your images

When you upload product media, Shopify stores your file and serves resized variants through its CDN. The platform may:

  • Generate smaller widths for thumbnails and collection grids
  • Serve modern formats (WebP, AVIF) when the browser supports them
  • Apply compression as part of delivery optimization

You do not get a toggle in admin that says "disable compression." Per Shopify's product media documentation, uploads can be up to 20 MB and 4472 × 4472 px, but lighter files still load faster on mobile.

Why "stop compressing" usually means "stop looking soft"

Three separate problems get lumped together:

ProblemWhat you seeFix
Low pixel countBlurry zoomUpload 2000 px+ masters or upscale before upload
Heavy JPEG re-saveBanding, mushy detailExport once at quality 80–85; avoid re-upload loops
CDN resizeFine on desktop, soft on mobileUpload a sharp master; CDN picks appropriate variant

Compression is not always the villain. A 800 px wide source looks soft no matter what CDN settings run.

Manual strategy: upload files Shopify has less to "fix"

  1. Resize before upload to about 2000 × 2000 px square for product photos. See Shopify image size guidelines.
  2. Export WebP or high-quality JPEG once. Do not re-export the same image ten times.
  3. Avoid unnecessary megapixel bloat. 4000 px files add weight without visible gain on most phones.
  4. Preview on mobile after upload. That is where compression artifacts show first.

Can you disable Shopify image compression?

No official setting disables CDN optimization store-wide. Theme code and third-party CDNs can change delivery paths, but Shopify-hosted product media still flows through Shopify infrastructure.

What you can control:

  • Source file dimensions and format before upload
  • Whether you pre-compress to WebP yourself
  • Which images you replace vs leave as-is

Control quality with pre-upload WebP (Pixly workflow)

Instead of fighting the CDN, upload already optimized masters so Shopify starts from a smaller, sharp file.

Pixly converts approved product images to WebP by default, applies a 1:1 center crop, and syncs back after you review:

Pixly review screen showing 1:1 square crop, WebP conversion, AI alt text, and SEO filename for a Shopify product image

Sync history confirms optimized files reached Shopify:

Pixly sync history showing optimized WebP product images pushed back to Shopify

You stay in control: nothing syncs until you approve. See convert all images to WebP on Shopify for the bulk format workflow.

When to accept compression vs re-upload

Accept CDN delivery when:

  • The master is 2000 px+ and looks sharp at zoom
  • File size is under ~500 KB after your export
  • Page speed scores improved vs the old heavy JPEG

Re-upload or re-process when:

  • Banding appears in gradients (common on over-compressed JPEGs)
  • Text overlays in marketing images look fuzzy (theme assets, not product media)
  • You changed photography and need new masters anyway

Got questions?

Frequently asked

Bottom line

How to stop Shopify from compressing images is really how to upload images Shopify does not need to over-process. Right-size pixels, export WebP once, and avoid tiny sources. For catalogs, pre-optimize with review before sync.

Install Pixly on Shopify to convert and sync WebP product images after approval.


Written by Matteo, founder of Pixly. Questions? hello@getpixly.app

Pixly for Shopify

Bulk alt text, WebP, and 1:1 crops synced to Shopify

Review every image before sync. Start free with 69 tokens per month. No credit card needed.

More from Pixly