KKwikfig.

Reverse Text

Reverse text by characters, by words or by lines — three separate modes for flipping a string, a sentence or a whole list in the opposite order. Runs entirely in your browser — your numbers never leave this device.

Reverse by
Text
Reversed

How it works

By characters: output = the character sequence read back to front | By words: output = the word order reversed, spacing pattern preserved | By lines: output = the line order reversed, line contents untouched

Three different operations share the word “reverse”, and this tool keeps them separate because they answer different needs. Reversing by characters reads the whole string back to front — every letter, space and punctuation mark changes position — which is the mode for checking palindromes, decoding backwards writing, and generating mirrored text effects. Unicode is handled by code point, so accented characters and emoji survive the flip intact instead of breaking into fragments.

Reversing by words keeps each word's spelling intact and reverses their order: “one two three” becomes “three two one”. The spacing pattern is preserved as part of the reversal, so the output mirrors the input's layout. Reversing by lines leaves every line exactly as written and flips the order of the lines themselves — the quick way to invert a chronological log, turn a countdown list into a count-up, or undo an upside-down paste.

Each mode is its own inverse: applying the same reversal twice returns the original text exactly, which is a useful self-check. All reversing happens in your browser; your text is never uploaded or stored.

Worked examples

Characters: the basic flip

Input
abc, Mode = characters
Working
The three characters are read back to front.
Result
cba

Words: order flips, spelling stays

Input
one two three, Mode = words
Working
The word sequence one / two / three is written in the opposite order; each word itself is unchanged.
Result
three two one

Lines: a three-line list inverted

Input
a b c (3 lines), Mode = lines
Working
Line contents are untouched; only their order reverses, so the last line becomes the first.
Result
c, b, a on successive lines — and characters mode on “Hello, world!” gives “!dlrow ,olleH”

Frequently asked questions

Which mode do I want for a palindrome check?

Characters mode. Reverse the text by characters and compare it with the original — if they match (ignoring case and spaces, which you would strip first), the text is a palindrome. “abc” reversed is “cba”, which is not a match; “aba” reversed is “aba”, which is.

Why does reversing by words keep double spaces where they were?

Because the word mode reverses the whole token stream, separators included, rather than re-joining words with single spaces. The output is a true mirror of the input's structure, so reversing it a second time restores your exact original spacing.

Will emoji and accented letters survive character reversal?

Yes. The reversal steps through the text by Unicode code point rather than by raw byte or 16-bit unit, so characters outside the basic Latin set are moved as whole units and do not corrupt. Combining-character sequences (such as an accent built from two code points) may swap their internal order — a known limit of any code-point reversal.

How do I reverse only part of a text?

Copy the part you want reversed into the tool on its own, reverse it, and paste it back. The tool always processes its entire input, which keeps the behaviour predictable — there is no selection state to get wrong.

Is my text sent anywhere?

No. Reversing runs entirely in your browser; nothing is uploaded, stored or tracked.

Related tools

More in Text Tools · Browse all tools