# Integer digits reverser

## World's simplest integer tool

This browser-based program rewrites the digits of an integer backwards and prints them in the output. You can enter any number of integers in the input and they can be mixed with other textual data. The integers will be reversed and returned in exactly the same place as in the input. Created by math nerds from team Browserling.

we're on twitter!
tweet tweet

Love what we do? You can follow us on Twitter for updates!

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

Can't convert.

Integer digits reverser tool
What is a integer digits reverser?

With this online application, you can reverse the digits in an integer. It changes the order of all digits so that the ending digits go to the beginning and the leading digits move to the end. For example, the integer 1234 turns into 4321. It also works with negative integers and the value -4516 becomes -6154. You can rearrange the digits of many integers at once and there are no input format requirements – you can enter integers as a neat sequence, they can be in a table as statistical data, or just text with numerical values in it. The symbols surrounding the integers will be preserved in the output and the integers will get reversed in-place. Integerabulous!

Integer digits reverser examples
Click to use

Reverse a Bunch of Integers

In this example, we reverse three different integers. The first integer is positive, the second is also positive but with an explicit plus sign, and the third integer is negative with a minus sign. The signs remain unchanged in the output but all digits get rearranged in the reverse order.

987654321
+3492913
-1024

123456789
+3192943
-4201

Reverse Matrix Elements

This example rewrites all elements of an integer matrix backwards. The matrix has a size of 3 by 3 and contains nine three-digit integers. All matrix elements are overwritten in-place with their reversed values and the shape and size of the matrix doesn't change in the output.

117 796 488
602 271 768
134 575 339

711 697 884
206 172 867
431 575 933

Reverse Integers in Text

In the input of this example, we enter a text about a farmer and his animals. The program automatically finds all integers in the text and spells them back to front. Thus, in the output, we get the same text but with the animals' count values reversed. Notice that the number of cows was a symmetric palindrome so it didn't change.

A farmer had 12 dogs, 438 cats, 2788 rats, and 12321 cows.

A farmer had 21 dogs, 834 cats, 8872 rats, and 12321 cows.

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/reverse-integer-digits

__?input__=987654321%0A%2B3492913%0A-1024
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 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.

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 Regex

Create integers that match the given regular expression.

Subscribe!
Never miss an update

Cool!

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

Cool!