Words to integers converter
World's simplest integer tool
This online utility parses English text that spells integer values and converts this text back to multi-digit integers that are then printed in the output. It supports arbitrary big integers and as an extra feature, it also understands money and currency names, which are converted to short Unicode banknote and coin signs in the output. 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!
Words to integers converter tool What is a words to integers converter?
With this browser-based application, you can convert words that spell out integers in natural language to actual integer values. It accepts English words, such as "one", "ten", "twenty-three" in the input and returns the corresponding integers "1", "10", "23" in the output. The spelled integers must be entered one per line. You can force plus or minus signs in front of integers if you prepend the words "plus" and "minus" before the line. For example, "minus six" will produce "-6", "plus six" will produce "+6", but simply "six" will produce "6". The app works with really big magnitudes, such as "octillion" (1027), "trigintillion" (1093), and "googol" (10100). In addition to this, you can also enter any amount of money written in words. All banknote and coin names will be converted to the matching currency symbols. For example, American money "one hundred dollars" will be printed as integer money "$100" and Japanese money "three thousand yen" will be rewritten to "¥3000". Integerabulous!
Words to integers converter examples Click to use
This example loads several lines with spelled words of integers in the input and turns all this text into real integer values that are written with digits in the output. It uses a natural language processing algorithm to parse and understand the integer amounts of the written words and to produce the correct integer values. Note that if the word "plus" is used in the spelled word, then the "+" sign is placed before the integer and if the word "minus" is used, then the negative sign "-" is placed before the integer.
zero one two minus three plus thirty-five one hundred six five thousand, fifty a billion and one
0 1 2 -3 +35 106 5050 1000000001
Speed of Light
In this example, we have entered a very special and long integer with the order of magnitude approximately equal to 3·108. Do you know what this special integer is? Take a pause now to think. This integer is the well-known physical constant "c", which is equal to 299,792,458 meters per second and it's the speed of light in a vacuum.
two hundred ninety-nine million, seven hundred ninety-two thousand, four hundred fifty-eight
In this example, we demonstrate a secret feature of this webapp. The input contains various currencies written in natural language and they get converted back to integer currencies. The currency names, "dollars", "euros", "yens", "pounds", and others gets turned into international currency glyphs "$", "€", "¥", "£".
one dollar twenty-two euros three hundred three yen four thousand and four pounds fifty thousand and five francs sixty cents seventy sens eighty pennies ninety centimes
$1 €22 ¥303 £4004 Fr.50005 60¢ 70sen 80p 90c
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!
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 the digits of an integer to the left or right.
Shift Integer Digits
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.
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.
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.
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
Notifications We'll let you know when we add this tool