Reverse Text Online

A quick word reverser: reverse characters, reverse each word, or reverse word order — pick a mode and type.

Input

Reverse Characters
Reverse Word Order
Reverse Each Word
Reverse Lines

Output

About this tool

The four reverse modes, on one input

Each mode takes the same text and reverses a different unit. Using The quick brown fox as input:

ModeResultWhat flips
Reverse charactersxof nworb kciuq ehTEvery character, spaces included
Reverse word orderfox brown quick TheWord sequence; each word stays readable
Reverse each wordehT kciuq nworb xofLetters inside each word; word order kept
Reverse linesLast line firstLine order; each line kept intact

Reversing a string in code

The naive str.split('').reverse().join('') breaks on emoji and combining marks because it splits UTF-16 code units. Split by code point instead:

// JavaScript — Unicode-safe (what this tool does)
[...str].reverse().join('')
# Python — already code-point based
str[::-1]

Why does emoji or accented-character reversal sometimes still look wrong?

This tool splits by Unicode code point (Array.from), so é and most emoji reverse correctly. Emoji built from zero-width-joiner sequences (👨‍👩‍👧) and some flag pairs are multiple code points and can still separate — that is a limitation of code-point splitting, not a bug.

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

No. This reverses the order of characters. Mirror and upside-down generators swap each letter for a look-alike glyph (ɐ, q→p) and do not change order.

Does it work on right-to-left scripts?

Reversal operates on logical character order, so Arabic or Hebrew text will reverse, but the browser still applies RTL display rules — the visual result can be surprising. Latin text is the intended use.

How do I reverse a string?

Paste it and read the reversed-characters result. Emoji and accented letters are kept whole, because the text is split by Unicode code point rather than by UTF-16 unit.

Use Cases

Common Scenarios

Reversing text shows up in more places than the obvious novelty of writing something backwards for a puzzle or a social media post. Puzzle and trivia creators use character reversal to build simple word games or hidden messages that only make sense read backwards. Developers testing string-handling code use it to quickly generate a reversed test string to check that a function behaves correctly on edge cases, including strings with emoji or accented characters that can trip up naive reversal logic. Reversing word order, rather than characters, is useful for restructuring a sentence or checking how a phrase reads in the opposite order — a trick sometimes used by writers and editors to catch awkward phrasing that's easy to miss reading forward. Reversing each word while keeping sentence order intact produces a distinctive scrambled-but-readable effect that's popular for meme text and social captions. Because this tool splits text by actual Unicode characters rather than raw bytes, it handles accented letters, non-Latin scripts, and most emoji correctly — something a naive character-reversal script written from scratch often gets wrong.

Related Tools

More Text Tools

Word CounterLorem IpsumText Diff CheckerFind & ReplaceSort LinesRemove Duplicates

Want more detail? Read How to Use Reverse Text Tool: Practical Guide and Best Practices.