How to use the number list generator
- 1Choose Sequence, Primes or Fibonacci.
- 2Enter the Start and End (and the Step for a sequence). An end below the start counts down.
- 3Optionally set Min. digits for leading zeros, and a Prefix or Suffix such as
ID-or.. - 4Choose Separate with (new line, comma, space, tab or custom). The list updates as you type; copy or download it.
Example
Sequence · Start 1 · End 10 · Step 1 · Min. digits 3 · Prefix ID- · Separate with: Comma
ID-001, ID-002, ID-003, ID-004, ID-005, ID-006, ID-007, ID-008, ID-009, ID-010
Start, end and step
The list starts at Start and moves towards End by Step, including the end only when a step lands on it exactly: 0 to 10 with step 3 gives 0, 3, 6, 9. The direction comes from start and end, so 100 to 0 with step 25 counts down: 100, 75, 50, 25, 0. Decimal steps work without floating-point drift (0 to 1 by 0.1 ends at exactly 1.0), and every number is shown with as many decimals as the start or step uses. Include keeps only even or only odd numbers.
Zero padding and prefixes
Min. digits adds leading zeros until each number has at least that many digits: with 3, the number 7 becomes 007 and 1234 stays 1234. Negative numbers keep the sign in front (−03). Prefix and Suffix wrap every number, which saves a second pass: ID- gives ID-001, a suffix of . gives a numbered-list look, and ( with ) gives (1), (2). To add text around existing lines, use add prefix and suffix.
Separators: new line, comma, space
New line puts one number per line, which pastes into a spreadsheet as a single column. Tab pastes across a row. Comma gives 1, 2, 3 for code, SQL IN (…) lists or forms. Custom… accepts any text; type \n for a line break or \t for a tab, so | or ;\n both work. To repeat the whole list several times, run it through the text repeater.
Other sequences: primes, Fibonacci
Primes lists every prime number between start and end: 1 to 50 gives 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47 (15 primes). Fibonacci lists the terms of 0, 1, 1, 2, 3, 5, 8 … whose values fall between start and end; each term is the sum of the two before it. Terms stop at 2^53, the largest whole number JavaScript represents exactly. For random rather than ordered numbers, use the random number generator; to number the lines of existing text, use number each line.
Is anything I enter stored?
This tool runs entirely in your browser. Your text is not uploaded to our servers.
