Thousands of tools! Check out Online Tools – I have now added thousands of tools.

I often have to generate a sequence of integers so I created this simple online utility that does it for me. It lets you generate however many integers you need starting from any given value with any difference between them. It works in the browser and is powered by alien technology from the future.

## Integer Generator Options

Start and Step
Count and Separator
Base

## Integer Generator Examples (click to try!)

Increasing Even Integers
This example sets the difference between integers to 2, the sequence start value to 0, and count to 100. This makes it generate a list of 100 even numbers.
`0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198`
Starting value.
How many values to generate?
Sequence step value.
Separate integers with this value.
Decimal Base
Decreasing Odd Integers
In this example, we have a negative step of -2. We start a sequence from the value of 101 and generate 52 values in descending order. This creates a list of odd integers that end at -1.
`101; 99; 97; 95; 93; 91; 89; 87; 85; 83; 81; 79; 77; 75; 73; 71; 69; 67; 65; 63; 61; 59; 57; 55; 53; 51; 49; 47; 45; 43; 41; 39; 37; 35; 33; 31; 29; 27; 25; 23; 21; 19; 17; 15; 13; 11; 9; 7; 5; 3; 1; -1`
Starting value.
How many values to generate?
Sequence step value.
Separate integers with this value.
Decimal Base
Integers with a Large Delta
In this example, we start the integer list from the value of one million and use a large delta of -200000 to create a sequence of 11 integers that end at minus one million.
```1000000
800000
600000
400000
200000
0
-200000
-400000
-600000
-800000
-1000000```
Starting value.
How many values to generate?
Sequence step value.
Separate integers with this value.
Decimal Base

## How Does This Integer Generator Work?

This integer number generator works entirely in your browser and is written in JavaScript. It pretty much only uses the `+` operation to get the job done. It creates an output `array` and starts generating integers from the `start` value (specified in options). The generation is done in a while loop that keeps adding the `step` value (difference; specified in options) to the current value. It `push()`es new values into `array` and continues this calculation until `array`'s length is equal to `count` (number of requested integers; specified in options). As integers can get arbitrarily large, it uses the `bignumber.js` library to handle large values. When `array`'s length reaches `count`, it combines all integers together by `join()`ing them by the `separator` parameter (integer separator; specified in options).

### Created by Browserling

This integer generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by our web developer tools that are used by millions of people every month. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!

Secret message: If you love my tools, then I love you, too! Use coupon code TOOLLING to get a discount at my company.