How to limit Shopify street address length to 35 characters
Stop carrier label rejections and truncated apartment numbers on DPD, DHL, FedEx and UPS. Enforce a 35-character (or custom) cap on street address lines 1 and 2 natively at Shopify checkout - on any Shopify plan, Basic included.
Last updated: 3rd December 2026.
Why long address lines break courier integrations
Shopify lets customers type up to 255 characters into each checkout address field, while most parcel carriers and 3PL fulfilment systems (DPD, DHL, FedEx, UPS, ShipStation, Royal Mail) cap each street line at 35 characters.
When a customer puts their entire building name and delivery note on line 1, fulfilment syncs fail with validation errors or silently chop off the end of the address on the printed label.
Enforce a 35-character cap in 30 seconds
- Open
TillKit Checkout Rulesin your Shopify admin and clickTemplates(orBrowse all templates). - Switch to
Address Protectionand pickLimit street address line length (carrier 35-char cap). - Keep the
35-character default (or enter your courier's exact limit), clickAdd this rule, clickSaveinTestingmode, preview with your private Testing link, then switch Status toActive. - If a shopper enters a line longer than your cap, checkout blocks cleanly and asks them to split or shorten the street line before paying.
Questions
Why is 35 characters the standard courier address line limit?
DPD, DHL, FedEx and UPS label APIs commonly reject or truncate street address lines over 35 characters, cutting off flat numbers or delivery instructions.
Can I set a different limit such as 30 or 40 characters?
Yes. Enter any character cap from 1 to 1,000 when picking the template (or edit the rule at any time), and both street address line 1 and line 2 are checked against that limit.
Does this stop shoppers putting long delivery notes into the address box?
Yes. Shoppers who paste delivery instructions into address line 1 or 2 are prompted immediately at checkout to shorten each line before placing the order.
Does this work on Shopify Basic without Shopify Plus?
Yes. Address length validation works natively on every Shopify plan, Basic included.
Try it on your store
Install the app, add the 35-character template and test a long street line with your private Testing link before switching it to Active.
Free plan
Free forever
Run 2 complete rules live across checkout, delivery or payments. Each rule covers unlimited postcodes, packs, products and conditions - with unlimited orders. Rules in Testing or Off don't count.
Unlimited plan
$5.99 / month
Every active rule runs, with a 7-day free trial and free use on development stores. If you switch back to Free, your earliest 2 live rules keep running and the rest stay saved.
Works on every Shopify plan, Basic included.
More address protection guides
- Require a house or building number at Shopify checkout
- Block Packstation, InPost parcel lockers and freight forwarders
- Block PO boxes, BFPO and APO/FPO military addresses
- All of Checkout Rules
- Block non-Latin characters in checkout addresses
- Block invalid or fake UK postcode districts at checkout
- Royal Mail Click & Drop and UK courier rules on Shopify
- Shopify checkout customization without Plus