Utinzo

Text Reverser

Reverse text by characters, words, or lines — instantly.

Did this tool work for you?

How to use this calculator

  1. 1

    Enter or paste your text.

  2. 2

    Choose the reverse mode: characters, words, or lines.

  3. 3

    The reversed result appears immediately.

Frequently asked questions

Does character reversal break emoji and accented letters?

It should not. The tool splits text into user-perceived characters before reversing, so a family emoji built from several joined code points, a flag, or an é written as e plus a combining accent each move as one unit. This relies on the browser’s Intl.Segmenter; in a browser without it the tool falls back to splitting by code point, which keeps ordinary emoji whole but can separate combining marks and flags.

Why doesn’t reversing a sentence give back the same sentence if it is a palindrome?

Because the reversal is literal. "A man, a plan, a canal: Panama" reverses to "amanaP :lanac a ,nalp a ,nam A", with the capital letter and punctuation in new places. To test a phrase, remove spaces and punctuation and lower-case it first, then compare the reversed text with the original.

What happens to line breaks in Words mode?

They are lost. Words mode splits on any whitespace, reverses the list and joins it with single spaces, so "one two" on one line and "three four" on the next become "four three two one" on a single line. Use "Words within each line" if you want to keep the line structure.

What stays attached to a word when words are reversed?

Punctuation travels with the word it touches, because a word is anything between whitespace. "Hello, world!" becomes "world! Hello,". The tool does not move commas or full stops to where they would belong grammatically.

How does line reversal treat blank lines and line endings?

Blank lines are real lines and move with everything else, so a trailing newline becomes a leading blank line in the reversed result. Windows (CRLF) and Unix (LF) line endings are both recognised, and the output uses plain line feeds.

Is this the same as upside-down or mirror text?

No. It only changes the order of characters, words or lines. Upside-down and mirrored text rely on look-alike Unicode symbols, which this tool does not substitute. Reversing "Hello" gives "olleH" in ordinary letters.

How is the length figure calculated?

It counts user-perceived characters in the result, so an emoji that is made up of several code points counts once. That can differ from a limit that counts UTF-16 units or bytes: the family emoji 👨‍👩‍👧 is 1 character here but 8 UTF-16 units and 18 UTF-8 bytes.

About text reverser

Reversing text by character, word or line

Four ways to reverse

Characters mode flips the whole string, line breaks included, so the last line comes first and each line reads backwards. The other three modes keep the letters of each word intact and change only ordering. The table lists exactly what each mode does with the same two-line sample.

Input: "one two three" / "four five"
ModeResultLine breaks
Charactersevif ruof / eerht owt enoKept, but order flipped
Wordsfive four three two oneRemoved
Linesfour five / one two threeKept
Words within each linethree two one / five fourKept

Worked examples

Reversing "Hello World" by characters gives "dlroW olleH". The text "I ❤️ café 👨‍👩‍👧" reverses to "👨‍👩‍👧 éfac ❤️ I" with each emoji and the accented é intact. In Lines mode "alpha", "beta" and "gamma" on separate lines come back as "gamma", "beta", "alpha". With Words mode, the input " one two" and "three four " (leading, trailing and repeated spaces on two lines) returns "four three two one", because surrounding whitespace is trimmed.

Practical uses

Line reversal turns an oldest-first log or list into newest-first without a spreadsheet. Words-within-line reversal is useful for flipping "Last, First" style entries when you have already split them, though it moves punctuation along with each word. Character reversal is mostly for puzzles, palindrome checks and quick obfuscation; it offers no real security, since anyone can reverse it again.

Palindromes and Unicode

Single words such as "racecar" and "level" read the same reversed, so they make a quick test. Phrases need cleaning first, because case, spaces and punctuation count. Reversing by raw UTF-16 units is a common programming bug that scrambles emoji; this tool avoids it by working on whole characters.

Combining two modes

Running the tool twice with different modes gives results a single mode cannot. Reversing by characters and then by words turns "Hello World" into "olleH dlroW": each word is spelled backwards but stays in its original place. Reversing lines and then words within each line flips both the order of rows and the order inside each row. Reversing by characters twice restores the original text, which makes a quick sanity check.

Text Reverser – Utinzo

Learn more from an authoritative source:

Wikipedia
Related tools

Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →