Is there any place to get patterns for shipping tracking numbers for all shipping companies like UPS,FedEX, DHL, AirBorne, USPS ...

2

Best Answer


Fedex: 12, 14, 15, 20, 22 digits are all valid tracking number

UPS: 1Z + 16 digits or begin with W,T,H + 10 digits

DHL: 10 digits ONLY (if u mention the express shipping, as DHL also have cargo, sea shipment etc)

usps: https://tools.usps.com/go/TrackConfirmAction!input.action

Notice that as far as i know, there is not a complete list there.

If anyone know the new tracking number format, please let me know too.

As I run a startup http://www.aftership.com which also need to detect the tracking number pattern.

Fedex:XXXXXXXXXXXX (12 numbers)

DHL:

  • International Air Freight Shipments -7 digit HAWB number 1234567
  • International Ocean Shipments - 9character HBL number SEA123456
  • U.S. Domestic Shipments* – 3character origin code and HAWBnumber, which can be up to 10 digitsin length. SEA1234567

DHL Tracking Number Information Page

Canadian Postal Service:Canadian Postal Service Tracking Information Page

UPS:Begins with 1Z

If it's UPS, Fedex or USPS, you can send the number into Google and get the type from the Google result.

Airborne is now DHL.