This online utility creates a linear or random array of integers that can be directly used in various programming languages. You can quickly switch between array syntax of over a dozen different programming languages or create a custom array format in the options. You can specify start and step values for linear arrays or range start and range end values for random arrays. Additionally, you set the desired length of the output array and can create an array of string integers. Created by math nerds from team Browserling.
This online utility creates a linear or random array of integers that can be directly used in various programming languages. You can quickly switch between array syntax of over a dozen different programming languages or create a custom array format in the options. You can specify start and step values for linear arrays or range start and range end values for random arrays. Additionally, you set the desired length of the output array and can create an array of string integers. Created by math nerds from team Browserling.
With this browser-based application, you can generate an array of integers for any programming language. An array is a data structure that consists of a sequence of elements (in our case it's a sequence of integers) that are identified by an array index. Different programming languages use different syntax for creating arrays. For example, JavaScript, PHP, Swift, and Ruby use square brackets to create arrays and the elements are comma-separated, such as [1, 55, -23]. Matlab also uses square brackets, but separates the elements with spaces, for example, [1 55 -23]. Rust creates comma-separated arrays with square brackets, prefixed with a type signature [T; size], for example, [i8; 5] = [0, 3, 7, -9, 4] or [i16; 3] = [255, -146, 2]. Languages C, C#, C++, Go, Java, Visual Basic, and Mathematica put the array elements in curly brackets, for example, {1, 55, -23}. Python uses either round brackets or square brackets, depending on if you're creating tuples or lists. The Perl language, similar to Python tuples, encloses array elements in curly brackets, for example, (1, 55, -23). R uses a special syntax "c(...)" where "c" stands for a column. This language internally represents arrays as column vectors and an example of an R array is c(1, 55, -23). All in all, you can choose between eighteen programming languages and two different array types in the options. If you need a different array format for a language that's not listed, then you can create your own array syntax via the custom mode option. With this mode selected, you can specify the symbols that go before and after an array on the left and right, as well as the symbol that goes between integers. The two array types are – a linear array that lets you specify the start value, step value, and the number of integers and an array of random integers that have the range start value, range end value, and also the number of output integers. For all array types, you can also quickly quote integers to get an array of integers that are strings. Integerabulous!
With this browser-based application, you can generate an array of integers for any programming language. An array is a data structure that consists of a sequence of elements (in our case it's a sequence of integers) that are identified by an array index. Different programming languages use different syntax for creating arrays. For example, JavaScript, PHP, Swift, and Ruby use square brackets to create arrays and the elements are comma-separated, such as [1, 55, -23]. Matlab also uses square brackets, but separates the elements with spaces, for example, [1 55 -23]. Rust creates comma-separated arrays with square brackets, prefixed with a type signature [T; size], for example, [i8; 5] = [0, 3, 7, -9, 4] or [i16; 3] = [255, -146, 2]. Languages C, C#, C++, Go, Java, Visual Basic, and Mathematica put the array elements in curly brackets, for example, {1, 55, -23}. Python uses either round brackets or square brackets, depending on if you're creating tuples or lists. The Perl language, similar to Python tuples, encloses array elements in curly brackets, for example, (1, 55, -23). R uses a special syntax "c(...)" where "c" stands for a column. This language internally represents arrays as column vectors and an example of an R array is c(1, 55, -23). All in all, you can choose between eighteen programming languages and two different array types in the options. If you need a different array format for a language that's not listed, then you can create your own array syntax via the custom mode option. With this mode selected, you can specify the symbols that go before and after an array on the left and right, as well as the symbol that goes between integers. The two array types are – a linear array that lets you specify the start value, step value, and the number of integers and an array of random integers that have the range start value, range end value, and also the number of output integers. For all array types, you can also quickly quote integers to get an array of integers that are strings. Integerabulous!
In this example, we create a linear 12-element array for the Java programming language. Arrays in Java use the curly bracket format with comma-separated elements. We start the linear array at 0 and increment the subsequent elements by 2 until the array is filled with 12 integers.
This example creates a Python list with random integers in string representation. There are twenty random integers in this list from the range [-100, 100] and they're all put in quotation marks so that the elements have the string type. Just a quick reminder – Python lists, compared to tuples, which use round parentheses, can be modified but tuples are immutable and can't be modified.
In this example, we decided to create an array for our own imaginary programming language that has a unique syntax. In our language, arrays are declared via angle brackets and elements are separated using colons. We generate an array of twenty-three decreasing integers that start from the value 99 and end at -99.
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!
Create a drawing that visualizes von Neumann hierarchy of sets.
Create a sudoku puzzle.
Create a list of neat-looking integers (called magic integers).
Generate a list of tuples of integers with n elements.
Quickly convert integers to base one.
Quickly convert base one to integers.
Quickly convert integers to base two.
Quickly convert base two to integers.
Quickly convert integers to base eight.
Quickly convert base eight to integers.
Quickly convert integers to base sixteen.
Quickly convert base sixteen to integers.
Quickly encode integers to base-64.
Quickly decode base-64 to integers.
Quickly convert integers to a custom base.
Quickly encode integers to HTML encoding.
Quickly decode HTML entities to integers.
Quickly encode integers to URL (percent) encoding.
Quickly decode URL-encoded integers.
Quickly convert a signed integer to an unsigned integer.
Quickly convert an unsigned integer to a signed integer.
Generate a list of random integers.
Check if the given integers are palindromes.
Create a matrix whose entries are all integers.
Create a vector with integer coefficients.
Quickly calculate the average value of integers.
Quickly calculate the average value of integer digits.
Quickly randomly select a digit from an integer.
Find which of the given integers is the biggest or smallest.
Limit integer values to a range.
Limit integer digit values to a range.
Create multiple copies of the input integers.
Create multiple copies of digits of input integers.
Rotate the digits of an integer to the left or right.
Move the digits of an integer to the left or right.
Quickly find the difference of a bunch of integers.
Quickly apply the bitwise AND operation to integers.
Quickly apply the bitwise OR operation to integers.
Quickly apply the bitwise XOR operation to integers.
Quickly apply the bitwise NOT operation to integers.
Quickly apply the bitwise NAND operation to integers.
Quickly apply the bitwise NOR operation to integers.
Quickly apply the bitwise NXOR operation to integers.
Quickly divide two or more integers.
Quickly divide the digits of an integer.
Add -st, -nd, -rd, -th suffixes to integers to make them ordinals.
Remove -st, -nd, -rd, -th suffixes from ordinals to make them ints.
Find integers that match a filter (greater, less, equal).
Add padding to integers on the left side.
Add padding to integers on the right side.
Position all integers so that they align on the right.
Position all integers so that they align in the middle.
Turn all integers into positive integers.
Turn all integers into negative integers.
Rewrite an integer in fractional form.
Extract the numerator and denominator from a fraction.
Search for all occurrences of an integer and replace it.
Create a regex that matches the given integers.
Create integers that match the given regular expression.
Create relatively tiny integers.
Create relatively huge integers.
Create a sequence of oscillating integers, such as 123212321.
Create multiple integer sequences at once.
Slightly change an integer so it has an error.
Slightly change integer digits so there are errors.
Apply fuzzing to integers and add perturbations.
Apply fuzzing to integer digits and add digit perturbations.
Add highlighting to certain integers.
Add highlighting to certain integer digits.
Add color to integers based on a condition.
Add color to individual digits in the given integers.
Quickly assign colors to integers and draw them as pixels.
Quickly assign integer values to pixel colors and print them.
Make the digits of an integer go in a spiral shape.
Make the digits of an integer go in a circle.
Make the digits of an integer go in a diamond shape.
Fill a box with certain width and height with digits.
Use ASCII art to convert integers to 2-dimensional drawings.
Use ASCII art to convert integers to 3-dimensional drawings.
Decompose an integer into ones, tens, hundreds, etc.
Generate an ordered list of increasing integers.
Generate an ordered list of decreasing integers.
Quickly find various information about the given integers.
Find hidden patterns of numbers in integers.
Find the Shannon entropy of an integer.
Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.
Enter your email here
We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling our mission is to make people's lives easier, so we created this collection of integer tools. Our tools have the simplest user interface that doesn't require advanced computer skills and they are used by millions of people every month. Our integer tools are actually powered by our programming tools that we created over the last couple of years. Check them out!