# Integer shuffler

## World's simplest integer tool

This browser-based utility shuffles a bunch of integers and prints mixed values in the output. You can rearrange integers one by one or group them in pairs, triples, quadruples, or any other group size and shuffle them group by group. You can also customize the input and output integer separators and ignore duplicate integers. Created by math nerds from team Browserling.

announcement
a new site!

We just launched a new site – Online Unicode Tools – utilities for working with Unicode. Check it out!

A link to this tool, including input, options and all chained tools.

Can't convert.

Integer shuffler tool
What is a integer shuffler?

With this online application, you can shuffle the positions of integers in the given sequence of integers. The randomization is performed by taking each value and dropping it in a random spot in the sequence. By default, the app mixes all integers individually but you can also permute tuples of integers. For example, you can shuffle every two or every three integers. Use the group size option and enter the number of integers in the shuffle group. When shuffling tuples of integers, the integers in a tuple maintain their positions and the shuffle is stable with respect to the group. If the list of integers contains repeated values, you can choose to delete the repeated values. To do it, activate the option "Skip Repeated Integers" and only the unique integers will be returned. The input list and the shuffled output list can use different delimiter characters. The input separator must match the symbol that separates the elements of entered sequence but the output integers can use any separator that you like. Integerabulous!

Integer shuffler examples
Click to use

Randomize an Integer Sequence

In this example, we change the order of exactly a dozen integers that are entered in a vertical list. To correctly parse each integer, we set the "\n" symbol as the input separator. We set the delimiter for shuffled integers to the line break and the changed list is also vertical.

1
2
3
4
5
6
7
8
9
10
11
12

11
8
12
9
5
10
3
2
7
1
4
6

**Required options**

Symbol to split input integers.

Symbol to join shuffled integers.

Number of integers per
shuffle group.

Delete integers that appear
more than once.

Shuffle Integer Triples

In this example, the input integer sequence consists of triples of ones (1, 2, 3), tens (10, 20, 30), hundreds (100, 200, 300), and thousands (1000, 2000, 3000). To shuffle the values and preserve the positions of the triples, we enter the number 3 in the "Group Size" option. The group size of 3 makes sure that the shuffling is performed with three integers locked together.

1 2 3 10 20 30 100 200 300 1000 2000 3000

10 20 30 1 2 3 1000 2000 3000 100 200 300

**Required options**

Symbol to split input integers.

Symbol to join shuffled integers.

Number of integers per
shuffle group.

Delete integers that appear
more than once.

Unique Shuffling

This example removes duplicate integers and mixes only the unique values. This is accomplished thru the "Skip Repeated Integers" option that deletes integer copies automatically so that we didn't have to do it manually. To make sure all integers are discovered, we enter the semicolon in the input delimiter field. The mingled output is comma-separated as we set the output delimiter to the comma.

200; 200; 150; 100; 50; 50; 0; 0; 0; -50; -100; -100; -150; -200

100, -50, -150, 0, -200, 50, 150, -100, 200

**Required options**

Symbol to split input integers.

Symbol to join shuffled integers.

Number of integers per
shuffle group.

Delete integers that appear
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/shuffle-integers

__?input__=1%0A2%0A3%0A4%0A5%0A6%0A7%0A8%0A9%0A10%0A11%0A12&input-separator=%5Cn&output-separator=%5Cn&shuffle-group-size=1&skip-duplicates=false
All integer tools

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.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!