Postal Guide

Understand the barcodes on your mail.

Which USPS barcodes Barcode Inspector reads, where each one appears, and what its fields mean, with a closer look at the 65-bar Intelligent Mail barcode.

Barcodes the Postal Scanner reads

BarcodeWhere you find itWhat Barcode Inspector shows
Intelligent Mail barcode (IMb)The 65-bar barcode on letters, cards and flatsTracking, service, Mailer ID, serial number, routing ZIP Code and delivery point (details below)
Intelligent Mail package barcode (IMpb)The long barcode on USPS package labelsTracking number, service type, mail class, Mailer ID, serial, destination ZIP Code and check digit
Intelligent Mail matrix barcode (IMmb)The small square barcode, usually printed twice, on USPS package labelsThe same tracking and service details as the IMpb, checked against it when both are read
Intelligent Mail container barcode (IMcb)Under USPS SCAN REQUIRED on pallet and container labels, as a long or square barcodeMailer ID and container serial number
Intelligent Mail tray label barcode (IMtb)The 24-digit barcode on tray, tub and sack labelsDestination ZIP Code, contents (CIN), Mailer ID and tray serial number
10-digit tray label barcodeOlder tray and sack labels, alone or above a 24-digit IMtbDestination ZIP Code and contents (CIN); when both are read, the IMtb is shown and checked against it
International tracking barcode (UPU S10)International labels and customs forms, for example EE 123 456 785 USService (such as EMS, registered or parcel), serial number and the issuing country
Facing Identification Mark (FIM)Tall bars at the top of reply and PC Postage envelopes, left of the postageWhich mark it is (FIM A to E), the type of mail it is for and whether a barcode is expected
POSTNET and PLANET (retired)Rows of tall and short bars on older reply mail and lettersPOSTNET: ZIP Code, ZIP+4 and delivery point. PLANET: its type and tracking number

A barcode is named only when it passes every published USPS rule for its format. Anything else gives no postal result and does not use a free daily scan. When a mailpiece also has an IMb, the IMb is shown.

What is an Intelligent Mail barcode?

The USPS Intelligent Mail barcode, commonly called an IMb, is a 65-bar postal barcode used on letters, cards, and flats. USPS uses it to support automated mail sorting, identification, routing, and participating mail services.

Each bar has one of four possible states:

CodeBar stateAppearance
FFullExtends above and below the center tracker region
AAscenderExtends above the tracker region
DDescenderExtends below the tracker region
TTrackerOccupies only the center region

The 65 bars encode a 20-digit tracking code plus an optional routing code. The complete decoded value can contain up to 31 digits.

The tracking portion

The tracking portion always contains 20 digits. Barcode Inspector separates it into the fields below.

FieldLengthWhat it represents
Barcode ID2 digitsIdentifies barcode processing information, including optional endorsement-line information where applicable.
Service Type ID3 digitsIdentifies the mail class and requested services, such as address correction or other electronic service options.
Mailer ID6 or 9 digitsIdentifies the mail owner or mailing agent associated with the barcode.
Serial Number9 or 6 digitsProvides the mailpiece-specific portion. Its length complements the Mailer ID so the two fields total 15 digits.

The routing portion

An IMb may contain no routing digits or may include 5, 9, or 11 routing digits.

LengthRouting information
0 digitsNo destination routing code is encoded.
5 digitsDestination ZIP Code.
9 digitsDestination ZIP+4 Code.
11 digitsDestination ZIP+4 Code plus the two-digit delivery point.

What Barcode Inspector reports

Tracking code is not the same as tracking history. The IMb contains identifiers and requested-service information. Barcode Inspector decodes what is printed in the barcode; it does not retrieve USPS mailpiece scan events or delivery history.

Why a scan may fail

All 65 bars matter. A missing, merged, blurred, covered, or badly distorted bar can prevent a reliable decode. Try these corrections:

Official USPS references

USPS, Intelligent Mail, and related marks belong to the United States Postal Service. Barcode Inspector is an independent application and is not affiliated with or endorsed by USPS.