Text Tools
Transform, analyze, clean up and generate plain text. All 211 tools run entirely in your browser, so your data never leaves your device.
All text tools
211 tools
Split Text
Split text into chunks by length or by a separator.
Join Text
Merge lines of text together with a delimiter.
Repeat Text
Repeat text as many times as you need.
Reverse Text
Write text backwards, character by character.
Truncate Text
Cut text down to a given length.
Slice Text
Extract a slice of text between two positions.
Trim Text
Trim whitespace from the left or right side of text.
Left-pad Text
Pad the left side of every line to a fixed length.
Right-pad Text
Pad the right side of every line to a fixed length.
Left-align Text
Align every line of text to the left margin.
Right-align Text
Align every line of text to the right margin.
Center Text
Center every line of text within a given width.
Indent Text
Add indentation to every line of text.
Unindent Text
Remove indentation from every line of text.
Justify Text
Stretch spaces between words so all lines are equal length.
Wrap Words in Text
Word-wrap text to a maximum line length.
Reverse Words in Text
Reverse the order of words while keeping spacing intact.
Reverse Sentences in Text
Reverse the order of sentences in each paragraph.
Reverse Paragraphs in Text
Reverse the order of paragraphs in text.
Swap Letters in Words
Swap each pair of adjacent letters inside every word.
Swap Words in Text
Swap each pair of adjacent words in text.
Duplicate Words in Text
Turn every word into two or more copies of itself.
Remove Words from Text
Delete specific words from text.
Duplicate Sentences in Text
Turn every sentence into two or more copies of itself.
Remove Sentences from Text
Delete sentences that contain a given pattern.
Replace Words in Text
Substitute one word with another throughout the text.
Add Random Words to Text
Insert random words at random positions in text.
Add Random Letters to Words
Insert random letters into the words of your text.
Introduce Errors in Text
Randomly add typos and mistakes to text.
Generate Fake Text
Replace letters with similar-looking characters (homoglyphs).
Unfake Text
Convert lookalike characters back to plain Latin letters.
Check If Text Is Fake
Detect homoglyphs and hidden characters in text.
Remove Random Letters from Words
Delete random letters from the words in your text.
Remove Random Symbols from Text
Delete random characters from anywhere in text.
Add Symbols Around Words
Add a pattern before and after every word in text.
Remove Symbols from Around Words
Strip patterns appearing before and after each word.
Add a Prefix to Text Lines
Prepend a prefix to every line of text.
Add a Suffix to Text Lines
Append a suffix to every line of text.
Remove a Prefix from Text
Remove a prefix from the start of every line.
Remove a Suffix from Text Lines
Remove a suffix from the end of every line.
Add a Prefix to Words
Prepend a prefix to every word in text.
Add a Suffix to Words
Append a suffix to every word in text.
Remove a Prefix from Words
Strip a prefix from the start of every word.
Remove a Suffix from Words
Strip a suffix from the end of every word.
Insert Symbols Between Letters
Insert a character between every letter of each word.
Add Symbols Around Letters
Surround each letter of the text with decorative symbols.
Remove All Empty Lines
Delete every blank line from text.
Remove All Duplicate Lines
Delete repeated lines, keeping the first occurrence.
Filter Text Lines
Keep only the lines that match a pattern or regular expression.
Filter Words in Text
Keep only the words that match a pattern or regular expression.
Filter Text Sentences
Keep only the sentences that match a pattern or regular expression.
Filter Text Paragraphs
Keep only the paragraphs that match a pattern or regular expression.
Sort Text Lines
Sort lines alphabetically, numerically, or by length.
Sort Words in Text
Sort all words alphabetically, numerically, or by length.
Sort Sentences in Text
Sort sentences alphabetically, numerically, or by length.
Sort Paragraphs in Text
Sort paragraphs alphabetically, numerically, or by length.
Sort Letters in Words
Alphabetically sort the letters within each word.
Sort Symbols in Text
Collect every symbol in text and sort them.
Randomize Letters in Text
Shuffle the order of all letters in text.
Scramble Words
Shuffle the inner letters of each word, keeping it readable.
Randomize Words in Text
Shuffle all words in the text into a random order.
Randomize Text Lines
Shuffle all lines in the text into a random order.
Randomize Text Sentences
Shuffle all sentences in the text into a random order.
Randomize Text Paragraphs
Shuffle all paragraphs in the text into a random order.
Calculate Letter Sum
Add up letters as numbers, where a = 1, b = 2, … z = 26.
Unwrap Text Lines
Join wrapped lines back into continuous paragraphs.
Extract a Text Fragment
Pull out a snippet of a given length from a start position.
Find and Replace Text
Replace every match of a word or regular expression.
Find the Length of Text
Count the number of characters in the text.
Find Top Letters in Text
List the most frequently used letters and their counts.
Find Top Words in Text
List the most frequently used words and their counts.
Calculate Text Entropy
Measure the Shannon entropy of the text in bits per character.
Count Words in Text
Count how many words the text contains.
Count Characters in Text
Count how many characters the text contains.
Print Text Statistics
Summarize characters, words, sentences, lines, and paragraphs.
Find Unique Words in Text
List the words that appear exactly once in the text.
Find Duplicate Words in Text
List the words that appear more than once, with their counts.
Find Unique Letters in Text
List the letters that appear exactly once in the text.
Find Duplicate Letters in Text
List the letters that appear more than once, with their counts.
Remove Duplicate Words from Text
Keep the first occurrence of each word and drop the repeats.
Count Text Lines
Count how many lines the text contains.
Add Line Numbers
Prefix every line with a sequential number.
Remove Line Numbers
Strip a leading number from the start of every line.
Create an Image from Text
Render your text as a downloadable PNG, JPG or WebP image.
Generate Scrolling Text
Turn text into a horizontally or vertically scrolling animation.
Create a Text Marquee
Make a classic bordered marquee that scrolls or bounces your text.
Change Text Font
Rewrite text with fancy Unicode letters you can paste anywhere.
Remove Fancy Text Font
Convert fancy Unicode letters back to plain text.
Write Text in Superscript
Raise text into small superscript characters.
Write Text in Subscript
Lower text into small subscript characters.
Generate Tiny Text
Rewrite text with tiny small-caps characters.
Write Text in Bold
Rewrite text with bold Unicode characters you can paste anywhere.
Write Text in Italic
Rewrite text with italic Unicode characters.
Write Text in Cursive
Rewrite text with flowing Unicode script letters.
Add an Underline to Text
Underline text with a combining low-line character.
Add a Strikethrough to Text
Strike through text with a combining overlay character.
Generate Zalgo Text
Corrupt text with chaotic stacked combining marks.
Undo Zalgo Text Effect
Strip stacked combining marks to recover clean text.
Generate Glitch Text
Apply a corrupted glitch effect with overlay and downward marks.
Create a Palindrome
Mirror text into a word that reads the same both ways.
Check If Text Is a Palindrome
Test whether text reads the same forwards and backwards.
Change Text Case
Switch text between upper, lower, title, sentence and other cases.
Convert Text to Uppercase
Turn every letter in the text into a capital letter.
Convert Text to Lowercase
Turn every letter in the text into a small letter.
Convert Text to Title Case
Capitalize words for a title, keeping minor words lowercase.
Convert Text to Proper Case
Capitalize the first letter of every word in the text.
Randomize Text Case
Flip each letter to a random upper or lower case.
Invert Text Case
Swap uppercase letters to lowercase and vice versa.
Add Line Breaks to Text
Put each word or sentence on its own line.
Remove Line Breaks from Text
Join all lines and paragraphs into one continuous block.
Replace Line Breaks in Text
Swap every line break for a character or string of your choice.
Randomize Line Breaks in Text
Insert a random number of blank lines between the content lines.
Normalize Line Breaks in Text
Collapse runs of blank lines to a consistent gap.
Fix Distance Between Paragraphs and Lines
Set an exact blank-line gap between paragraphs and between lines.
Fancify Line Breaks in Text
Add a decorative symbol to the end of every line.
Convert Spaces to Newlines
Replace spaces and tabs with line breaks.
Convert Newlines to Spaces
Replace line breaks with spaces.
Convert Spaces to Tabs
Turn groups of spaces into tab characters.
Convert Tabs to Spaces
Replace every tab character with a set number of spaces.
Convert Comma to Newline
Replace commas with line breaks to make a column.
Convert Newline to Comma
Join lines together with commas.
Convert Column to Comma
Turn a column of lines into a comma-separated list.
Convert Comma to Column
Turn a comma-separated list into a column of lines.
Convert Commas to Spaces
Replace commas with spaces.
Convert Spaces to Commas
Replace spaces with commas.
Replace Commas in Text
Swap every comma for a character or string of your choice.
Remove Extra Spaces
Collapse repeated spaces between words down to one.
Increase Text Spacing
Widen the gap between words to a fixed number of spaces.
Normalize Text Spacing
Set an exact number of spaces between every word.
Randomize Text Spacing
Scatter a random number of spaces between words.
Replace Spaces in Text
Swap spaces (or all whitespace) for a character of your choice.
Remove All Whitespace
Delete every space, tab and newline from the text.
Remove All Punctuation
Delete dots, commas, and other punctuation from the text.
Remove Diacritics from Text
Strip accent marks so letters become their plain ASCII form.
Increment Letters in Text
Shift each letter forward in the alphabet (a → b, z → a).
Decrement Letters in Text
Shift each letter backward in the alphabet (b → a, a → z).
Add Quotes to Text
Wrap the whole text in a pair of quotes.
Remove Quotes from Text
Delete the quotes surrounding the whole text.
Add Quotes to Words
Wrap every word in a pair of quotes.
Remove Quotes from Words
Delete the quotes surrounding each word in the text.
Add Quotes to Lines
Wrap every line in a pair of quotes.
Remove Quotes from Lines
Delete the quotes that enclose each line of text.
Add Curse Words To Text
Randomly sprinkle mild swear words between the words of your text.
Censor Words in Text
Mask profanity and any words you list with a symbol.
Anonymize Text
Mask most of every word so the text can't be read.
Extract Text from HTML
Strip HTML tags and return just the readable text.
Extract Text from XML
Strip XML tags and return the text content of each element.
Extract Text from BBCode
Remove BBCode tags and return the plain text.
Extract Text from JSON
Pull the keys and values out of a JSON structure.
JSON Stringify Text
Turn text into a quoted, escaped JSON string.
JSON Unstringify Text
Decode a JSON string back to plain text.
Slash-escape Text
Escape special characters with backslashes.
Slash-unescape Text
Turn backslash escape sequences back into their characters.
ROT13 Text
Encode or decode text with the ROT13 letter cipher.
ROT47 Text
Encode or decode text with the ROT47 cipher over printable ASCII.
Generate Text of Certain Length
Produce text of an exact character length.
Generate Text from a RegExp
Create random strings that match a regular expression.
Extract RegExp Matches from Text
Find and list every match of a regular expression.
Highlight RegExp Matches in Text
Highlight every part of the text that matches a pattern.
Test Text with a RegExp
Check whether the text matches a regular expression.
Printf Text
Format each line of text with a printf/sprintf format string.
Rotate Text
Cyclically shift the characters of the text left or right.
Flip Text Vertically
Turn text upside down with flipped Unicode characters.
Rewrite Text
Apply a list of find-and-replace rules to the text.
Change Text Alphabet
Rewrite letters using a fullwidth, circled or leetspeak alphabet.
Replace Letters in Text
Swap letters one-for-one, like a character substitution cipher.
Convert Letters to Digits
Replace each letter with its position in the alphabet (a=1 … z=26).
Convert Digits to Letters
Replace each number (1–26) with its alphabet letter.
Replace Words with Digits
Turn spelled-out numbers into their numeric form.
Replace Digits with Words
Spell out each digit as a word.
Duplicate Letters in Text
Repeat each letter (or only chosen letters) a number of times.
Remove Letters from Text
Delete every occurrence of the characters you choose.
Erase Letters from Words
Blank out chosen letters while keeping the word shape intact.
Erase Words from Text
Blank out chosen words while keeping the text layout intact.
Visualize Text Structure
Replace characters with blocks to reveal the text's shape.
Highlight Letters in Text
Highlight every occurrence of the letters you choose.
Highlight Words in Text
Highlight every occurrence of the words you choose.
Highlight Patterns in Text
Highlight every part of the text that matches a regular expression.
Highlight Sentences in Text
Highlight whole sentences that contain a word or phrase.
Replace Vowels in Text
Substitute every vowel with a character of your choice.
Duplicate Vowels in Text
Repeat each vowel to stretch out the text.
Remove Vowels from Text
Delete every vowel from the text.
Replace Consonants in Text
Substitute every consonant with a character of your choice.
Duplicate Consonants in Text
Repeat every consonant a number of times.
Remove Consonants from Text
Delete every consonant from the text.
Convert Text to Nice Columns
Align whitespace-separated fields into neat padded columns.
Convert Nice Columns to Text
Collapse aligned columns back to single-spaced rows.
Generate Text Unigrams
List all unigrams (single tokens) from the text.
Generate Text Bigrams
List all bigrams (consecutive token pairs) from the text.
Generate Text N-grams
List all n-grams of a chosen size from the text.
Generate Text Skip-grams
List k-skip-n-grams that allow gaps between tokens.
Create ZigZag Text
Lay the characters out in a rail-fence zigzag pattern.
Draw a Box Around Text
Surround the text with a drawn border box.
Convert Text to Morse Code
Encode letters, digits and punctuation as Morse code.
Convert Morse Code to Text
Decode Morse code back to plain text.
Calculate Text Complexity
Estimate reading difficulty with the Flesch reading-ease score.
URL-encode Text
Percent-encode text so it's safe in a URL.
URL-decode Text
Turn percent-encoded text back into plain text.
HTML-encode Text
Escape characters into HTML entities.
HTML-decode Text
Turn HTML entities back into plain characters.
Convert Text to URL Slug
Turn text into a clean, lowercase, hyphenated URL slug.
Base64-encode Text
Encode text to Base64 (UTF-8 aware).
Base64-decode Text
Decode Base64 back to text (standard or URL-safe).
Convert Text to Binary
Encode text as 8-bit binary bytes (UTF-8).
Convert Binary to Text
Decode space-separated binary bytes back to text.
Convert Text to Octal
Encode text as octal bytes (UTF-8).
Convert Octal to Text
Decode space-separated octal bytes back to text.
Convert Text to Decimal
Encode text as decimal byte values (UTF-8).
Convert Decimal to Text
Decode space-separated decimal byte values back to text.
Convert Text to Hex
Encode text as hexadecimal bytes (UTF-8).
Convert Hex to Text
Decode space-separated hexadecimal bytes back to text.