Word Counter
Count words, characters, sentences and paragraphs as you type, with reading and speaking time alongside.
Reverse text by character, by word or by line. Each mode has its own button, so you can flip a whole string, a sentence's word order or a list.
Updated
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. The flipping happens in your browser and your text is never uploaded.
The tool flips text in the direction you choose. Character mode mirrors the whole string back to front. Word mode keeps each word intact and flips their order. Line mode flips the order of the lines and leaves each line as it is.
Use it to mirror a string, put words or lines in the opposite order, or make back-to-front text for a puzzle, a novelty message or a test.
Each mode works on a different unit. Reverse characters splits the text into characters and reverses the sequence. Reverse words splits on the spaces between words, reverses that list and rejoins it with spaces. Reverse lines splits on line breaks and reverses the order of the lines.
The same text therefore gives three different results. Character mode produces a true mirror. Word mode keeps the words readable but reorders them, and line mode turns a list or block upside down.
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. A character made of several units, such as an emoji, a flag or a combining accent, can break or render oddly when reversed. Word and line modes don't have this problem.
For ordinary text each mode does what its name says: a character mirror, a word-order flip or a line-order flip. Running the same mode again restores the original.
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. Word and line modes keep each unit whole, so they avoid the problem.
Word reversal splits on whitespace, so a run of spaces becomes a single gap in the output. The words stay the same. Only their order and the spacing between them change.
Line reversal depends on line breaks. Text without any is a single line and comes back unchanged in line mode, so use character or word mode for one-line text.
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.
Make back-to-front text for a puzzle, a joke or a test.
To put lines in alphabetical order, use a line sorter. Right-to-left scripts and bidirectional text need proper text-direction handling, which a character flip doesn't provide.
There is one button per mode: characters, words or lines. Character mode works on code units, so it can split an emoji or an accented letter into pieces.
Count words, characters, sentences and paragraphs as you type, with reading and speaking time alongside.
Paste two versions of a text and see what changed line by line, with additions in green and removals in red.
Find and replace every match in your text at once, with optional case-insensitive and regex modes. Plain searches match literally.
Switch text between UPPERCASE, lowercase, Title Case, Sentence case, and aLtErNaTiNg with one click per case.
Generate placeholder Lorem Ipsum paragraphs, starting with the classic opening line or fully random.
Remove duplicate lines from a list while keeping the first copy of each in its original position.
Your file is processed on this device and never uploaded, and there's no account to create.