onlineintegertools logo

Integer chooser

World's simplest integer tool

This browser-based utility chooses multiple integers from a list of integers and prints them in the output. You can specify how many values you want to select and also if you want to allow or disallow repeated selection of integers. The input and output integers can be positive and negative and the delimiter that separates them can be customized in the options. Created by math nerds from team Browserling.
announcement a new project!
Super exciting news! We just launched TECHURLS – simple and fun tech news reader. Check it out!
Amount of Integers
Set the number of integers you want to pick.
Integer Delimiters
Input integer delimiter.
Output integer delimiter.
Repeated Integers
Input integers can be picked more than once.
Integer chooser tool What is a integer chooser?
With this online integer picker, you can select one or multiple integers from the given sequence of integers. You can configure the exact number of integers to choose in the first option. By default, it selects only one integer. If you need more than one integer then there are two ways to select them. They can be either re-selected more than once or selected only once. In the case integers are selected only once, the count value must not exceed the number of integers in the input because if you choose n integers from n integers, then there are no more integers left. In the case integers are selected more than once (this is done by enabling the Allow Re-selection option), you can pick as many values as you want as every time a value is picked, it's put back in the input list for the next pick. By default, integers have to be entered one per line but often integers are separated by spaces or commas so we made it possible to set a custom separator character. Similarly, you can also customize the output delimiter if two or more integers are picked. Integerabulous!
Integer chooser examples Click to use
Assign Players to Teams
In this example, we want to fairly split twelve volleyball players into two teams A and B with 6 players each. To do this, we enter the players' numbers from 1 to 12 in the input area and make the utility to pick 6 integers. This way, six randomly selected integers will form team A, and the remaining six integers will form team B. To make sure the same player isn't chosen several times, we have deactivated the "Allow Re-selection" option. For convenience, all input numbers and all output numbers are formatted in columns via the "\n" separator.
1 2 3 4 5 6 7 8 9 10 11 12
9 12 3 8 10 2
Required options
These options will be used automatically if you select this example.
Set the number of integers you want to pick.
Input integer delimiter.
Output integer delimiter.
Input integers can be picked more than once.
Repeated Integers
In this example, we randomly pick ten integers from a list of fifteen integers with the "Allow Re-selection" option active. This option means that any of the fifteen input integers can be selected more than once. The input list contains both positive and negative integers, and they are written as a comma-separated sequence. To correctly parse the input, we enter the comma in the input delimiter field. For the ten picked integers in the output, we use the semicolon as a separator symbol.
-52, 42, -42, -3, -51, -27, 18, -42, -33, 14, -27, -77, -10, 47, 76
-42; -42; -3; -51; -10; -77; -77; 76; -51; -51
Required options
These options will be used automatically if you select this example.
Set the number of integers you want to pick.
Input integer delimiter.
Output integer delimiter.
Input integers can be picked more than once.
Test Your Luck
In this example, we allow anyone to test his luck. We have entered one hundred space-separated integers with ninety-nine of them being zeros, and only one of them being a one. The probability of choosing the value 0 is 99%, while the lucky probability of picking the integer 1 is 1%. Click on the example to see if it's your lucky day!
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1
Required options
These options will be used automatically if you select this example.
Set the number of integers you want to pick.
Input integer delimiter.
Output integer delimiter.
Input integers can be picked more than once.
Pro tips Master online integer tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlineintegertools.com/pick-an-integer?input=1%0A2%0A3%0A4%0A5%0A6%0A7%0A8%0A9%0A10%0A11%0A12&count=6&with-repetitions=false&input-separator=%5Cn&output-separator=%5Cn
All integer tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly rewrite integer digits using pretty Unicode glyphs.
Quickly generate random two-dimensional integer points.
Quickly generate random three-dimensional integer points.
Quickly print a list of integers that are palindromes.
Quickly convert the given integer to a palindromic integer.
Quickly find all integers in the given text or string.
Quickly make integer digits go in a triangle wave.
Quickly find two or more integers that add up to the given integer.
Quickly find several integers that multiply up to the given integer.
Quickly randomize the given sequence of integers.
Quickly mix the order of digits in an integer.
Quickly put integers in increasing or decreasing order.
Quickly sort the individual digits of an integer.
Quickly increase all integers by a certain amount.
Quickly increase individual digits by a certain amount.
Quickly decrease all integers by a certain amount.
Quickly decrease individual digits by a certain amount.
Quickly randomly select an integer from a list of integers.
Quickly create groups from the digits of an integer.
Quickly write integer digits backwards.
Quickly remove one or more digits from an integer.
Quickly replace one or more digits in an integer.
Quickly add the thousands separator to integers.
Quickly remove the thousands separator from integers.
Quickly find the largest integer in a list of integers.
Quickly find the smallest integer in a list of integers.
Quickly find the total sum of a bunch of integers.
Quickly find the sum of all the digits in an integer.
Quickly find the total product of a bunch of integers.
Quickly find the product of all the digits in an integer.
Quickly flip the sign of one or more integers.
Quickly split an integer into chunks of a given length.
Quickly merge partial integers together to form a larger integer.
Quickly convert integers to a downloadable picture.
Quickly generate a list of von Neumann ordinals.
Quickly generate a list of Zermelo ordinals.
Quickly generate an ordered sequence of integers.
Quickly generate an ordered list of even integers.
Quickly generate an ordered list of odd integers.
Quickly write an integer spelling in words.
Quickly convert spelled integers to regular integers with digits.
Quickly find the number of occurrences of digits in integers.
Coming soon These integer tools are on the way
Draw von Neumann Universe
Create a drawing that visualizes von Neumann hierarchy of sets.
Let Zalgo Destroy Integers
Unleash Zalgo on integers and create integer chaos.
Create Integer n-Tuples
Generate a list of tuples of integers with n elements.
Convert Integers to Unary Base
Quickly convert integers to base one.
Convert Unary Base to Integers
Quickly convert base one to integers.
Convert Integers to Binary Base
Quickly convert integers to base two.
Convert Binary Base to Integers
Quickly convert base two to integers.
Convert Integers to Octal Base
Quickly convert integers to base eight.
Convert Octal Base to Integers
Quickly convert base eight to integers.
Convert Integers to Hex Base
Quickly convert integers to base sixteen.
Convert Hex Base to Integers
Quickly convert base sixteen to integers.
Convert Integers to Any Base
Quickly convert integers to a custom base.
Convert Integers to Base64
Quickly encode integers to base-64.
Convert Base64 to Integers
Quickly decode base-64 to integers.
Convert Integers to HTML Entities
Quickly encode integers to HTML encoding.
Convert HTML Entities to Integers
Quickly decode HTML entities to integers.
Create Random Integers
Generate a list of random integers.
Check if an Integer is Symmetric
Check if the given integers are palindromes.
Generate an Integer Matrix
Create a matrix whose entries are all integers.
Generate an Integer Vector
Create a vector with integer coefficients.
Rotate Integers
Rotate the digits of an integer to the left or right.
Shift Integer Digits
Move the digits of an integer to the left or right.
Subtract Integers
Quickly find the difference of a bunch of integers.
AND Integers
Quickly apply the bitwise AND operation to integers.
OR Integers
Quickly apply the bitwise OR operation to integers.
XOR Integers
Quickly apply the bitwise XOR operation to integers.
NOT Integers
Quickly apply the bitwise NOT operation to integers.
NAND Integers
Quickly apply the bitwise NAND operation to integers.
NOR Integers
Quickly apply the bitwise NOR operation to integers.
XNOR Integers
Quickly apply the bitwise NXOR operation to integers.
Find the Running Total
Calculate the partial sum of a bunch of integers.
Find the Running Product
Calculate the partial product of a bunch of integers.
Convert an Integer to Ordinal
Add -st, -nd, -rd, -th suffixes to integers to make them ordinals.
Convert an Oridinal to Integer
Remove -st, -nd, -rd, -th suffixes from ordinals to make them ints.
Filter Integers
Find integers that match a filter (greater, less, equal).
Truncate Integers
Drop digits from an integer and make it shorter.
Left-pad Integers
Add padding to integers on the left side.
Right-pad Integers
Add padding to integers on the right side.
Right-align Integers
Position all integers so that they align on the right.
Center Integers
Position all integers so that they align in the middle.
Take Absolute Value of Integers
Turn all integers into positive integers.
Make All Integers Negative
Turn all integers into negative integers.
Convert Fractions to Integers
Extract the numerator and denominator of a fraction.
Find and Replace Integers
Search for all occurrences of an integer and replace it.
Generate Integers from Regex
Create integers that match the given regular expression.
Create an Integer Array
Generate an array of integers for programming.