Loading Barcode Mint…

Barcode Mint

Free Online Barcode & QR Code Generator

Postal Code

USPS Intelligent Mail Barcode Generator

Create a USPS Intelligent Mail barcode (IMb) — the current 4-state standard that replaced POSTNET and PLANET for U.S. letter mail routing and tracking.

Open the generator ↓
Preview
100%

01

Symbology

Code 128
All 106 →
02

Data

03

Properties

Properties

2
100
18
10
04

Bulk & batch generate

🔒 Pro

Turn a CSV — or a numbered sequence — into hundreds of barcodes at once, exported as a ZIP of images or a print-ready PDF sheet. Launching with Pro.

Launching soon

Pricing — join the early list

The browser generator stays free forever. Paid plans are for teams who need bulk output and developers who need the REST API at scale — commercial license included. Tell us what you'd use; early-list members get first access and launch pricing.

For the generator

Free $0/forever

What you're using right now

  • 100+ barcode & QR symbologies
  • Live preview & customization
  • PNG & SVG export, no login
  • Copy to clipboard
Available now ✓

For developers — REST API

Priced by requests. Commercial license and self-serve keys included; usage dashboard at launch.

Small $19/mo$190/yr 500 req / mo
Large $499/mo$4,990/yr 50K req / mo
Enterprise Custom Contact us

Get early access + launch pricing

Which features would you actually use? (optional — it helps us decide what to build first)

No spam — one email when it launches. The free tool isn't going anywhere.

What is the USPS Intelligent Mail barcode?

The Intelligent Mail barcode (IMb), also known by its development name OneCode, is the current USPS standard for encoding routing, service, and tracking information on U.S. letter mail. It replaced both POSTNET and PLANET with a single format that does the job of each: it carries a destination ZIP/ZIP+4/delivery point code (like POSTNET did) and a tracking/service-type identifier (like PLANET did), plus mailer identification, all in one 65-bar barcode.

Unlike POSTNET and PLANET's simple two-height bars, IMb is a "4-state" barcode — each bar can be one of four types: ascender (tall), descender (extends below baseline), tracker (full height), or full-height combination. This four-state encoding packs far more information into a similarly compact printed footprint, which is why IMb can carry 20 to 31 digits worth of data where POSTNET topped out at 11.

Structure and data fields

An Intelligent Mail barcode always contains exactly 65 bars encoding a fixed set of fields:

These fields combine into a 20-, 25-, 29-, or 31-digit numeric string depending on whether the shorter or longer Mailer ID/Serial Number format is used and how much routing data is included, which the barcode then encodes using its 4-state bar pattern and built-in checksum.

Technical specifications

An IMb symbol always uses exactly 65 vertical bars, each independently classified as one of four states — full (both ascender and descender), ascender-only, descender-only, or tracker (short, centered) — encoded via a combination of a 4-state table and a Reed-Solomon-based check-digit scheme called the Fletcher checksum algorithm, distinct from POSTNET's simple mod-10 check. The 65 bars pack a 5-bit-per-bar equivalent density far higher than POSTNET's, which is how IMb fits 20 to 31 decimal digits' worth of routing, tracking, and mailer data into a symbol not much wider than a POSTNET ZIP+4 code. USPS specifies bar height, width, pitch, and clear-zone tolerances precisely in its Intelligent Mail Barcode technical guide, and mail claiming automation rates must pass USPS's own barcode quality verification.

Where Intelligent Mail is used

IMb is the barcode behind nearly all USPS-processed letter mail today:

If you handle U.S. mail production of any volume today, IMb (not POSTNET or PLANET) is the barcode your mail management system should be generating.

How to generate an Intelligent Mail barcode in Barcode Mint

To create an IMb symbol:

Before a live mailing, validate your IMb output against USPS's Mail.dat or Intelligent Mail barcode testing tools — an incorrectly structured field will cause automation-rate mail to lose its discount eligibility or be rejected at induction.

Print and scan best practices

USPS specifies precise bar height, width, and spacing tolerances for the four bar states — ascenders, descenders, trackers, and full bars must all be clearly distinguishable for optical scanning equipment to decode correctly. Maintain the required clear zone around the barcode and avoid placing it near perforations, folds, or other print elements that could obscure any bar. Print at high resolution on quality stock, since IMb's four-state design has less visual redundancy per bar than POSTNET's simpler two-height scheme, making crisp, consistent printing more important for automation-rate mail.

Intelligent Mail vs related postal codes

Compared to POSTNET and PLANET, IMb is the current, actively supported replacement for both — it's a 4-state rather than 2-state design, and it consolidates address routing and piece-level tracking into one barcode instead of requiring two separate legacy symbols. Compared to the USPS IM Package Barcode (IMpb), IMb is used on letter mail and flats and is height-modulated, while IMpb is a linear Code 128 barcode used on package labels — both share the Mailer ID concept but serve different mail classes and use different physical encodings. Compared to international 4-state formats like Royal Mail 4-State or Royal Mail Mailmark, IMb is USPS-specific and structurally distinct, though all these formats share the general 4-state bar-height design philosophy that succeeded simpler height-modulated postal codes worldwide.

Common uses

Frequently asked questions

What is a USPS Intelligent Mail barcode generator used for?

A usps intelligent mail barcode generator creates the 4-state IMb barcode that encodes routing, service type, mailer ID, and tracking serial number data — the current USPS standard for letter mail automation and tracking.

How is Intelligent Mail different from POSTNET and PLANET?
IMb combines what POSTNET (routing/ZIP) and PLANET (tracking) did separately into one 4-state, 65-bar barcode with far greater data capacity — 20 to 31 digits versus POSTNET's maximum of 11.
Do I need a USPS Mailer ID to use Intelligent Mail?

Yes, for live mail production you need a Mailer ID registered through the USPS Business Customer Gateway. You can generate and preview IMb symbols without one, but a real mailing requires a valid, USPS-assigned Mailer ID.

How many digits does an Intelligent Mail barcode encode?
IMb encodes 20, 25, 29, or 31 digits depending on Mailer ID length and whether a routing/ZIP code is included, combining barcode ID, service type, mailer ID, serial number, and optional routing data.
Can Barcode Mint generate a batch of Intelligent Mail barcodes with unique serial numbers?

Yes — the bulk CSV to ZIP/PDF tool lets you increment the serial number field per row, producing a unique, trackable IMb for every piece in a mailing.

Related barcode types

Browse all 106 barcode & QR types →