EditSafely

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.

Count Words in TextCount how many words the text contains.
Change Text CaseSwitch text between upper, lower, title, sentence and other cases.
Find and Replace TextReplace every match of a word or regular expression.
Remove Line Breaks from TextJoin all lines and paragraphs into one continuous block.
Remove All Duplicate LinesDelete repeated lines, keeping the first occurrence.
Sort Text LinesSort lines alphabetically, numerically, or by length.
Change Text FontRewrite text with fancy Unicode letters you can paste anywhere.
Convert Text to URL SlugTurn text into a clean, lowercase, hyphenated URL slug.
Add Line NumbersPrefix every line with a sequential number.
Base64-encode TextEncode text to Base64 (UTF-8 aware).

Change case & fonts19

Upper, lower and title case, plus bold, italic and fancy fonts.

Change Text CaseSwitch text between upper, lower, title, sentence and other cases.
Convert Text to UppercaseTurn every letter in the text into a capital letter.
Convert Text to LowercaseTurn every letter in the text into a small letter.
Convert Text to Title CaseCapitalize words for a title, keeping minor words lowercase.
Convert Text to Proper CaseCapitalize the first letter of every word in the text.
Invert Text CaseSwap uppercase letters to lowercase and vice versa.
Randomize Text CaseFlip each letter to a random upper or lower case.
Change Text FontRewrite text with fancy Unicode letters you can paste anywhere.
Remove Fancy Text FontConvert fancy Unicode letters back to plain text.
Write Text in BoldRewrite text with bold Unicode characters you can paste anywhere.
Write Text in ItalicRewrite text with italic Unicode characters.
Write Text in CursiveRewrite text with flowing Unicode script letters.
Add an Underline to TextUnderline text with a combining low-line character.
Add a Strikethrough to TextStrike through text with a combining overlay character.
Write Text in SuperscriptRaise text into small superscript characters.
Write Text in SubscriptLower text into small subscript characters.
Generate Tiny TextRewrite text in tiny small caps, superscript or subscript letters.
Change Text AlphabetRewrite letters using a fullwidth, circled or leetspeak alphabet.
Remove Diacritics from TextStrip accents from Latin letters, so café and Łódź read cafe and Lodz.

Add & remove35

Add or strip prefixes, quotes, numbers, words and letters.

Add a Prefix to Text LinesPrepend a prefix to every line of text.
Add a Suffix to Text LinesAppend a suffix to every line of text.
Remove a Prefix from TextRemove a prefix from the start of every line.
Remove a Suffix from Text LinesRemove a suffix from the end of every line.
Add Quotes to LinesWrap every line in a pair of quotes.
Remove Quotes from LinesDelete the quotes that enclose each line of text.
Add Quotes to TextWrap the whole text in a pair of quotes.
Remove Quotes from TextDelete the quotes surrounding the whole text.
Add Quotes to WordsWrap every word in a pair of quotes.
Remove Quotes from WordsDelete the quotes surrounding each word in the text.
Add Line NumbersPrefix every line with a sequential number.
Remove Line NumbersStrip the numbering from the start of every line.
Remove All PunctuationDelete dots, commas, and other punctuation from the text.
Remove Duplicate Words from TextKeep the first occurrence of each word and drop the repeats.
Remove Words from TextDelete specific words from text.
Remove Sentences from TextDelete sentences that contain a given pattern.
Add a Prefix to WordsPrepend a prefix to every word in text.
Add a Suffix to WordsAppend a suffix to every word in text.
Remove a Prefix from WordsStrip a prefix from the start of every word.
Remove a Suffix from WordsStrip a suffix from the end of every word.
Add Symbols Around WordsAdd a pattern before and after every word in text.
Remove Symbols from Around WordsStrip patterns appearing before and after each word.
Add Symbols Around LettersSurround each letter of the text with decorative symbols.
Insert Symbols Between LettersInsert a character between every letter of each word.
Remove Letters from TextDelete every occurrence of the characters you choose.
Erase Letters from WordsBlank out chosen letters while keeping the word shape intact.
Erase Words from TextBlank out chosen words while keeping the text layout intact.
Remove Vowels from TextDelete every vowel from the text.
Remove Consonants from TextDelete every consonant from the text.
Repeat TextRepeat text as many times as you need.
Duplicate Words in TextTurn every word into two or more copies of itself.
Duplicate Sentences in TextTurn every sentence into two or more copies of itself.
Duplicate Letters in TextRepeat each letter (or only chosen letters) a number of times.
Duplicate Vowels in TextRepeat each vowel to stretch out the text.
Duplicate Consonants in TextRepeat every consonant a number of times.

Lines, spaces & separators27

Fix line breaks and spacing, or swap commas, spaces and lines.

Remove Line Breaks from TextJoin all lines and paragraphs into one continuous block.
Remove All Duplicate LinesDelete repeated lines, keeping the first occurrence.
Remove All Empty LinesDelete every blank line from text.
Remove Extra SpacesCollapse repeated spaces between words down to one.
Convert Newline to CommaJoin lines together with commas.
Convert Comma to NewlineReplace commas with line breaks to make a column.
Convert Column to CommaTurn a column of lines into a comma-separated list.
Convert Comma to ColumnTurn a comma-separated list into a column of lines.
Add Line Breaks to TextPut each word or sentence on its own line.
Replace Line Breaks in TextSwap every line break for a character or string of your choice.
Normalize Line Breaks in TextCollapse runs of blank lines to a consistent gap.
Unwrap Text LinesJoin wrapped lines back into continuous paragraphs.
Fix Distance Between Paragraphs and LinesSet an exact blank-line gap between paragraphs and between lines.
Convert Spaces to NewlinesReplace spaces and tabs with line breaks.
Convert Newlines to SpacesReplace line breaks with spaces.
Convert Commas to SpacesReplace commas with spaces.
Convert Spaces to CommasReplace spaces with commas.
Replace Commas in TextSwap every comma for a character or string of your choice.
Convert Tabs to SpacesReplace every tab character with a set number of spaces.
Convert Spaces to TabsTurn groups of spaces into tab characters.
Remove All WhitespaceDelete every space, tab and newline from the text.
Replace Spaces in TextSwap spaces (or all whitespace) for a character of your choice.
Normalize Text SpacingSet an exact number of spaces between every word.
Increase Text SpacingWiden the gap between words to a fixed number of spaces.
Trim TextTrim whitespace from the left or right side of text.
Split TextSplit text into chunks by length or by a separator.
Join TextMerge lines of text together with a delimiter.

Find, filter, sort & replace26

Search, keep, sort, reverse or replace parts of your text.

Find and Replace TextReplace every match of a word or regular expression.
Sort Text LinesSort lines alphabetically, numerically, or by length.
Filter Text LinesKeep only the lines that match a pattern or regular expression.
Replace Words in TextSubstitute one word with another throughout the text.
Reverse TextWrite text backwards, character by character.
Extract RegExp Matches from TextFind and list every match of a regular expression.
Test Text with a RegExpCheck whether the text matches a regular expression.
Highlight RegExp Matches in TextHighlight every part of the text that matches a pattern.Also:Highlight Patterns in Text
Highlight Words in TextHighlight every occurrence of the words you choose.
Highlight Letters in TextHighlight every occurrence of the letters you choose.
Highlight Sentences in TextHighlight whole sentences that contain a word or phrase.
Censor Words in TextMask profanity and any words you list with a symbol.
Filter Words in TextKeep only the words that match a pattern or regular expression.
Filter Text SentencesKeep only the sentences that match a pattern or regular expression.
Filter Text ParagraphsKeep only the paragraphs that match a pattern or regular expression.
Sort Words in TextSort all words alphabetically, numerically, or by length.
Sort Sentences in TextSort sentences alphabetically, numerically, or by length.
Sort Paragraphs in TextSort paragraphs alphabetically, numerically, or by length.
Sort Letters in WordsAlphabetically sort the letters within each word.
Sort Symbols in TextCollect every symbol in text and sort them.
Reverse Words in TextReverse the order of words while keeping spacing intact.
Reverse Sentences in TextReverse the order of sentences in each paragraph.
Reverse Paragraphs in TextReverse the order of paragraphs in text.
Replace Letters in TextSwap letters one-for-one, like a character substitution cipher.
Replace Vowels in TextSubstitute every vowel with a character of your choice.
Replace Consonants in TextSubstitute every consonant with a character of your choice.

Encode & decode29

Base64, URL, HTML, binary, hex, Morse and other encodings.

Base64-encode TextEncode text to Base64 (UTF-8 aware).
Base64-decode TextDecode Base64 back to text (standard or URL-safe).
URL-encode TextPercent-encode text so it's safe in a URL.
URL-decode TextTurn percent-encoded text back into plain text.
Convert Text to URL SlugTurn text into a clean, lowercase, hyphenated URL slug.
HTML-encode TextEscape characters into HTML entities.
HTML-decode TextTurn HTML entities back into plain characters.
Convert Text to BinaryEncode text as 8-bit binary bytes (UTF-8).
Convert Binary to TextDecode space-separated binary bytes back to text.
Convert Text to HexEncode text as hexadecimal bytes (UTF-8).
Convert Hex to TextDecode space-separated hexadecimal bytes back to text.
Convert Text to Morse CodeEncode letters, digits and punctuation as Morse code.
Convert Morse Code to TextDecode Morse code back to plain text.
Convert Text to DecimalEncode text as decimal byte values (UTF-8).
Convert Decimal to TextDecode decimal character codes (bytes or code points) back to text.
Convert Text to OctalEncode text as octal bytes (UTF-8).
Convert Octal to TextDecode space-separated octal bytes back to text.
ROT13 TextEncode or decode text with the ROT13 letter cipher.
ROT47 TextEncode or decode text with the ROT47 cipher over printable ASCII.
JSON Stringify TextTurn text into a quoted, escaped JSON string.
JSON Unstringify TextDecode a JSON string back to plain text.
Slash-escape TextEscape special characters with backslashes.
Slash-unescape TextTurn backslash escape sequences back into their characters.
Convert Letters to DigitsReplace each letter with its position in the alphabet (a=1 … z=26).
Convert Digits to LettersReplace each number (1–26) with its alphabet letter.
Replace Words with DigitsTurn spelled-out numbers into their numeric form.
Replace Digits with WordsSpell out numbers or each digit as words.
Increment Letters in TextShift each letter forward in the alphabet (a → b, z → a).
Decrement Letters in TextShift each letter backward in the alphabet (b → a, a → z).

Count & analyze20

Count words and characters, find top words, measure the text.

Count Words in TextCount how many words the text contains.
Find the Length of TextCount the number of characters in the text.Also:Count Characters in Text
Count Text LinesCount how many lines the text contains.
Print Text StatisticsSummarize characters, words, sentences, lines, and paragraphs.
Find Top Words in TextList the most frequently used words and their counts.
Find Top Letters in TextList the most frequently used letters and their counts.
Find Duplicate Words in TextList the words that appear more than once, with their counts.
Find Unique Words in TextList the words that appear exactly once in the text.
Find Duplicate Letters in TextList the letters that appear more than once, with their counts.
Find Unique Letters in TextList the letters that appear exactly once in the text.
Check If Text Is a PalindromeTest whether text reads the same forwards and backwards.
Calculate Text ComplexityEstimate reading difficulty with the Flesch reading-ease score.
Calculate Text EntropyMeasure the Shannon entropy of the text in bits per character.
Calculate Letter SumAdd up letters as numbers, where a = 1, b = 2, … z = 26.
Check If Text Is FakeDetect homoglyphs and hidden characters in text.
Generate Text N-gramsList all n-grams of a chosen size from the text.
Generate Text UnigramsList all unigrams (single tokens) from the text.
Generate Text BigramsList all bigrams (consecutive token pairs) from the text.
Generate Text Skip-gramsList k-skip-n-grams that allow gaps between tokens.
Visualize Text StructureReplace characters with blocks to reveal the text's shape.

Align & format14

Align, indent, wrap, pad, columns and boxes.

Center TextCenter every line of text within a given width.
Left-align TextAlign every line of text to the left margin.
Right-align TextAlign every line of text to the right margin.
Justify TextStretch spaces between words so all lines are equal length.
Indent TextAdd indentation to every line of text.
Unindent TextRemove indentation from every line of text.
Wrap Words in TextWord-wrap text to a maximum line length.
Truncate TextCut text down to a given length.
Left-pad TextPad the left side of every line to a fixed length.
Right-pad TextPad the right side of every line to a fixed length.
Convert Text to Nice ColumnsAlign whitespace-separated fields into neat padded columns.
Convert Nice Columns to TextCollapse aligned columns back to single-spaced rows.
Draw a Box Around TextSurround the text with a drawn border box.
Printf TextFormat each line of text with a printf/sprintf format string.

Extract text6

Pull plain text out of HTML, XML, JSON or BBCode, or cut a piece.

Extract Text from HTMLStrip HTML tags and return just the readable text.
Extract Text from JSONPull the keys and values out of a JSON structure.
Extract Text from XMLStrip XML tags and return the text content of each element.
Extract Text from BBCodeRemove BBCode tags and return the plain text.
Extract a Text FragmentPull out a snippet of a given length from a start position.
Slice TextExtract a slice of text between two positions.

Randomize & effects30

Shuffle, scramble, glitch, zalgo and other playful changes.

Randomize Text LinesShuffle all lines in the text into a random order.
Randomize Words in TextShuffle all words in the text into a random order.
Scramble WordsShuffle the inner letters of each word, keeping it readable.
Randomize Letters in TextShuffle the order of all letters in text.
Randomize Text SentencesShuffle all sentences in the text into a random order.
Randomize Text ParagraphsShuffle all paragraphs in the text into a random order.
Generate Zalgo TextCorrupt text with chaotic stacked combining marks.
Undo Zalgo Text EffectStrip stacked combining marks to recover clean text.
Generate Glitch TextApply a corrupted glitch effect with overlay and downward marks.
Flip Text VerticallyTurn text upside down with flipped Unicode characters.
Rotate TextCyclically shift the characters of the text left or right.
Create ZigZag TextLay the characters out in a rail-fence zigzag pattern.
Create a PalindromeMirror text into a word that reads the same both ways.
Rewrite TextApply a list of find-and-replace rules to the text.
Anonymize TextMask most of every word so the text can't be read.
Generate Fake TextReplace letters with similar-looking characters (homoglyphs).
Unfake TextConvert lookalike characters back to plain Latin letters.
Generate Text of Certain LengthProduce text of an exact character length.
Generate Text from a RegExpCreate random strings that match a regular expression.
Swap Words in TextSwap each pair of adjacent words in text.
Swap Letters in WordsSwap each pair of adjacent letters inside every word.
Add Random Words to TextInsert random words at random positions in text.
Add Random Letters to WordsInsert random letters into the words of your text.
Remove Random Letters from WordsDelete random letters from the words in your text.
Remove Random Symbols from TextDelete random characters from anywhere in text.
Introduce Errors in TextRandomly add typos and mistakes to text.
Add Curse Words To TextRandomly sprinkle mild swear words between the words of your text.
Randomize Line Breaks in TextInsert a random number of blank lines between the content lines.
Randomize Text SpacingScatter a random number of spaces between words.
Fancify Line Breaks in TextAdd a decorative symbol to the end of every line.

Images & animation3

Turn text into a picture, a marquee or scrolling text.

Create an Image from TextRender your text as a downloadable PNG, JPG or WebP image.
Generate Scrolling TextTurn text into a horizontally or vertically scrolling animation.
Create a Text MarqueeMake a classic bordered marquee that scrolls or bounces your text.

How it works

Your text work stays on your device

All 211 text tools on this page are JavaScript that your browser downloads once and then runs on your own machine. No server sees your input, because no server is involved in the work at all.

Put the text you paste into any of these tools and it stays inside this tab.

How most online tools do it

Every character sent to a stranger's server
  1. Text from an internal docin your clipboard
  2. Sent to their serverlogged, cached, who knows
  3. The result comes backafter a round trip

How EditSafely does it

0 bytes over the network
  1. Text from an internal docin your clipboard
  2. Your browser does the workin this tab, in memory
  3. The transformed textappears as you type
  • There is no upload step

    Your browser opens the file from your disk the same way an installed app would. The bytes go from your drive into this tab and no further.

  • Big files are not a problem

    No server means no upload limit and no queue. Speed comes down to your own machine, so a multi gigabyte file starts processing right away instead of after a long transfer.

  • It keeps working offline

    Once the page has loaded you can disconnect from the internet entirely and the tool carries on. There is nothing on the other end for it to talk to.

  • Nothing is stored anywhere

    No account, no history, no copy on a server waiting to be leaked. Close the tab and the work is gone from everywhere it ever existed.

Explore more categories