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.
UPS Tracking Number Generator
Generate 18-character 1Z UPS tracking numbers with UPS's documented 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 UPS Tracking Number Generator produces 18-character 1Z airwaybill and ground tracking numbers that satisfy UPS's documented Mod-10 check-digit algorithm. Each generated code encodes a 6-character shipper identifier, a 2-digit service level indicator (01 Next Day Air, 02 Ground, 03 Return), a 7-digit serial number, and a calculated trailing check digit.
Every generated number renders an optional Code128 SVG barcode client-side for label and scanner QA, and the Validate tab lets you verify existing 1Z tracking strings against the UPS character-mapping rules. All values are synthetic mock data for e-commerce, Shopify, and ERP webhook testing.
How to use this tool
Choose a UPS service level
Select Ground (02), Next Day Air (01), or Return (03) to set the 2-digit service code.
Generate or bulk-export
Generate one 1Z tracking number with a Code128 barcode, or export up to 500 records in JSON, CSV, or SQL.
Verify in Validate
Paste any 18-character 1Z code to confirm its format and Mod-10 check digit.
UPS 1Z structure
| Segment | Length & Rule |
|---|---|
| Prefix | Fixed '1Z' (excluded from check-digit sum) |
| Shipper ID | 6 alphanumeric characters (3 letters + 3 digits) |
| Service code | 2 digits (01 Express, 02 Ground, 03 Return) |
| Serial + Check | 7 serial digits + 1 UPS Mod-10 check digit |
All 1Z numbers are synthetic test fixtures and do not represent real UPS shipments.
Frequently asked questions
Are generated 1Z UPS tracking numbers real?
No. They are synthetic test values that follow the 18-character 1Z structure and UPS Mod-10 check-digit math for QA and webhook testing.
How does the UPS 1Z check digit work?
Excluding the '1Z' prefix, letters map to (ASCII - 63) mod 10, odd positions are added, even positions are doubled, and the check digit is (10 - sum mod 10) mod 10.
Can I export bulk UPS tracking numbers with barcodes?
Yes. You can preview a Code128 barcode for the active number and export up to 500 synthetic records in JSON, CSV, or SQL.
Related tools
Tracking Number Generator
Simulate UPS, FedEx, USPS, DHL and S10 tracking numbers.
FedEx Tracking Number Generator
Generate FedEx 12, 15, 20, and 22-digit tracking numbers with checksums.
USPS Tracking Number Generator
Generate 22-digit USPS IMpb tracking numbers with GS1 Mod-10 check digits.
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.