TEXT & WRITING

Reverse Text

Reverse a text by characters (grapheme-safe: accents and emoji stay whole), by word order, by line order, within each line or each word — and spot a palindrome.

The reversed text in the mode you chose, with grapheme, word and line counts and a note when the input reads the same backwards ignoring case, spaces and punctuation.

Example: "héllo 👍🏽 world" reversed by characters is "dlrow 👍🏽 olléh" — accent and skin-tone emoji intact; "A man, a plan, a canal: Panama" by words is "Panama canal: a plan, a man, A", a palindrome.

v0.1.0 · last reviewed 21 September 2026
Loading the workspace…
BUILT TO BE UNDERSTOOD

Backwards,
without breaking anything.

Why graphemes, the five modes, and the palindrome check.

Graphemes

Reversing a string code point by code point tears apart an accent from its letter and a skin-tone modifier from its emoji. The page reverses grapheme clusters instead, using Intl.Segmenter where the browser provides it (code points otherwise), so "é" and "👍🏽" come through whole.

Modes

Characters reverses the whole text; word order reverses the words on each line; line order reverses the lines; each line reverses the characters within every line; each word reverses the letters within every word while keeping the order and spacing.

Palindrome

The input is flagged as a palindrome when, keeping only letters and digits and folding case, it reads the same backwards. Right-to-left scripts are reversed in logical order, which a display may render differently. Nothing leaves the browser; the same four anonymous usage counts as the rest of the site apply.

SOURCES

  • Grapheme clusters from Intl.Segmenter (code points where unavailable), so combining marks and emoji sequences stay whole; words split on whitespace; palindrome test on letters and digits, case-folded

Last reviewed 21 September 2026. How results are checked: How we verify.