Reverse Text
Read a string backwards, or turn its words, lines or sentences the other way round.
What this tool does
Reverse Text performs one of four reversals, picked from a single list. Characters turns the string itself round, so stressed comes back as desserts. Word order and Line order leave every unit intact and change only the sequence they appear in. Sentence order finds the sentence boundaries first, then puts the sentences back in the opposite order with each one's own full stop still attached to it.
Apply to each line separately is switched on by default, and it governs the two modes that reach inside a line rather than shuffling whole units. With it on, a pasted column of twenty lines comes back as twenty reversed lines sitting in their original rows. Switch it off and the whole block is treated as one string, so in Characters mode the line breaks are reversed along with everything else and the last line arrives first. The reversal itself walks the text in grapheme clusters rather than raw code units, which is why an emoji, a flag or a letter written as a base plus a combining accent comes back in one piece.
Three things it will not do are easier to know now than to find in the output. Reversing characters moves them without mirroring them, so (final) returns as )lanif( with the brackets pointing outwards, and quotes, arrows and slashes behave the same way. Word order splits on whitespace alone, so punctuation travels with whatever word it is stuck to: one, two, three. becomes three. two, one, with the commas and the full stop carried along. Sentence order collapses every run of whitespace to a single space before it looks for endings, so line breaks, blank lines and paragraph shape do not survive that mode — the result is one continuous run of sentences.
The work happens in this browser tab, so the text is not uploaded, nothing is logged, and the page carries on reversing with the network off. Worth saying plainly as well: reversing conceals nothing. Backwards text is undone by the same tool that wrote it, and anyone who recognises what they are looking at is a paste away from reading it. Text Encryption is the tool for text that should need a passphrase.
How to use it
- Put the text in. Type into the left-hand box, or press Load sample for three short lines — two of them palindromes — that make the difference between the modes visible. Empty or whitespace-only input is refused with a message.
- Choose what to reverse. Characters for the string itself, Word order or Line order to move whole words or whole lines about, Sentence order to rearrange the sentences in a paragraph.
- Decide whether lines are handled one at a time. Apply to each line separately appears for Characters and Word order only, because Line order and Sentence order have no inside-the-line work to do. Leave it on to keep a list in its own rows.
- Read the result and copy it. The reversed text fills the read-only right-hand pane, and the hint beside Copy output names the mode that produced it. Your input is left untouched, so you can switch mode and run it again to compare.
Processing & privacy
Runs on your device. Your file is processed directly in this browser.
Common use cases
Checking a palindrome
Reverse the characters and read the two panes side by side. A line that matches in both is a palindrome, once you have discounted capitals and the spaces between words.
Flipping a log or a changelog
A file written oldest entry first reads newest first after Line order, with no sorting involved and no date column needed to sort on.
Swapping a two-word name column
Word order applied to each line separately turns a column of Surname Forename into Forename Surname in one pass, leaving every row where it was.
Building a countdown from a ranked list
Line order reverses the rows but leaves any numbers typed in front of them alone, so a list written 1 to 10 comes back with 10 at the top and the numbering running downwards.
Questions
Does anything about my text leave this tab?
Why are my brackets and quotes facing the wrong way?
Do emoji and accented letters survive?
Why did my line breaks vanish in Sentence order?
How does it decide where a sentence ends?
Which abbreviations does it get wrong?
Does word order keep my indentation?
Is a reversed string a way to hide something?
Related tools
- Word Counter — Count words, characters, sentences and reading time.
- Case Converter — Switch between upper, lower, title, camel and snake case.
- Remove Line Breaks — Collapse hard wraps back into flowing paragraphs.
- Remove Extra Spaces — Normalise double spaces and stray whitespace.
- Sort Lines — Sort lines alphabetically, numerically or randomly.
- Remove Duplicate Lines — Delete repeated lines from a list.