USPS Intelligent Mail Barcode Generator
Create EAN, UPC, Code 128 and other 1D barcodes.
Create USPS Intelligent Mail (IMb) 4-state barcodes from a 20-digit tracking code and optional routing ZIP.
- 100% FreeNo sign-up required
- PrivateWorks in your browser
- High QualityPNG, SVG, PDF and print
- 17 FormatsEAN, UPC, Code 128, GS1…
How to use this tool
Steps for using the Barcode Generator.
- Type the 20-digit tracking code: barcode identifier, service type ID, mailer ID and serial number.
- Optionally add the routing ZIP — 5, 9 or 11 digits — for 25, 29 or 31 digits in total, without spaces or dashes.
- Adjust the bar colour, bar width, height, quiet zone and text under Customize Appearance.
- Press Generate Barcode, then Download a PNG, SVG or PDF, Print it, or Copy the data. For many codes at once, upload a CSV under Batch Barcode Generation.
Example
Tracking code only
01234567094987654321Valid Intelligent Mail (20 digits).Common use cases
- Letters and flats sent with USPS automation prices
- Tracking mail pieces with USPS Informed Visibility
- Courtesy and business reply mail
What's inside an Intelligent Mail barcode
The USPS Intelligent Mail barcode (IMb) is a 65-bar, 4-state barcode: each bar is full, ascending, descending or a short tracker, so it packs a lot of data into a small space.
The 20-digit tracking code is made of a 2-digit barcode identifier (the second digit must be 0–4), a 3-digit service type ID, a 6- or 9-digit mailer ID and a 9- or 6-digit serial number. The optional routing code is the delivery ZIP, ZIP+4 or ZIP+4 plus delivery point.
The mailer ID is issued by USPS, and mail prices depend on following USPS rules for the service type and serial numbers — check them with USPS before mailing.
Limitations
- The barcode is drawn to specification, but the mailer ID, service type and serial numbers must come from USPS rules.
- Human-readable text isn't printed with 4-state postal barcodes.
Frequently asked questions
How many digits does an Intelligent Mail barcode have?
20 digits for the tracking code, plus an optional 5, 9 or 11-digit routing ZIP — 20, 25, 29 or 31 digits in total.
Where do I get a mailer ID?
From USPS, through the Business Customer Gateway. Use your own mailer ID; the one in the example is for illustration.
Does IMb replace POSTNET?
Yes. USPS requires the Intelligent Mail barcode for automation prices; POSTNET no longer qualifies.
Is the data I type uploaded anywhere?
No. Barcodes, including batch CSV files, are created in your browser. Recent barcodes are saved only in this browser.