᠎᠎᠎          

Digits with words replacer

World's simplest text tool

World's simplest browser-based utility for replacing digits and numbers with words in text. Load your text in the input form on the left, enter the digits you want to change to words, and you'll instantly get a new text with words in place of digits in the output area. Powerful, free, and fast. Load text – transliterate digits to words. Created by developers from team Browserling.
Digit-to-word Rules
Enter rules for replacing digits
with words. Use one rule per line
and set it in format "digit=word".
For example "1=one", "2=two".
Digit Matching
Match only those digits that
are independent and not
part of a word or a number.
For example, the digit "3" in the text
"the 3 little pigs" will be replaced by a
word, but the digit "3" in the text
"33 cows" will not change.
Digits with words replacer tool What is a digits with words replacer
With this online tool, you can replace digits and numbers in text with words. It works with arbitrary single-digit digit and multi-digit numbers and arbitrary words. You can spell digits as words (for example "1" as "one", "2" as "two", etc) letters, replace digits with just the first letter of its written version (for example, "1" as "o", "2" as "t", etc), rewrite longer numbers to their full spelling (for example, "123" as "one hundred twenty three"), or decode number sequences and numeric codes back to human-readable strings. For example, you can turn the text "there are 3 carrots" into the text "there are three carrots". The digits and numbers don't necessarily have to be replaced with their spelled versions. For example, you can convert the text "call me at 12" into the text "call me at midday" or rewrite "driver 2461 wins the race" to "driver Taylor wins the race". Each of these examples require a custom replacement rule written for it. In the first example, the substitution rule looks is the following: "3=three" and it spells one digit. In the second example, the rule looks like this: "12=midday" and it replaces the two-digit number "12" with the word "midday". In the third example, the rule looks like this: "2461=Taylor" and it substitutes the driver's ID code with his full name. You can enter as many replacement rules as you'd like in the "Digit-to-word Rules" option. When adding multiple rules, use an individual line for one each of them. By default, the program replaces only digits and numbers that are not part of another word or number. If you turn off the "Replace Whole Digits" option, then the program will replace all occurrences of a digit (or multi-digit number) in the text. For example, if you're working with the text "driver 2461 wins the race" and you have two replacements: "24=Taylor" and "61=Lewis", then the result will be the text "driver TaylorLewis wins the race". Textabulous!
Digits with words replacer examples Click to use
Spell Numbers in Text
In this example, we spell numbers in text by replacing digits with words. In the options, we specify translation rules four digits "1", "2", "3", and "6" and they get replaced with their versions "one", "two", "three", and "six" in the output.
We need 3 armchairs, 2 bedside tables, 1 wardrobe, 2 tables, and 6 chairs.
We need three armchairs, two bedside tables, one wardrobe, two tables, and six chairs.
Required options
These options will be used automatically if you select this example.
Enter rules for replacing digits
with words. Use one rule per line
and set it in format "digit=word".
Match only those digits that
are independent and not
part of a word or a number.
Create a Soccer Team
In this example, we assemble a football team of 11 players. We create a plan for our team and define positions of each player. As we initially don't know the names of the players on our team, we use numeric values as placeholders at first, and later we replace these values with the player real names.
Player 1: Goalkeeper Player 2: Centre back Player 3: Left back Player 4: Right back Player 5: Left wingback Player 6: Right wingback Player 7: Centre midfielder Player 8: Left winger Player 9: Right winger Player 10: Striker Player 11: Centre-forward
Player James: Goalkeeper Player Robert: Centre back Player John: Left back Player David: Right back Player Joseph: Left wingback Player Thomas: Right wingback Player Daniel: Centre midfielder Player Mark: Left winger Player Donald: Right winger Player Steven: Striker Player Paul: Centre-forward
Required options
These options will be used automatically if you select this example.
Enter rules for replacing digits
with words. Use one rule per line
and set it in format "digit=word".
Match only those digits that
are independent and not
part of a word or a number.
Replace Hex Color Codes with Words
In this example, we load a paragraph of text with an analysis of the most popular colors in the world. As the text was originally intended for web developers, instead of human-readable color names, it contains color code values in hexadecimal format. To make this text understandable to everyone, we translate the hex codes into English color names.
#0000ff is the most popular color in the world. According to a survey conducted by marketing companies, about 40% of people around the world consider #0000ff to be their favorite color. In the second place it's #800080 (14%), followed by #ff0000 and #008000. People's least favorite colors are #ffffff, #ffa500, and #ffff00.
blue is the most popular color in the world. According to a survey conducted by marketing companies, about 40% of people around the world consider blue to be their favorite color. In the second place it's purple (14%), followed by red and green. People's least favorite colors are white, orange, and yellow.
Required options
These options will be used automatically if you select this example.
Enter rules for replacing digits
with words. Use one rule per line
and set it in format "digit=word".
Match only those digits that
are independent and not
part of a word or a number.
Pro tips Master online text 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://onlinetexttools.com/replace-digits-with-words?input=We%20need%203%20armchairs%2C%202%20bedside%20tables%2C%201%20wardrobe%2C%202%20tables%2C%20and%206%20chairs.&rules=1%253Done%250A2%253Dtwo%250A3%253Dthree%250A6%253Dsix&rewrite-full-word=True
All text tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly split text into chunks.
Quickly merge lines of text together via a delimiter.
Quickly repeat text many times.
Quickly write text backwards.
Quickly cut text to the given length.
Quickly extract a slice from text.
Quickly trim left or right side of text.
Quickly pad the left side of text.
Quickly pad the right side of text.
Quickly align text to the right side.
Quickly center text.
Quickly add indentation to each text line.
Quickly stretch spaces between words to make all text lines equal length.
Quickly wrap words in text to a specified length.
Quickly reverse every word in the given text.
Quickly make every word to be two words in the given text.
Quickly delete certain words from the given text.
Quickly substitute certain words in text with other words.
Quickly insert random words in random positions in text.
Quickly insert random letters in words in text.
Quickly prepend a prefix to text.
Quickly append a suffix to text.
Quickly delete all blank lines from text.
Quickly delete all repeated lines from text.
Quickly return text lines that match a string or a regex.
Quickly extract a text snippet of the given length.
Quickly find and replace text patterns.
Quickly count the number of characters in text.
Quickly find the number of lines in text.
Quickly add a number before every text line.
Quickly create an image from text.
Apply the Zalgo effect to the input text.
Quickly construct a palindrome from plain text.
Quickly test if text is a palindrome.
Quickly switch between various letter cases in text.
Quickly convert text letters to uppercase.
Quickly convert text letters to lowercase.
Quickly convert all words in text to title case.
Quickly capitalize the first letter of every word in text.
Quickly randomize character case in text.
Quickly invert character case in text.
Quickly replace spaces with newlines in text.
Quickly replace newlines with spaces in text.
Quickly get tabs instead of spaces in text.
Quickly get spaces instead of tabs in text.
Quickly remove repeated spaces between words in text.
Quickly add extra spaces between words in text.
Quickly change the number of spaces between words.
Quickly mess up the spacing between words in any text.
Quickly replace whitespace characters with other characters.
Quickly clear text from spaces, tabs, and newlines.
Quickly clear text from dots, commas, and similar characters.
Quickly remove all accent marks from all characters in text.
Quickly replace each letter in text with the next alphabet letter.
Quickly replace each letter in text with the previous alphabet letter.
Quickly wrap text in quotes.
Quickly delete quotes surrounding text.
Quickly randomly insert swear words here and there in text.
Quickly mask bad words or replace them with alternative words.
Quickly extract tag content from HTML code.
Quickly extract tag content from an XML document.
Quickly extract all textual data from BBCode markup.
Quickly extract keys and values from a JSON data structure.
Quickly convert text to a JSON string.
Quickly convert previously JSON stringified text to plain text.
Quickly escape special symbols in text with slashes.
Quickly remove slashes from previously slash-escaped text.
Quickly encode or decode text using ROT13 cipher algorithm.
Quickly encode and decode text with ROT47 cipher algorithm.
Quickly create text that matches the given regexp.
Quickly find and return all regexp matches.
Quickly check whether text matches a regular expression.
Quickly format text using the printf or sprintf function.
Quickly cyclically rotate text letters to the right or left.
Quickly rewrite text to vertical position.
Quickly rewrite text using transformation rules.
Quickly replace letters in text from one alphabet to another.
Quickly substitute certain letters or symbols in text with other letters.
Quickly convert individual letters in text to digits or numbers.
Quickly convert individual digits or numbers in text to letters.
Quickly replace certain words in text with digits or numbers.
Quickly replace certain digits or numbers in text with words.
Quickly replace certain letters and symbols in text with two copies.
Quickly delete certain letters and symbols from text.
Quickly substitute certain vowels in text with other characters.
Quickly replace each vowel with two or more vowels in any text.
Quickly delete all vowels from text.
Quickly substitute certain consonants in text with other characters.
Quickly replace each consonant with two or more consonants in any text.
Quickly delete all consonants from text.
Quickly format text so that all words are in neat columns.
Quickly convert data aligned in columns to linear text.
Quickly create a list of all monograms from text.
Quickly create a list of all digrams from text.
Quickly create a list of all ngrams from text.
Quickly make letters in text go in a zigzag.
Quickly write the text in Morse code.
Quickly decode Morse code to plain text.
Quickly URL-escape text.
Quickly URL-unescape text.
Quickly convert all plain text characters to HTML entities.
Quickly convert HTML entities to plain text.
Quickly encode text to base64.
Quickly decode base64-encoded text.
Quickly convert plain text to binary text.
Quickly convert binary text to plain text.
Quickly convert plain text to octal text.
Quickly convert octal text to plain text.
Quickly convert text to decimal values.
Quickly convert decimal values to text.
Quickly convert plain text to hexadecimal values.
Quickly convert hexadecimal to readable text.
Coming soon These text tools are on the way
Calculate Levenstein Distance
Find Levenstein distance of two text fragments.
Calculate Text Entropy
Calculate the Shannon entropy of any text.
Tokenize Text
Create a list of all words in text.
Lemmatize Text
Lemmatize all words in text.
Stem Words in Text
Apply stemming to all words in text.
Color Symbols in Text
Add color to punctuation symbols in text.
Color Letters in Text
Add color to letters in text.
Color Words in Text
Add color to words in text.
Color Sentences in Text
Add color to sentences in text.
Color Paragraphs in Text
Add color to paragraphs in text.
Generate Glitch Text
Mess up characters in your text.
Generate Random Text
Generate text using random words.
Generate Lorem Ipsum Text
Generate lorem ipsum placeholder text.
Generate Text of Certain Size
Generate text that has an exact specific size (in bytes).
Create a Crossword Puzzle
Generate a crossword puzzle from the given words.
Introduce Errors in Text
Randomly change letters in text and make mistakes.
Convert Text to Code Points
Convert text characters to their corresponding code points.
Convert Code Points to Text
Convert numeric character code points to text.
Convert CSV to Text Columns
Convert CSV data to plain text columns.
Convert Text Columns to CSV
Convert plain text columns to a CSV file.
Generate Text Trigrams
Create a list of all 3-grams.
Generate Text Skip-grams
Create a list of all n-skip-m-grams.
Convert Text to a Number
Encode the entire text to a single number.
Convert a Number to Text
Decode text that was encoded as a number back to text.
Chunkify Text
Divide text into chunks of certain size.
Format Text
Apply formatting and modification functions to text.
Find the Number of Symbols in Text
Count the number of punctuation marks and other sybmols in text.
Find the Number of Letters in Text
Count the number of letters in text.
Find the Number of Words in Text
Count the number of words in text.
Find the Number of Sentences in Text
Count the number of sentences in text.
Find the Number of Paragraphs in Text
Count the number of paragraphs in text.
Sort Letters in Text
Sort all characters in text alphabetically.
Sort Words in Text
Sort all words in text alphabetically.
Sort Sentences in Text
Sort all sentences in text alphabetically.
Sort Paragraphs in Text
Sort all paragraphs in text alphabetically.
Statistical Text Analysis
Analyze text for most frequent letters, words, and phrases.
Find Patterns in Text
Analyze text for interesting patterns.
Add Prefix to Words
Prepend a prefix to all words in text.
Add Suffix to Words
Append a suffix to all words in text.
Enumerate Letters
Add a counter before every letter in text.
Enumerate Words
Add a counter before every word in text.
Enumerate Sentences
Add a counter before every sentence in text.
Enumerate Paragraphs
Add a counter before every paragraph in text.
Shuffle Letters in Text
Randomize the order of letters in text.
Shuffle Words in Text
Randomize the order of all words in text.
Shuffle Sentences in Text
Randomize the order of all sentences in text.
Shuffle Paragraphs in Text
Randomize the order of all paragraphs in text.
Interweave Text Fragments
Interleave the letters or words of the given text fragments.
Randomize Letter Spacing
Mess up the spacing between letters in any text.
Find All Email Addresses in Text
Extract all emails from text.
Find All Web Addresses in Text
Extract all URLs from text.
Find All Numbers in Text
Extract all numbers from text.
Find All Countries in Text
Extract all countries from text.
Find All Cities in Text
Extract all cities from text.
Encode Text to Punycode
Convert text to punycode.
Decode Punycode to Text
Convert punycode to text.
Convert Text to Baudot Code
Encode text to Baudot encoding.
Convert Baudot Code to Text
Decode Baudot-encoded text.
Convert Text to Base32
Encode text to base32 encoding.
Convert Base32 to Text
Decode base32-encoded text.
Convert Text to Base45
Encode text to base45 encoding.
Convert Base45 to Text
Decode base45-encoded text.
Convert Text to Base58
Encode text to base58 encoding.
Convert Base58 to Text
Decode base58-encoded text.
Convert Text to Base85
Encode text to Ascii85 encoding.
Convert Base85 to Text
Decode Ascii85-encoded text.
Convert Text to Base65536
Encode text to base65536 encoding.
Convert Base65536 to Text
Decode base65536-encoded text.
Convert Text to Nettext
Encode text to nettext encoding.
Convert Nettext to Text
Decode nettext-encoded text.
Convert Text to Speech
Convert written text into natural sounding voice.
Convert Speech to Text
Convert a voice recording to text.
UTF8-encode Text
Encode text to UTF8 encoding.
UTF8-decode Text
Decode UTF8-encoded text.
UTF16-encode Text
Encode text to UTF16 encoding.
UTF16-decode Text
Decode UTF8-encoded text.
UTF32-encode Text
Encode text to UTF32 encoding.
UTF32-decode Text
Decode UTF32-encoded text.
IDN-encode Text
Encode text to IDN.
IDN-decode Text
Decode IDN-encoded text.
Uuencode Text
Convert text to Unix-to-Unix encoding.
Uudecode Text
Decode Unix-to-Unix-encoded text.
Xxencode Text
Convert text to Xxencoding.
Xxdecode Text
Decode Xxencoded text.
Convert Text to Quoted Printable
Encode text to QP encoding.
Convert Quoted Printable to Text
Decode QP-encoded text.
Strip HTML Tags from Text
Remove all HTML tags from Text.
Strip XML Tags from Text
Remove all XML tags from Text.
Remove Carriage Returns from Text
Remove new line symbols from the end of each text line.
Compare Text
Find the difference between two text fragments.
Create Text Typos
Generate various text typos.
Create a Mirror Copy of Text
Generate a mirror reflection of text.
Remove Indent from Text
Delete indentation from each text line.
Left-align Text
Quickly align text to the left side.
Cut Text
Cut out a piece of text.
Grep Text
Grep text for regular expression matches.
Head Text
Extract first symbols, words, or lines from text.
Tail Text
Extract last symbols, words, or lines from text
Generate Text Mnemonic
Return the first letter of each word in text.
Duplicate Sentences in Text
Make every sentence to be two sentences in the given text.
Remove Sentences from Text
Delete certain sentences from text.
Duplicate Paragraphs in Text
Make every paragraph to be two paragraphs in the given text.
Reverse Sentences in Text
Reverse every sentence in the given text.
Create a Word Cloud
Create an image from all words in text.
Create a Letter Circle
Create a circle from all letters in text.
Create a Letter Spiral
Create a spiral from all letters in text.
Create a Word Circle
Create a circle from all words in text.
Create a Letter Matrix
Create a matrix of any dimensions from letters in text.
Create a Word Matrix
Create a matrix of any dimensions from words in text.
Create a Word Spiral
Create a spiral from all words in text.
Split Words into Syllables
Split the input text into syllables.
Swap Letters in Text
Swap pairs of adjacent letters in words.
Change Text Font
Write the given text in a different font.
Draw LCD Text
Write any text on an LCD display (with LCD font).
Draw a Box Around Text
Surround text in a box.
Draw a 2D Text
Convert text to 2-dimensional drawing.
Draw a 3D Text
Convert text to 3-dimensional drawing.
Create a Text Marquee
Create a horizontally or vertically scrolling text.
Animate Text
Create a GIF animation of a text message.
Slowly Reveal Text Message
Create a GIF animation that slowly reveals a text message.
Mojibake Text
Decode text using the wrong encoding and create garbled text.
Unbake Mojibaked Text
Try to find original text from garbled mojibaked text.
Write Text in Superscript
Use superscript characters to write text.
Write Text in Subscript
Use subscript characters to write text.
Obfuscate Text
Make text harder to read.
Remove Zalgo from Text
Undo Zalgo effect from text.
Print the Alphabet
Generate the entire alphabet from a to z.
Randomize the Alphabet
Print the alphabet in random order.
Scramble Text
Make text barely readable.
Remove Curse Words from Text
Delete swear words from text.
Anonymize Text
Hide information in text so it can't be read.
Edit Text
Edit text in a neat browser-based editor.