Ecom Store Pro

Are Shopify discount codes case sensitive?

Published ·
At a glance
Short answer
No: Shopify's developer docs say discount codes are case-insensitive, so SAVE10 and save10 are treated as the same code.
Where it's documented
Five shopify.dev references; the Help Center discount pages we read in October 2026 don't cover code capitalization
Gift card codes
Not case sensitive either, per the Help Center — but a gift card is a separate code type
Special characters
Avoid them in code names so the name is added correctly to the checkout URL

Where does Shopify say capitalization doesn't matter?

Shopify's checkout extensions documentation answers it in one line: “The discount system treats SAVE10 and save10 as the same code.” Four more developer references — the Storefront API cart, its discount-code mutation, the Admin GraphQL lookup by code and the legacy REST resource — call codes case-insensitive: five developer pages, one answer.

The Help Center discount pages we read in October 2026 don't say whether discount codes are case sensitive. The only Help Center line on code case we found, “Gift card codes aren't case sensitive,” is about gift cards, a separate code type.

What can stop a code from applying instead?

Since case isn't the cause, one check concerns the code's name: if it has special characters, Shopify advises avoiding them so the name is added correctly to your store's checkout URL. For the checks beyond the name — the discount's status, dates and usage limit, the cart's conditions, and draft-order or POS checkouts — see why a Shopify discount code isn't working.

Related questions

Marketing & SEO
Why is my Shopify discount code not working?

One Shopify help page ties "Unable to find a valid discount matching the code entered" to a deactivated code; expiry and unmet conditions block too.

Updated October 18, 2026

Marketing & SEO
How do shareable discount links work on Shopify?

A shareable link from Discounts > Promote applies one active discount; add ?redirect=/new-path to land on another page.

October 14, 2026

Marketing & SEO
Does "Limit to one use per customer" work for guest checkout on a Shopify discount code?

Partly: Shopify's one use per customer limit on a discount code tracks email or phone; in our test a guest with a new email used it again.

October 19, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.