TillKit Checkout Rules

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

  1. Open TillKit Checkout Rules in your Shopify admin and click Templates (or Browse all templates).
  2. Switch to Address Protection and pick Limit street address line length (carrier 35-char cap).
  3. Keep the 35-character default (or enter your courier's exact limit), click Add this rule, click Save in Testing mode, preview with your private Testing link, then switch Status to Active.
  4. 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.
Walkthrough: setting up the 35-character street address limit template and seeing a 47-character street line blocked at live Shopify checkout.

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.

Works on every Shopify plan, Basic included.