Skip to content
koducathome

USPS Intelligent Mail Barcode Generator

Create EAN, UPC, Code 128 and other 1D barcodes.

How to use this tool

Steps for using the Barcode Generator.

  1. Type the 20-digit tracking code: barcode identifier, service type ID, mailer ID and serial number.
  2. Optionally add the routing ZIP — 5, 9 or 11 digits — for 25, 29 or 31 digits in total, without spaces or dashes.
  3. Adjust the bar colour, bar width, height, quiet zone and text under Customize Appearance.
  4. 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

Typed
01234567094987654321
Result
Valid 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.