Skip to content
DoItJag

Serial Number Generator

Number products, assets, tickets, certificates or vouchers. Make a sequential series such as SN-000001 with a prefix, step and zero padding and an optional check digit, or a batch of unique random codes like K7QM-3X9A-TCWE that avoid look-alike characters.

Kind of serial number

6 gives 000001; 0 means no padding

1 to 10,000

Random codes use your browser’s cryptographically secure random generator. They are not registered anywhere and are not licence keys by themselves: your own system must record and check them. Nothing is sent or stored.

About Serial Number Generator

Serial numbers give every individual item its own identity: a laptop on the asset register, a numbered certificate, an event ticket or a warranty card. This tool produces up to 10,000 at a time in either of two styles, and you can look at them in a table before you copy or download anything.

Sequential numbers

Sequential mode counts upwards from your first number. Set a prefix such as ASSET-, the step (1 for every number, 10 to leave gaps for later insertions) and the digits. Six digits turns 42 into 000042, so numbers sort correctly in spreadsheets and line up on labels. A suffix can mark a site or year.

Tick the check digit box and one extra digit is added using the Luhn formula, the method behind credit card and IMEI numbers. If a person mistypes one digit or swaps two neighbouring digits, the result no longer passes the check, so your system can reject it. Starting at 7992739871 gives 79927398713, the classic textbook example.

Random unique codes

Random mode is for codes that should not be guessable, such as voucher codes, scratch-card PINs or claim codes. Choose the characters: the default set leaves out pairs people confuse, such as 0 and O or 1 and I. Pick the length and how to group it, for example 12 characters in blocks of 4: K7QM-3X9A-TCWE.

Each character is drawn with the browser’s secure generator, and the batch is checked so no code appears twice. The page shows how many codes are possible; with 12 characters from 25 symbols there are about 6 × 10^16, so guessing a valid one is hopeless.

Worked example

A school needs 400 numbered certificates. Choose Sequential, prefix CERT-2026-, first number 1, digits 4, how many 400. The table shows CERT-2026-0001 to CERT-2026-0400; download the CSV and use it as the data source for a mail merge.

Nothing here is registered or checked against other batches, so keep your own list of issued numbers. For product variant codes, see the SKU Generator.

How to use Serial Number Generator

  1. Choose Sequential or Random unique codes.
  2. Set the prefix, digits or code length and how many you need.
  3. Press Create serial numbers, check the preview and copy or download the CSV.

Privacy: how it works

Serial numbers are made in your browser. Nothing is sent or stored.

Frequently asked questions

What is the Luhn check digit for?

It is one extra digit calculated from the others, the same method used on payment cards and IMEI numbers. If someone mistypes one digit, the number no longer checks out, so typing errors are caught.

Are random codes guaranteed to be unique?

Within one batch, yes. Codes from separate batches are not compared, so keep a record of what you have issued, or create everything in one batch.

Can I use these as licence keys or coupon codes?

They work as the codes themselves, but nothing is registered here. Your own system must store the codes and check them when they are used.