What you're using right now
- 100+ barcode & QR symbologies
- Live preview & customization
- PNG & SVG export, no login
- Copy to clipboard
Loading Barcode Mint…
Free Online Barcode & QR Code 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 ↓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.
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.
What you're using right now
For designers & teams
Priced by requests. Commercial license and self-serve keys included; usage dashboard at launch.
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.
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.
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.
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.
To create an IMb symbol:
/barcode?type=onecode&data=... for automated generation from mail-merge or fulfillment systems.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.
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.
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.
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.
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.
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.