Tracking Number Generator — UPS, FedEx, USPS, DHL & Amazon
Shipping tracking numbers follow strict carrier-specific formats, each with a precise character structure and a mathematically derived check digit at the end. This tool generates realistic fake tracking numbers in the correct format for UPS, FedEx Express, FedEx Ground, USPS Priority Mail, DHL Express, and Amazon Logistics. The generated numbers pass format validation and check digit verification, making them useful for testing e-commerce systems, order management platforms, logistics software, and database schemas without needing real shipments. Each result includes a breakdown of what each segment of the tracking number means, the check digit algorithm used, and the digit-by-digit verification calculation so you can see exactly how carrier validation works. The numbers are generated using cryptographic randomness and are not associated with any real package or shipment.
Frequently Asked Questions
What format does a UPS tracking number use?
UPS tracking numbers start with 1Z, followed by a six-character alphanumeric account number, a two-digit service code, an eight-digit package identifier, and one check digit, totaling 18 characters. The check digit uses an alternating weight algorithm where odd-position digits are multiplied by 1 and even-position digits by 2, the sums are totaled, reduced mod 10, and subtracted from 10.
How long is a USPS tracking number?
USPS tracking numbers are 20 or 22 digits long. Priority Mail numbers start with 9400, Priority Mail Express with 9205, and First-Class Package with 9261. The last digit is a check digit calculated using the USPS mod-10 algorithm. International shipments append a two-letter country code, extending the total length.
What is a check digit in a tracking number?
A check digit is a single digit appended to a tracking number that is mathematically derived from all the preceding digits. When a user types or scans a tracking number, the software recomputes the check digit and compares it to the one in the number. A mismatch means a digit was entered incorrectly, allowing the error to be caught without making a network request to the carrier's database.
What does a FedEx tracking number look like?
FedEx Express uses 12-digit numbers, FedEx Ground uses 15-digit numbers, and FedEx SmartPost uses 20 to 22-digit numbers starting with 96. The check digit for 12-digit Express numbers uses a weighted algorithm cycling through multipliers 1, 3, 7 with the result reduced mod 11. Ground uses a different alternating weight scheme.
Are these generated tracking numbers real?
No. These numbers follow the correct format and check digit rules for each carrier but are not registered with any real shipment. They are suitable for testing e-commerce checkout flows, logistics software, UI mockups, and training materials. Entering them on a carrier website will return no results because no actual package exists with these numbers.
How does a tracking number check digit work?
Most carrier tracking numbers include a check digit — the last digit is calculated from the other digits using a checksum algorithm. For UPS, each digit is multiplied by alternating weights and summed; the check digit makes the total divisible by a specific modulus. This allows scanners and websites to instantly detect typos without looking up the number in a database. A number that fails the check digit test is rejected immediately as invalid.
What carrier uses which tracking number format?
UPS tracking numbers start with 1Z followed by six alphanumeric characters (account number), two service digits, seven package digits, and a check digit — 18 characters total. FedEx uses 12 or 15 digit numbers. USPS uses multiple formats: 20-22 digit for Priority Mail, 30 digit for Certified Mail, and the 10-character alphanumeric format for Priority Express. DHL uses 10-digit numbers. Carrier websites detect the format automatically when you enter a number.
What does "out for delivery" mean and how long does it take?
Out for delivery means the package has been loaded onto a local delivery vehicle and is on its route for the day. Delivery typically occurs within the same business day, but time of day varies widely — some routes finish early afternoon, others run until 9pm for carriers like FedEx and UPS. The exact delivery window depends on the number of stops on the driver's route, traffic, and the package's position in the route sequence.
How It Works
Each carrier format is generated according to publicly documented format specifications. UPS numbers start with 1Z and include a weighted check digit using alternating multipliers. FedEx check digits use a Mod 11 algorithm. USPS numbers use Mod 10 checksum. All digits are generated using crypto.getRandomValues(). The check digit is calculated last and appended to produce a format-valid number.
Check Digit Algorithms
A check digit is the final digit of a tracking number, calculated from the preceding digits using a checksum formula. When a scanner reads a barcode, it recalculates the check digit and compares it to the one encoded in the number. A mismatch means the barcode was misread or corrupted. This immediate validation prevents incorrect tracking data from entering logistics systems without a database lookup.
Tracking Number Formats
UPS: 18 characters, starts with 1Z. FedEx Express: 12 digits. FedEx Ground: 15 digits. USPS Priority: 22 digits starting with 94. USPS Certified: 30 digits. DHL: 10 digits. Amazon Logistics: starts with TBA. Most carrier websites auto-detect the format from the number length and prefix, so you do not need to specify the carrier when tracking.
When to Use This
Use to test an e-commerce checkout flow's tracking number input field, to populate a logistics system with sample shipment data during development, to create realistic-looking demo data for a UI mockup or client presentation, to train customer service staff on how tracking numbers look for different carriers, or to verify your tracking number parser handles all supported formats correctly.
More Free Tools
URL Encoder & Decoder
Encode special characters for safe use in URLs, or decode percent-encoded URLs.
Bar Name Generator
Generate creative pub, bar, and tavern names by style: dive bar, speakeasy, cocktail lounge, tiki bar, and more.
Upside Down Text Generator
Flip text and emojis upside down using Unicode character substitution with a full code point breakdown.
I or L Checker
Detect confusable characters like uppercase I, lowercase l, digit 1, and O vs 0 in passwords or codes.