onlineintegertools logo

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.
a new math project! announcement
Love math as much as we do? Then you'll also love our new project – MATHURLS – a super neat math news aggregator. Check it out!
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
Spelled Integers
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
299792458
Reserve Currency
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!
https://onlineintegertools.com/convert-words-to-integers?input=zero%0Aone%0Atwo%0Aminus%20three%0Aplus%20thirty-five%0Aone%20hundred%20six%0Afive%20thousand%2C%20fifty%0Aa%20billion%20and%20one
All integer tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
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 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 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 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 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 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.
Let Zalgo Destroy Integers
Unleash Zalgo on integers and create integer chaos.
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.
Find the Running Total
Calculate the partial sum of a bunch of integers.
Find the Running Product
Calculate the partial product of a bunch of 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).
Truncate Integers
Drop digits from an integer and make it shorter.
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 Fractions to Integers
Extract the numerator and denominator of 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.
Create an Integer Array
Generate an array of integers for programming.