Numbers
Serial Number Generator
Used by developers, writers, and creators worldwide.
A serial number generator gives you structured alphanumeric identifiers on demand, without typing them out by hand. Define your format using three placeholders — X for a letter, N for a digit, and * for either — then embed any literal characters like hyphens or dots directly in the pattern. The output already matches your naming convention with no post-processing. Set the count to however many you need, choose uppercase, lowercase, or mixed case, and copy the list straight into a spreadsheet, SQL script, or print template. It handles software licence keys, asset tags, warranty codes, and activation serials equally well.
Loading usage…
Free forever — no account required
How to use
- Choose your options above
- Click Generate
- Copy your result
Detailed instructions
- Type your desired pattern into the Format field using X for letters, N for digits, * for either, and literal characters like hyphens as separators.
- Set the Count field to the number of serial numbers you need, up to 100 per run.
- Choose Uppercase or Lowercase from the Case dropdown to match your system's requirements.
- Click Generate to produce the full list of serial numbers instantly.
- Copy the output list and paste it directly into your spreadsheet, database seed file, or print template.
Use Cases
- •Seeding a Postgres staging database with 100 product serial numbers matching format XX-NNNN-XXNN
- •Generating XXXXX-XXXXX-XXXXX-XXXXX style licence keys for an indie software launch
- •Creating unique warranty codes to mail-merge onto product packaging PDFs in batches
- •Mocking up an inventory spreadsheet in Notion or Excel with realistic asset tag placeholders
- •Producing lowercase URL-safe activation tokens for event tickets or referral vouchers
Tips
- →Add a fixed prefix directly in the pattern — for example, SN-XXXX-NNNN — so every serial is already labelled with your product code.
- →For QA test data, use a short format like NN-XX to generate visually distinct but simple identifiers that are easy to spot in logs.
- →Mix literal letters with placeholders — pattern MOD-NNN-XXXX produces serials that look hand-structured while still being random.
- →Generate a slightly larger batch than you need, then pick the visually cleanest ones — avoid serials with ambiguous characters like 0/O or 1/I if humans will read them.
- →If your target system is case-sensitive, run two separate batches — one uppercase, one lowercase — and use the appropriate set for each environment.
- →Cross-reference generated serials against your existing database before import; even with long formats, a spot-check prevents painful duplicate-key errors in production.
FAQ
what do X, N, and * mean in the format pattern
X inserts a random letter (A–Z), N inserts a random digit (0–9), and * inserts either a letter or digit at random. Any other character you type — a hyphen, slash, dot, or literal letter — passes through unchanged, so hyphens in XXXX-NNNN-XXNN appear in every generated serial exactly where you placed them.
are randomly generated serial numbers unique enough for real use
For prototyping, mockups, and small batches they're more than sufficient — a 12-character alphanumeric pattern has billions of possible values, making accidental collisions extremely rare. For production systems where duplicates would cause real problems, validate each generated serial against your existing records before committing it to the database.
how do I reverse-engineer my company's serial number format into a pattern
Take an existing serial, replace each letter position with X, each digit with N, and leave separators as-is. For example, LT-004521 becomes XX-NNNNNN, and AB-1234-C5 becomes XX-NNNN-XN. Paste that pattern into the format field and the generator will produce consistently structured serials that match your convention.