How to generate serial numbers
- Pick the format: sequential, random digits, random letters and digits, hex or UUID.
- Set the length, prefix, suffix and dash grouping, and add a check character if people will type the serials.
- Enter how many you need (up to 10,000). The list is unique and updates as you change settings.
- Copy the list, download a CSV, or print the serials as barcode or QR labels on sheets or a thermal printer.
Choosing a serial number format
| Format | Example | Good for |
|---|---|---|
| Sequential | SN-000123 | Production runs, internal equipment, anything audited in order |
| Random digits | 482913075 | Numeric-only systems, keypads, phone support |
| Letters and digits | K7QM-3XRA | Warranty cards, gift codes, licence keys (short but hard to guess) |
| Hex | 9F3A-B21C | Electronics and firmware, where hex is familiar |
| UUID v4 | 3f2b…-4a1c-… | Databases and systems that need global uniqueness |
With 8 random characters from the 32-character set used here there are about 1.1 trillion possibilities, so guessing a valid serial is impractical. Add length for anything security-sensitive.
Check characters explained
A check character lets software reject a mistyped serial before it reaches your database. Luhn doubles every second digit from the right and appends the digit that brings the total to a multiple of 10; it catches all single-digit errors and most swaps of adjacent digits. ISO/IEC 7064 MOD 37,36 works the same way over 0–9 and A–Z, so it suits alphanumeric serials. The check character is added before grouping, at the end of the serial.
Printing serial number labels
For products and equipment, Code 128 prints serials compactly and any scanner reads it. On small parts use a Data Matrix, which stays readable at a few millimetres across. For tracking equipment with an owner line, the asset tag generator is a better fit; for batches of product use the lot number generator.
Frequently asked questions
How do I generate serial numbers?
Choose a format (sequential, random digits, random letters and digits, hex or UUID), set the length, prefix and grouping, and how many you need. The generator makes a unique list you can copy, export as CSV or print as barcode and QR labels.
Sequential or random serial numbers?
Sequential numbers are easy to sort and audit, but reveal how many units you have made and are easy to guess. Random serials are better for warranty registration, licence keys and anything a customer could otherwise guess.
What is a check character?
An extra character calculated from the rest of the serial, so a typing mistake can be detected. Luhn (mod 10) is used for numeric serials, as on credit cards. ISO/IEC 7064 MOD 37,36 covers letters and digits and catches every single-character error and most swapped neighbours.
Are the random serial numbers unique?
Every list is de-duplicated, so no serial repeats within a batch. Across separate batches, keep your previous list and check new ones against it, or use a longer length or UUIDs, which make repeats practically impossible.
Why are some letters missing from random serials?
The letters-and-digits format leaves out 0, 1, O and I, which are easily confused when people read or type a serial. Hex and UUID formats use their standard character sets.
Can I print serial number labels?
Yes. Pick a label sheet or thermal roll below and download a PDF, with each serial as a Code 128 barcode, QR code or Data Matrix. Data Matrix suits small parts.