EditSafely

Integer Tools

Work with whole numbers: bases, ranges, sequences and more. All 133 tools run entirely in your browser, so your data never leaves your device.

Add IntegersFind the total sum of a bunch of integers.
Add Commas to an IntegerInsert thousands separators into integers.
Convert Integers to Binary BaseConvert integers to base two.
Convert Binary Base to IntegersConvert base two to integers.
Create Random IntegersGenerate a list of random integers.
Convert Integers to WordsWrite an integer's spelling in words.
Convert Signed Integer to UnsignedReinterpret signed integers as unsigned via two's complement.
Generate a Sudoku BoardCreate a valid 9×9 sudoku board or puzzle.

Calculate14

Add, subtract, multiply and average integers or digits.

Add IntegersFind the total sum of a bunch of integers.
Subtract IntegersSubtract a list of integers from the first one.
Multiply IntegersFind the total product of a bunch of integers.
Divide IntegersDivide two or more integers.
Find Integer AverageCalculate the average value of integers.
Find the Running TotalCalculate the partial sum of a bunch of integers.
Find the Running ProductCalculate the partial product of a bunch of integers.
Add Integer DigitsFind the sum of all the digits in an integer.
Multiply Integer DigitsFind the product of all the digits in an integer.
Divide Integer DigitsDivide the digits of an integer.
Find Integer Digit AverageCalculate the average value of an integer's digits.
Rewrite an Integer as a SumSplit an integer into addends that sum back to it.
Rewrite an Integer as a ProductExpress an integer as a product of its prime factors.
Decompose an IntegerBreak an integer into its place-value components.

Bitwise7

AND, OR, XOR, NOT and friends on integers.

XOR IntegersBitwise-XOR a list of integers together.
AND IntegersBitwise-AND a list of integers together.
OR IntegersBitwise-OR a list of integers together.
NOT IntegersBitwise-NOT each integer within a fixed bit width.
NAND IntegersBitwise-NAND a list of integers within a fixed bit width.
NOR IntegersBitwise-NOR a list of integers within a fixed bit width.
XNOR IntegersBitwise-XNOR a list of integers within a fixed bit width.

Edit values12

Round, increment, clamp or change the sign of each integer.

Round IntegersRound integers up or down to the required precision.
Increment IntegersIncrease all integers by a certain amount.
Decrement IntegersDecrease all integers by a certain amount.
Take Absolute Value of IntegersDrop the sign of every integer.
Change Integer SignFlip the sign of integers, or force them all positive or negative.
Make All Integers NegativeForce every integer to be negative.
Clamp IntegersRestrict integers to a minimum and maximum range.
Truncate IntegersDrop digits to make integers shorter.
Duplicate IntegersCreate multiple copies of the input integers.
Rotate IntegersRotate the digits of an integer to the left or right.
Find and Replace IntegersSwap every occurrence of one integer for another.
Palindromize an IntegerConvert the given integer to a palindromic integer.

Edit digits10

Reverse, sort, shift or replace the digits of integers.

Reverse Integer DigitsWrite integer digits backwards.
Sort Integer DigitsSort the individual digits of an integer.
Shuffle Integer DigitsMix the order of digits in an integer.
Increment Integer DigitsIncrease individual digits by a certain amount.
Decrement Integer DigitsDecrease individual digits by a certain amount.
Delete Integer DigitsRemove digits from integers by position or by value.
Replace Integer DigitsSwap every occurrence of one digit for another.
Duplicate Integer DigitsRepeat every digit of an integer a chosen number of times.
Shift Integer DigitsShift the digits of an integer left or right, filling with zeros.
Clamp Integer DigitsRestrict each digit of an integer to a range.

Format & align10

Add commas, group digits, pad, align and join.

Add Commas to an IntegerInsert thousands separators into integers.
Remove Commas from an IntegerStrip thousands separators from integers.
Separate Integer DigitsCreate groups from the digits of an integer.Also:Split an Integer
Left-pad IntegersPad integers on the left up to a fixed width.
Right-pad IntegersPad integers on the right up to a fixed width.
Right-align IntegersRight-align integers to the width of the longest one.
Center IntegersCenter integers within the width of the longest one.
Join IntegersMerge partial integers into one larger integer by concatenation.
Create an Integer ArrayTurn a list of integers into a programming-language array.
Write Integers in a Fancy FontRewrite integer digits using pretty Unicode glyphs.

Convert & encode23

Binary, hex, words, signed, ordinals and text encodings.

Convert Integers to Binary BaseConvert integers to base two.
Convert Binary Base to IntegersConvert base two to integers.
Convert Integers to WordsWrite an integer's spelling in words.
Convert Words to IntegersConvert spelled integers to regular integers with digits.
Convert Signed Integer to UnsignedReinterpret signed integers as unsigned via two's complement.
Convert Unsigned Integer to SignedReinterpret unsigned integers as signed via two's complement.
Convert Integers to Hex BaseConvert integers to base sixteen.
Convert Hex Base to IntegersConvert base sixteen to integers.
Change Integer BaseConvert integers to a custom base.
Convert Integers to Octal BaseConvert integers to base eight.
Convert Octal Base to IntegersConvert base eight to integers.
Convert an Integer to OrdinalAdd -st, -nd, -rd, -th suffixes to integers.
Convert an Ordinal to IntegerRemove -st, -nd, -rd, -th suffixes from ordinals.
Convert Integers to Unary BaseConvert integers to base one (a run of tally symbols).
Convert Unary Base to IntegersConvert base one (a run of tally symbols) to integers.
Convert Integers to FractionsWrite each integer as a fraction over a denominator.
Convert Fractions to IntegersReduce each exact fraction to a whole integer.
Convert Integers to Base64Base64-encode the decimal text of each integer.
Convert Base64 to IntegersDecode Base64 back to integers.
Convert Integers to URL EncodingPercent-encode every character of an integer.
Convert URL Encoding to IntegersDecode percent-encoding back to integers.
Convert Integers to HTML EntitiesEncode each digit of an integer as an HTML numeric entity.
Convert HTML Entities to IntegersDecode HTML numeric entities back to integers.

Inspect7

Analyze, compare and find patterns in integers.

Analyze IntegersFind the number of occurrences of digits in integers.
Print Integer InformationPrint a compact fact sheet about each integer.
Compare IntegersCompare two integers on each line.
Check If an Integer Is SymmetricCheck if the given integers are palindromes.
Find Patterns in IntegersFind hidden patterns of numbers in integers.
Calculate Integer EntropyFind the Shannon entropy of an integer.
Extract Integers from DataPull every integer out of arbitrary text or data.

Sort, filter & pick7

Sort a list, keep what matches, find the max or pick one.

Sort IntegersPut integers in increasing or decreasing order.
Filter IntegersFind integers that match a filter (greater, less, equal).
Find the Max IntegerFind the largest integer in a list of integers.
Find the Min IntegerFind the smallest integer in a list of integers.
Pick an IntegerRandomly select an integer from a list of integers.
Shuffle IntegersRandomize the given sequence of integers.
Pick an Integer DigitRandomly select one digit from an integer.

Generate22

Random integers, sequences, sudoku boards and ordinals.

Create Random IntegersGenerate a list of random integers.
Generate a Sudoku BoardCreate a valid 9×9 sudoku board or puzzle.
Enumerate IntegersGenerate an ordered sequence of integers.
Print Increasing IntegersGenerate an ascending sequence of integers.
Print Decreasing IntegersGenerate a descending sequence of integers.
Print Even IntegersGenerate an ordered list of even integers.
Print Odd IntegersGenerate an ordered list of odd integers.
Generate Small IntegersCreate relatively tiny integers.
Generate Big IntegersCreate relatively huge integers.
Generate Integer PairsGenerate random two-dimensional integer points.
Generate Integer TriplesGenerate random three-dimensional integer points.
Create Integer N-TuplesGenerate a list of tuples of integers with n elements.
Generate a Multi-Integer SequenceGenerate several arithmetic integer sequences at once.
Generate Oscillating IntegersCreate an up-then-down integer string like 12321.
Generate Symmetric IntegersPrint a list of palindromic integers in increasing order.
Generate Magic IntegersCreate a list of neat-looking integers (magic integers).
Generate an Integer MatrixCreate a matrix whose entries are all integers.
Generate an Integer VectorCreate a vector with integer coefficients.
Generate Integers From a RegexEnumerate every integer matched by a simple regex.
Generate Regex From IntegersBuild one regular expression that matches your integers.
Generate von Neumann OrdinalsBuild the von Neumann construction of the natural numbers.
Generate Zermelo OrdinalsBuild the Zermelo set-theoretic ordinals as nested braces.

Visualize & art15

Draw integers as spirals, boxes, colors and pixels.

Draw an Integer SpiralMake the digits of an integer go in a spiral shape.
Draw an Integer CircleMake the digits of an integer go in a circle.
Draw an Integer BoxFill a rectangular box with the digits of an integer.
Draw an Integer DiamondArrange the digits of an integer in a diamond shape.
Create an Integer ZigzagLay an integer's digits along an ASCII zigzag wave.
Create 2D IntegersDraw an integer as big 2D block-letter digits.
Create 3D IntegersDraw an integer as block digits with a 3D drop shadow.
Color IntegersColor each integer by its sign: negative, positive or zero.
Color Integer DigitsColor each digit of an integer by its value.
Highlight IntegersHighlight integers in text that match a condition.
Highlight Integer DigitsHighlight every occurrence of a chosen digit in integers.
Convert Integers to PixelsDraw each integer as a colored pixel in a grid.
Convert Pixels to IntegersTurn hex color pixels into their 24-bit integer values.
Create an Image from IntegersConvert integers to a downloadable picture.
Draw the Von Neumann UniverseDraw the cumulative hierarchy V₀ ⊂ V₁ ⊂ V₂ … as nested boxes.

Test data5

Add errors and noise to integers for testing.

Introduce Errors in IntegersSlightly change an integer so it has an error.
Introduce Errors in Integer DigitsChange exactly one digit of every integer to a wrong digit.
Make Integers FuzzyApply fuzzing to integers and add perturbations.
Make Integer Digits FuzzyApply fuzzing to integer digits and add digit perturbations.
Destroy IntegersUnleash the destructive force of Zalgo on integers.

How it works

Your integer work stays on your device

All 133 integer tools on this page are JavaScript that your browser downloads once and then runs on your own machine. No server sees your input, because no server is involved in the work at all.

Put whatever you type in into any of these tools and it stays inside this tab.

How most online tools do it

A round trip to somebody else's computer
  1. Your inputin your clipboard
  2. Sent to their serverlogged, cached, who knows
  3. The result comes backafter a round trip

How EditSafely does it

0 bytes over the network
  1. Your inputin your clipboard
  2. Your browser does the workin this tab, in memory
  3. Your resultappears as you type
  • There is no upload step

    Your browser opens the file from your disk the same way an installed app would. The bytes go from your drive into this tab and no further.

  • Big files are not a problem

    No server means no upload limit and no queue. Speed comes down to your own machine, so a multi gigabyte file starts processing right away instead of after a long transfer.

  • It keeps working offline

    Once the page has loaded you can disconnect from the internet entirely and the tool carries on. There is nothing on the other end for it to talk to.

  • Nothing is stored anywhere

    No account, no history, no copy on a server waiting to be leaked. Close the tab and the work is gone from everywhere it ever existed.

Explore more categories