# Integer extractor

## World's simplest integer tool

This browser-based app finds all integers in the given textual input data and extracts the individual values to the output field. You can choose to extract only the positive and/or negative integers or integers from a specific range. All extracted integers can be sorted in descending or increasing order and you can also extract the decimal point part, preserve the comma thousands delimiter, and change the format for printing the output integer list. Created by math nerds from team Browserling.

More tools!
gif tools

We just created Online GIF Tools with dozens of utilities for editing GIFs. Check it out!

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

Can't convert.

Integer extractor tool
What is a integer extractor?

With this online program, you can extract all integers from the given data. It scans the entered text, searches for as many consecutive digits as possible, and displays them in the output area. It offers various integer extraction modes that can be selected in the first options block. For example, you can select the positive integer mode and extract only those integers that are greater than zero. Similarly, the negative integer filter will extract only the integers with a minus sign in front of them. There's also the integer range mode that lets you specify the minimum and maximum limit of the values that you need to extract. By default, all integers that are found are displayed in the order they appeared in the input data. This behavior can also be customized and you can quickly sort the integers in ascending or descending order in the second block of options. This utility is able to find integers of arbitrary size with an unlimited amount of digits. Integers that use the thousands group separator can also be detected and extracted. To save the thousands delimiter in the output, use the preserve format option in the third block of options. Although this app primarily focuses on integers only, often your input values will contain decimal fractions. We added another simple checkbox option in the third column of options that includes the decimal dot and the decimal part in the integer search. With this option, you can extract decimal numbers. When the integers get printed to the screen, you can adjust the character that's used to separate them. By default, each integer is printed on a new line but you can use a comma, a space, or a semicolon and get a customized output list of extracted integers. Integerabulous!

Integer extractor examples
Click to use

Periodic Table

In this example, we extract integer values from the text information about the periodic table of elements. To make sure we don't miss any values, we activate the extraction mode that searches for all integers. We print each value on a new line in the order it was used in the input data.

The periodic table contains 118 chemical elements. Of these, 94 were found in nature, the remaining 24 were obtained in laboratories. Under normal conditions, 11 elements are gases, 2 are liquids, and 105 are solid.

118
94
24
11
2
105

**Required options**

Print all integers found in the data.

Print integers in the order
they are found in the data.

Also extract decimal numbers.

Separate extracted integers
by this symbol.

Solar System Temperatures

In this example, we're working with scientific data that shows the average temperatures on different planets of the solar system and we're interested in cold planets. We'd like to find all negative temperatures in the data, so we use the "Extract Negative Integers" mode to extract temperatures below zero. The temperatures of some planets are shown with an accuracy of one decimal place, so in order to extract precise values, we use the "Match Fractions" option. We sort the temperature in increasing order and display them separated by commas.

Mercury — 430°C during the day, -180°C at night
Venus — 471°C
Earth — 16.5°C
Mars — -28.2°C
Jupiter — -108.7°C
Saturn — -138°C
Uranus — -195°C
Neptune — -201°C
Pluto — -233°C

-233, -201, -195, -180, -138, -108.7, -28.2

**Required options**

Print only the negative integers.

Print integers from the
smallest to the largest.

Also extract decimal numbers.

Separate extracted integers
by this symbol.

Population in Capital Cities

This example loads a list of largest national capitals together with the number of inhabitants in each city. There are millions of people living in the biggest cities and to better visualize the magnitude of these integer numbers, they use comma delimiters in the thousands positions. To preserving these commas in the output, we use the "Preserve Format" option. We also extract only those integers that are in the range from 8,000,000 to 15,000,000, using the range extraction method. The output values are sorted in order from the biggest to smallest and the values are displayed in a vertical column.

Beijing — 21,542,000
Berlin — 3,748,148
Tokyo — 13,929,286
Tunis — 767,629
Jakarta — 10,075,310
Rome — 2,868,104
Lima — 8,852,000
London — 8,908,081

13,929,286
10,075,310
8,908,081
8,852,000

**Required options**

Print integers from the given range.

Range start.

Range end.

Print integers from the
largest to the smallest.

Also extract decimal numbers.

Keep thousands separator
commas in the output.

Separate extracted integers
by this symbol.

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/extract-integers-from-data

__?input__=The%20periodic%20table%20contains%20118%20chemical%20elements.%20Of%20these%2C%2094%20were%20found%20in%20nature%2C%20the%20remaining%2024%20were%20obtained%20in%20laboratories.%20Under%20normal%20conditions%2C%2011%20elements%20are%20gases%2C%202%20are%20liquids%2C%20and%20105%20are%20solid.&extract-all=true&do-not-sort=true&output-sep=%5Cn&match-fractions=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 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!