Calculates on this device. File exports run online.
Serial Number Generator
Choose numbered or random serial numbers, type the text before and after the number, and press Make the serial numbers. Then download them as a list, print them on labels with a barcode or QR code, or make one code picture for each.
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Make the serial numbers.
Your result
How it was worked out
How to make serial numbers
Choose Numbered serial numbers (they count up: SN-000001, SN-000002 …), Random serial numbers (they cannot be guessed from each other) or Check a list of serial numbers (for numbers you already have).
Type the text before the number (such as SN- or 2026-), the first number, the step, how many you need and the number of digits. A check digit can be added after the number.
Press Make the serial numbers. The table shows every serial number; copy them or download them as text or CSV.
In the box below, make an Excel or PDF list, a sheet of labels with a barcode or QR code on each label, or one barcode picture for each serial number.
Numbered or random
Numbered serial numbers are easy to sort and to count: the number shows the order in which items were made. Leading zeros keep them the same length, so 6 digits make 1 into 000001.
Random serial numbers are drawn with the secure random numbers of your browser. A code that was already drawn is thrown away and drawn again, so all codes in the list are different. The result shows how many different codes are possible and how likely a repeat would have been without this check. Random codes are hard to guess, but they are not secret.
Check digits
A check digit is worked out from the number and written after it. When someone types the serial number with one wrong digit, the check digit no longer fits, so the mistake can be found. Each method is exactly as its source describes:
Luhn (ISO/IEC 7812-1, as on payment cards): from the right, every second digit is doubled; the check digit makes the sum of all digits a multiple of 10.
GS1 mod 10 (GS1 General Specifications, as in GTIN and EAN barcodes): from the right, digits are multiplied by 3, 1, 3, 1 …; the check digit makes the sum a multiple of 10.
Damm (H. Michael Damm, 2004) and Verhoeff (J. Verhoeff, 1969): one digit that finds every single wrong digit and every swap of two neighbouring digits.
ISO/IEC 7064 MOD 11-2 (as in ORCID iDs): one check character, 0 to 9 or X. ISO/IEC 7064 MOD 97-10 (as in IBAN): two check digits; the whole number leaves 1 when divided by 97.
Worked example
With the Luhn method, the number 7992739871 gets the check digit 3, so the serial number is 79927398713. With GS1 mod 10, 400638133393 gets 1: 4006381333931. With MOD 11-2, 000000021825009 gets 7.
Labels and barcodes
Each label holds the words you typed for labels (such as a product name), the serial number and a Code 128 barcode, a QR code or a Data Matrix code of exactly that serial number. Choose the label sheet (Avery US Letter and A4 sheets, thermal labels and more) and print the PDF at 100 %. Every code is read back by a scanner program before the file is made.
Limits you should know
This page does not register numbers with anyone. GTIN, UPC and EAN product numbers come from GS1; a serial number made here is your own number.
It does not make or find licence keys, product keys or serial numbers of other people's software.
It does not decode the serial numbers of vehicles, engines or other products: for a vehicle identification number, use the VIN Decoder.