What Is a USPS Intelligent Mail (IMb) Barcode?
The Intelligent Mail barcode (IMb) is the USPS 4-state barcode for letters and flats. It has 65 bars, each of which can be full, ascending, descending or tracker only, and it replaced the older POSTNET and PLANET barcodes.
The data is a 20-digit tracking code, made of a barcode ID, service type ID, Mailer ID and serial number, followed by an optional routing code of 5, 9 or 11 digits for the delivery ZIP Code. That gives a total of 20, 25, 29 or 31 digits.
Your Mailer ID is assigned by USPS, and service type IDs must match the services you use. The generator encodes the digits you enter; it does not register mail or check your data with USPS. For parcels, use the IMpb barcode instead.
What Data Can USPS Intelligent Mail (IMb) Hold?
Digits only: a 20-digit tracking code alone, or followed by a 5, 9 or 11-digit routing ZIP Code, for 20, 25, 29 or 31 digits in total. Spaces are ignored.
Recommended Size
Follow the USPS IMb specification for bar height, pitch and placement on the mailpiece. Print with a sharp printer and verify with USPS guidance before a large mailing.
Inside the 20-Digit IMb Tracking Code
The Mailer ID and serial number always total 15 digits, which keeps the tracking code at 20 digits.
- Barcode ID: 2 digits; the second digit must be 0 to 4
- Service Type ID: 3 digits that identify the mail class and services, such as IMb Tracing
- Mailer ID: 6 or 9 digits assigned by USPS
- Serial number: 9 digits with a 6-digit Mailer ID, or 6 digits with a 9-digit Mailer ID
IMb Fonts Versus Barcode Images
USPS publishes encoder software and IMb fonts on PostalPro. With a font, an encoder first turns your digits into a 65-letter string of A, D, F and T, and the font draws one bar per letter. A generated image skips that step, which is simpler when your mail merge or design tool cannot run an encoder.
Bulk / Sequence with zero padding is handy for numbering serials across a mailing.
More Postal Codes barcodes
How to Create a Barcode in 3 Steps
Choose a barcode type
Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.
Enter data & customise
Type your data — we check it live and add check digits. Adjust size, font and colors.
Download or print
Get PNG, JPG, SVG, PDF or EPS, or print a full sheet of labels in one click.
Why Use QRCodeChamp Barcode Generator
125+ barcode types
Linear, 2D, GS1, postal, healthcare and payment codes.
Live validation
Friendly errors with one-click fixes and automatic check digits.
Print-ready PDF
Exact mm sizes, label sheets (Avery, A4, 4×6 thermal).
Bulk barcodes
Paste a list or generate number sequences.
Choose the Type of Barcode You Need
Not sure which barcode to use? Start with what you need it for — we’ll pick the right type.
USPS Intelligent Mail (IMb) FAQs
Mailer IDs are assigned by USPS through its business mail services. You need one to build valid IMb tracking codes.
Yes. USPS retired POSTNET and PLANET for automation mail, and IMb carries both the ZIP routing and tracking data in one barcode.
No. Packages use the Intelligent Mail package barcode (IMpb), which is a GS1-128 barcode.
USPS gives 6-digit Mailer IDs to high-volume mailers, which leaves 9 digits for serial numbers. Smaller mailers get 9-digit IDs and 6-digit serials.
Only if you build the barcode with a font. If you place a generated image or vector file on the mailpiece, no font is needed.
