Word Counter
Clean and transform text with Word Counter — instant results, fully in-browser.
Reverse text three ways — by character, by word, or by line — instantly in your browser. Choose the mode that fits what you need to flip.
Your browser is preparing the tool. It runs 100% locally.
Paste text and pick a mode: reverse characters turns Hello into olleH, reverse words turns the cat sat into sat cat the, and reverse lines puts the last line first. Character reversal works on code units, so an emoji or accented character made of several units can break when flipped. Everything runs in your browser; nothing is uploaded.
This tool flips text in whichever direction you choose. Reversing characters mirrors the whole string back to front; reversing words keeps each word intact but flips their order; and reversing lines flips the order of the lines while leaving each line as it is.
It is the quick way to mirror a string, put words or lines in the opposite order, or create the kind of back-to-front text used in puzzles, novelty messages and tests.
Each mode works on a different unit. Reverse characters splits the text into its characters and reverses the sequence. Reverse words splits on the spaces between words and reverses that list, rejoining with spaces. Reverse lines splits on line breaks and reverses the order of the lines.
So the same text gives three different results depending on the mode. The character mode produces a true mirror, the word mode keeps words readable but reorders them, and the line mode is useful for flipping a list or a block top to bottom.
characters : Hello → olleH
words : the cat sat → sat cat the
lines : flips the order of the lines (last line first)Hello → olleH (characters) · the cat sat → sat cat the (words)Character reversal works on code units, so a character made of several units — an emoji, a flag, or a combining accent — can break or render oddly when reversed. Word and line modes are unaffected.
For ordinary text the three modes do exactly what they say: a true character mirror, a word-order flip, or a line-order flip, all reversible by running the same mode again.
Character reversal can break multi-unit characters. An emoji or a letter with a combining accent is stored as several code units, and reversing the sequence can split or scramble them, so the flipped emoji may look wrong. Word and line modes avoid this, since they keep each unit whole.
Word reversal splits on whitespace, so runs of spaces collapse to single gaps in the rejoined text. The words themselves are unchanged; only their order and the spacing between them are affected.
Line reversal depends on line breaks. Text with no line breaks is a single line and comes back unchanged in line mode; use character or word mode for text on one line.
Flip text back to front by character.
Put the words of a sentence in the opposite order.
Reverse the order of lines top to bottom.
Create back-to-front text for fun or tests.
To order lines alphabetically rather than reverse them, use a line sorter. For right-to-left scripts or bidirectional text, proper text-direction handling is needed, not a character flip. This tool reverses the order of characters, words or lines.
Reverses text by character, word or line order with a button for each; honest that reversing characters can break multi-code-unit characters like emoji.
Clean and transform text with Word Counter — instant results, fully in-browser.
Character Counter instantly as you type — free, private and lightning fast.
Case Converter instantly as you type — free, private and lightning fast.
Clean and transform text with Lorem Ipsum Generator — instant results, fully in-browser.
Text Diff Checker online with no limits, no signup and no data leaving your browser.
Remove Duplicate Lines online with no limits, no signup and no data leaving your browser.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.