Skip to main content
POSTNET (Postal Numeric Encoding Technique) was the US Postal Service’s barcode for ZIP Codes, made of tall and short bars. It has been replaced by the Intelligent Mail barcode, but you’ll still find it on older preprinted mail.

Decode one

Scan or paste a barcode and see every part of it.

Make one

Generate a valid barcode from fields.

Where you’ll see it

  • Older mail and preprinted envelopes, such as reply envelopes printed before the change.
  • Not on new mail. Since January 27, 2013, POSTNET barcodes haven’t qualified for automation prices, and the USPS removed them from its mail manual in 2018. The USPS still processes mail that carries one.

Anatomy

Every bar is the same width, and is either tall or short: A tall bar is a 1 and a short bar is a 0. Each digit is five bars, exactly two of them tall. That gives three lengths:

Correction digit

The correction digit makes the sum of all the digits a multiple of 10. For ZIP Code 12345, the digits add up to 15, so the correction digit is 5.

Scanning it in your app

Specification