Numbers
PIN & Token Grid Generator
Used by developers, writers, and creators worldwide.
The PIN & token grid generator creates a scannable batch of random codes — numeric PINs or alphanumeric tokens — laid out in a clean card grid you can copy, assign, or print immediately. Set the code length (default 6), choose your character set, and specify how many codes you need. One detail worth noting: visually ambiguous characters like O/0 and I/1 are stripped out automatically, which matters enormously when codes are printed small or read aloud. Fewer misreads means fewer support requests. Numeric codes suit keypads and locker panels; alphanumeric tokens add entropy for vouchers or temporary credentials where guessability is a real concern.
Loading usage…
Free forever — no account required
How to use
- Choose your options above
- Click Generate
- Copy your result
Detailed instructions
- Set the Code Length field to match how long you want each PIN or token to be.
- Select a Character Set: choose 'numeric' for keypad-friendly PINs or 'alphanumeric' for higher-entropy tokens.
- Enter the number of codes you need in the Grid Size field, then click Generate.
- Review the card grid and regenerate any batch that contains codes you want to replace.
- Use your browser's print function or copy individual codes directly from the grid for distribution.
Use Cases
- •Printing 50 unique raffle ticket codes on Avery label sheets for an in-person fundraiser
- •Pre-loading alphanumeric access tokens onto a check-in sheet for a conference with no QR scanner
- •Generating locker PINs for 30 new gym members on opening day without duplicates
- •Creating one-time 8-character promo codes to paste into a Shopify bulk discount import CSV
- •Issuing temporary Wi-Fi tokens to workshop attendees via a printed handout
Tips
- →For printed handouts, use length 6 and numeric mode — shorter codes reduce transcription errors when attendees enter them on a keypad.
- →Alphanumeric tokens at length 8 give over 2 trillion possible combinations, making brute-force guessing impractical for voucher systems.
- →If you need codes with a consistent prefix (e.g., SALE-XXXXXX), generate the random portion here and manually prepend the prefix in your spreadsheet.
- →Generate slightly more codes than you need — having 20% extra lets you retire codes that look awkward or are too similar to each other.
- →For event check-in sheets, a grid of 12 codes at length 6 fits neatly on one printed page when the browser zoom is set to 80%.
- →Avoid reusing the same batch across multiple events or promotions; regenerate a fresh grid each time to prevent code overlap and fraud.
FAQ
why are characters like O, 0, I, and 1 removed from generated codes
Those characters are visually ambiguous in most print fonts, especially at small sizes or when handwritten. Removing them is standard practice in PIN and voucher systems — it cuts down on entry errors and the 'was that a zero or an O?' support calls that follow. Every code in the grid is already safe to hand to a user without an explanation.
are these codes secure enough for real access control or login systems
The generator uses JavaScript's Math.random(), which is not cryptographically secure, so it is not suitable for protecting user accounts, financial data, or sensitive systems. It is well-suited for low-stakes uses: event check-in, classroom activities, locker assignments, and promotional vouchers. For security-critical applications, use a cryptographically secure random source like the Web Crypto API.
what code length should I use for printed voucher codes
Six to eight characters is the industry standard — long enough to resist casual guessing, short enough to type without errors. Stick to six for mobile entry; go to eight if you need a code pool large enough for millions of unique values. Alphanumeric at eight characters gives you over 2 trillion combinations even after stripping ambiguous characters.