Reverse Text Online
Paste any text and flip it in three ways. Characters mode reverses the whole string end to end, words mode reverses the order of words while each word stays readable, and lines mode flips the running order of lines top to bottom. The result updates as you type and a live character count sits above the copy button.
How to reverse text
- Type or paste your text into the 'Your text' box.
- Click Characters, Words or Lines to choose how to reverse it.
- Watch the hint next to the buttons confirm what the selected mode does.
- Read the reversed output in the Result box below.
- Click Copy to send the reversed text to your clipboard.
Examples
Reverse every character
hello
olleh
Reverse the word order
the quick brown fox
fox brown quick the
Reverse the line order
north south east
east south north
Frequently asked questions
What is the difference between reversing characters, words and lines?
Characters flips the entire string so the last letter comes first, turning 'abc' into 'cba'. Words keeps every word spelled normally but reverses their order, so 'hello world' becomes 'world hello'. Lines keeps each line intact and only flips their top to bottom order.
Does word mode keep my spacing?
Yes. Word reversal splits on runs of whitespace and preserves those separators, so single spaces, double spaces and tabs between words are kept when the order is flipped rather than collapsed.
Does it handle emoji and accented characters?
Yes. Character reversal splits on whole Unicode code points, so emoji, accented letters and other multi-byte characters stay intact. For example 'a123' reverses cleanly and an emoji is never split into broken halves.
Why does the character count sometimes differ from what I expect?
The counter measures Unicode code points, not raw bytes or UTF-16 units. A single emoji counts as one character even though it may occupy two positions in memory, which matches how the reversal treats it.
What is reversing text useful for?
Common uses include making mirrored or backwards text for fun, flipping a stacked list of lines into the opposite order, checking whether a word is a palindrome, building word puzzles, and quickly swapping word order while editing a sentence.
Are Windows and Mac line endings supported in line mode?
Yes. Line mode recognizes CRLF, CR and LF endings, so text copied from Windows, older Mac systems or Unix reverses correctly. The output joins the reversed lines with standard newline characters.
Is there a length limit?
There is no fixed limit. The reversal happens in your browser, so the only ceiling is your device memory, and even long passages update almost instantly as you type.
Does reversing twice return my original text?
Yes, for characters and lines: applying the same mode a second time restores the original. Word mode also round-trips because the whitespace separators are preserved along with the words.
Is my text private?
Yes. Everything runs locally in your browser and nothing is uploaded to a server, so even sensitive text never leaves your device.
Learn more
- Reversing a string by characters, words or lines
The three ways to reverse text, why naive code breaks emoji, and how word and line reversal differ from a plain character flip.
Related tools
Remove Line Breaks
Remove line breaks and paragraph breaks from text online. Flatten copied text into one line, keep spaces tidy, then copy the result. Free and private.
Acronym Generator
Turn any phrase into an acronym from the first letter of each main word. Skip small words like the and of, keep them, or add dot separators.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
AI Sentiment Analyzer
Analyze the sentiment of any text with AI in your browser. Paste a review or comment, get a positive or negative score plus a per-sentence breakdown.
AI Text Summarizer
Summarize any text with AI, right in your browser. Paste an article, pick a length, and get a short abstractive summary. Nothing is uploaded.
AI Translator
Translate text between 100 languages with AI in your browser. Pick a source and target language. Nothing is uploaded; works offline after setup.