# Integer pairs generator

## World's simplest integer tool

This online utility generates pairs of integers and prints them as two-dimensional xy coordinates in the output. You can independently specify the range of integers for the first and second coordinates and you can create as many integer pairs as you need. The output format of pairs can be customized as well by changing the separator character between the coordinates and the brackets around the pairs. Created by math nerds from team Browserling.

Announcement
Check out our new project!

We just launched a new site – Online GIF Tools – a collection of utilities for quickly editing GIFs. Check it out!

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

Can't convert.

Integer pairs generator tool
What is a integer pairs generator?

With this browser-based app, you can create random pairs of Cartesian coordinates. Each pair of integers can be viewed as a point (x, y) in 2D space, where x is the abscissa and y is the ordinate of the point. For each coordinate, you can set the range of allowed integer values by entering the range start and end values in the options. The first coordinate will be randomly selected from the first integer range, and the second coordinate will be randomly selected from the second range. You can generate any number of pairs at once. The number of pairs in the output can be controlled via the count option. The standard coordinate point format uses the round brackets around and the comma between coordinates, but you can replace these symbols with curly brackets {x, y}, square brackets, [x, y], or no brackets at all x, y. The comma can be changed, too. You can set it to a semicolon (x; y), a colon (x: y), or any other character. You can also change the separator of output pairs and print them in a line by putting the space or comma symbols after each pair. Cartesianabulous!

Integer pairs generator examples
Click to use

Integer Vectors

In this example, we generate ten random integer vectors using only digits zero to nine. We set the first range to be from 0 to 4, which means that the left coordinate has five possible integers: 0, 1, 2, 3, 4. We set the second range to be from 5 to 9, which means that the right coordinate also has five possible values: 5, 6, 7, 8, 9. This way, both coordinates are in the first quadrant of the orthogonal coordinate system and the first coordinate is always less than the second one.

(2, 6)
(1, 7)
(0, 8)
(1, 5)
(1, 7)
(3, 8)
(1, 6)
(2, 7)
(3, 7)
(3, 7)

**Required options**

Range start.

Range end.

Range start.

Range end.

Number of pairs to print.

Pair separator symbol.

Open-pair symbol (left side).

Close-pair symbol (right side).

Point separator symbol (middle).

Coordinates of Different Signs

In this example, we change the parentheses of integer points to curly brackets and generate twenty points. We separate the points by the space character so that they are printed on a single line and separate the integers by the semicolon. We use negative integers from -100 to -1 for the abscissa and positive integers from 1 to 100 for the ordinate. The origin point {0; 0} never appears in the list as neither of the ranges includes 0.

{-34; 5} {-24; 21} {-85; 32} {-28; 43} {-6; 83} {-55; 42} {-46; 50} {-1; 64} {-32; 20} {-7; 31} {-44; 43} {-57; 55} {-80; 86} {-42; 9} {-19; 66} {-74; 84} {-21; 58} {-31; 6} {-91; 99} {-39; 85}

**Required options**

Range start.

Range end.

Range start.

Range end.

Number of pairs to print.

Pair separator symbol.

Open-pair symbol (left side).

Close-pair symbol (right side).

Point separator symbol (middle).

Binary Chain

This example covers the unit square and uses the same range for both coordinates. The unit square is the region from 0 to 1 so both coordinates are from this region. The output format is configured to remove the separator character between coordinates and sets the separator symbol between pairs to a dash. The parentheses are replaced with angle brackets and this makes the output look like a long binary chain.

<10>-<01>-<00>-<01>-<10>-<01>-<01>-<10>-<00>-<11>-<01>-<00>-<10>-<00>-<10>

**Required options**

Range start.

Range end.

Range start.

Range end.

Number of pairs to print.

Pair separator symbol.

Open-pair symbol (left side).

Close-pair symbol (right side).

Point separator symbol (middle).

Pro tips
Master online integer tools

You can pass options to this tool using their codes as query arguments and it will automatically compute output. To get the code of an option, just hover over its icon. Here's how to type it in your browser's address bar. Click to try!

https://onlineintegertools.com/generate-integer-pairs?&first-range-start=0&first-range-end=4&second-range-start=5&second-range-end=9&count=10&integer-separator=%2C%20&pair-separator=%5Cn&open-symbol=%28&close-symbol=%29

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 unleash the destructive force of Zalgo on integers.

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 drop digits from an integer and make it shorter.

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 calculate the partial sum of a bunch of integers.

Quickly calculate the partial product of a bunch of integers.

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 round integers up or down to the required precision.

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 generate an array of integers for programming.

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.

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 Base64

Quickly encode integers to base-64.

Convert Base64 to Integers

Quickly decode base-64 to integers.

Change Integer Base

Quickly convert integers to a custom base.

Convert Integers to HTML Entities

Quickly encode integers to HTML encoding.

Convert HTML Entities to Integers

Quickly decode HTML entities to integers.

Convert Integers to URL Encoding

Quickly encode integers to URL (percent) encoding.

Convert URL Encoding to Integers

Quickly decode URL-encoded 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.

Find the Average

Quickly calculate the average value of integers.

Find the Digit Average

Quickly calculate the average value of integer digits.

Clamp Integers

Limit integer values to a range.

Clamp Integer Digits

Limit integer digit values to a range.

Duplicate Integers

Create multiple copies of the input integers.

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.

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).

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 Integers to Fractions

Rewrite an integer in fractional form.

Convert Fractions to Integers

Extract the numerator and denominator from a fraction.

Find and Replace Integers

Search for all occurrences of an integer and replace it.

Generate Integers from a Regex

Create integers that match the given regular expression.

Generate Small Integers

Create relatively tiny integers.

Generate Big Integers

Create relatively huge integers.

Subscribe!
Never miss an update

Cool!

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

Cool!