UPS, FedEx, DHL and USPS are trademarks of their respective owners. DevTools is not affiliated with or endorsed by them. Generated numbers are test data: never use them as proof of shipment, on a real shipping label, or in a marketplace or customer dispute.
USPS Tracking Number Generator
Generate 22-digit USPS IMpb tracking numbers with GS1 Mod-10 check digits — synthetic mock data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Use Bulk for up to 500 records, or press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
About this tool
The USPS Tracking Number Generator produces 22-digit Intelligent Mail Package Barcode (IMpb) tracking numbers with valid GS1 Mod-10 check digits. You can filter by common USPS service prefixes including 9400 (Priority Mail / Ground Advantage), 9407 (Certified Mail), 9270 (Priority Mail Express), and 9302 (Return Service).
Each generated IMpb number passes standard USPS length and GS1 check-digit validation in e-commerce checkout and ERP webhooks, and includes a client-side Code128 barcode preview.
How to use this tool
Select a USPS service prefix
Pick 9400, 9407, 9270, or 9302 to match the mail class under test.
Generate single or bulk
Generate one tracking number with barcode preview or up to 500 rows in Bulk.
Validate existing IMpb codes
Paste a 20–22 digit USPS code in Validate to verify its GS1 Mod-10 check digit.
USPS IMpb prefixes
| Prefix | Mail Class |
|---|---|
| 9400 | Priority Mail / Ground Advantage |
| 9407 | Certified Mail |
| 9270 | Priority Mail Express |
| 9302 | USPS Return Service |
22-digit GS1 Mod-10 test values only; not registered with USPS.
Frequently asked questions
What USPS IMpb service prefixes can I generate?
You can generate 22-digit numbers starting with 9400 (Priority / Ground Advantage), 9407 (Certified), 9270 (Express), and 9302 (Return Service).
How is the USPS check digit calculated?
USPS IMpb tracking numbers use the GS1 weighted Mod-10 algorithm (alternating 3× and 1× weights counted from the right).
Are these registered with USPS?
No. All values are synthetic mock fixtures for software testing and must not be used on real mailpieces.
Related tools
Tracking Number Generator
Simulate UPS, FedEx, USPS, DHL and S10 tracking numbers.
UPS Tracking Number Generator
Generate 1Z UPS tracking numbers with UPS's documented Mod-10 check digits.
FedEx Tracking Number Generator
Generate FedEx 12, 15, 20, and 22-digit tracking numbers with checksums.
DHL Tracking Number Generator
Generate DHL Express 10-digit, eCommerce, and Parcel DE tracking numbers.
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.