Guide

How to Generate Serial Numbers

A complete walkthrough of the free SerialMint generator — every option explained, plus tips for batches, formats and exporting.

Guide · SerialMint

Step 1 — Set the segment layout

Start with the two controls that define the shape of your serials: Segments (1 to 6 groups) and Characters per segment (1 to 12). The classic software-key look is 4 segments of 5 characters (XXXXX-XXXXX-XXXXX-XXXXX); a hardware-style serial might be 2 segments of 8, or a single long segment. The format preview under the controls updates live as you type, so you can confirm the shape before generating anything.

Step 2 — Pick a character set

Choose the alphabet your serials are drawn from:

  • Uppercase + digits (A-Z, 0-9) — the default, and the closest to how most real serials look.
  • Digits only — for numeric serials like appliance or invoice-style numbers.
  • Hexadecimal (0-9, A-F) — for engineer-facing identifiers such as hardware IDs.
  • Uppercase letters only — for short alphabetic batch or lot codes.

If you want a refresher on why these sets matter, our serial number formats guide covers character sets, ambiguous characters and check digits in detail.

Step 3 — Choose a separator and add a prefix

The separator goes between segments: a hyphen (most common), a space, or nothing at all. Then, optionally, type a custom prefix — letters and digits only, up to 12 characters. A prefix like SN, B7 or DEMO is added to the front of every serial and is the fastest way to make a batch look like it belongs to your product line. Anything that is not a letter or digit is stripped automatically.

Step 4 — Set the quantity

The quantity control generates between 1 and 100 serials per click. For a handful of mockup values, 5 to 10 is plenty; for seeding a test database or running an import stress test, generate the full 100 and repeat. Every serial in a single batch is unique — the tool discards any accidental duplicate it produces and draws again.

Step 5 — Generate, copy, download

Press Generate. Each character is drawn from the browser's Web Crypto API (crypto.getRandomValues) with rejection sampling to avoid bias, so the output is genuinely random and produced locally — nothing is sent to a server. Then:

  • Click any serial to copy that single serial to your clipboard.
  • Copy all puts the entire batch on the clipboard, one serial per line.
  • Download .txt saves a plain-text file (serialmint-serial-numbers.txt) with one serial per line — a format that pastes straight into spreadsheets, test fixtures and database import tools.

Tips for realistic test batches

  • Match the real format you are imitating. If the system you are testing expects 4 groups of 4 uppercase characters, generate exactly that — validation bugs hide in mismatched shapes.
  • Generate separator variants. Produce the same batch with hyphens, with spaces and with no separator, and feed all three into your forms. Users paste serials in every shape imaginable.
  • Use prefixes to separate test runs. Tag Monday's batch T1 and Tuesday's T2 so rows in your test database stay attributable.
  • For large imports, generate in multiple batches. One hundred per click adds up fast; download each batch to a text file and concatenate them.
  • Never reuse test serials as real identifiers. If a random serial ever graduates into a production system, verify it against your existing records first — random does not mean globally unique.

What this tool will not do

To keep expectations honest: the generator produces random strings, not valid licenses. It cannot create keys that activate real software, it does not compute check digits for any vendor's scheme, and it does not check your serials against any real database. That is by design — this is a tool for testing, mockups, demos and seeding, and it says so on the tin.

Ready? It takes ten seconds.

Pick a format, press Generate, copy or download. No sign-up, no tracking, free forever.

Open the generator