Place Value Number Generator

Set how many places the number has, then fill in the digits allowed at each place (only 0-9 counts). Every place is picked independently at random and joined with the highest place on the left. Place 1 is the units digit.
Places:   How Many:   Sort by:
Allowed digits for each place, e.g. 13579 — leave empty for 0-9      Separator:
Output Result
Statistics Result Download CSV
Count Generated Number

Introduction to the tool and how to use it

The custom-digit random number generator builds numbers with per-position constraints, for example the ten-thousands digit can only be 1-9, the units digit only 0/2/4/6/8 (even last digits), or a position fixed to a few digits.
Note: each position picks independently at random, so the same digit may repeat in one position; when deduplication is on, if the candidate pool is smaller than the requested count it tries its best to return distinct results.

How to use

  1. First set the number of digits; the page creates one input box per position (position 1 is the units digit, counted from right to left).
  2. In each position's box, type the digits allowed there; entering 13579 means that position can only take 1/3/5/7/9. Only 0-9 are recognized and other characters are ignored automatically; leaving it blank means 0-9 are all allowed.
  3. Set how many to generate, and choose whether to deduplicate and whether to sort.
  4. Click start; the generated numbers print one per line in the text box on the right, the table below lists each item as number / generated result (copy in place), and CSV download is available.

Message board

All messages →
0/200

  • No one has spoken up yet — want to go first?