Random Code and ID Generator by Pattern
Generate serial numbers, order IDs, invoice numbers, coupon and license codes in bulk from a pattern such as ABC-####-XXXX, with random or counting numbers.
- Free
- No sign-up
- Works on any device
About Random Code and ID Generator by Pattern
Write a pattern and get any number of codes from it. The symbol # is a digit, X an upper-case letter or digit, x a lower-case letter or digit, @ an upper-case letter, & a lower-case letter and * any letter or digit; other characters are copied, and {4} repeats the character before it. ABC-####-XXXX gives codes like ABC-0599-PHS2. Presets cover serial numbers, orders, invoices, tickets, bookings, coupons, referrals and licence keys. Counting mode turns the first run of # into a counter: ABC-#### from 1 gives ABC-0001, ABC-0002, ABC-0003.
How to use Random Code and ID Generator by Pattern
- Pick a kind of code or type your own pattern.
- Choose how many codes, random or counting, and whether every code must differ.
- Copy the list or download it as text or CSV.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
Also known as
Frequently asked questions
How does this differ from a random string generator?
A random string tool makes plain text. This one follows your pattern, keeps a prefix, can count up and shows how many different codes the pattern allows.
Are the codes safe to use as secrets?
They use the browser's secure random source, but they are labels, not passwords or keys. Use a password generator for anything secret.
Why did I get an error about the count?
With every code different, the pattern must allow at least that many codes. The page tells you the limit so you can lengthen the pattern.
Is Random Code and ID Generator by Pattern free?
Yes. Random Code and ID Generator by Pattern on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.