AllinHub

Reverse text

Reverse characters, words or lines, or turn the text upside down.

Each line is read back to front. Emoji and accents stay whole.

The reversed text appears here.

Reverse text turns a line back to front. Choose what to reverse: the characters, the order of the words, the order of the lines, or turn everything upside down using the Unicode letters that already look flipped. The result appears as you type, and every mode is its own inverse, so running it twice gives you the text you started with. Use it to build a puzzle, to check a palindrome, to flip a log from newest to oldest, or to write a name that reads upside down in a chat. The text never leaves your browser.

How to use

  1. Paste or type your text into the left box.
  2. Choose what to reverse: characters, words, lines or upside down.
  3. Read the result on the right. It updates as you type.
  4. Press Copy, or Ctrl+Shift+C, to put the result on your clipboard.
  5. Press Clear to empty both boxes and forget the saved text.

What it handles

  • Reverses whole grapheme clusters, so an emoji with a skin tone, a flag or a letter with a combining accent comes back intact.
  • Character and word modes work line by line: the lines keep their order, and CRLF endings and a trailing line break survive.
  • Word mode leaves the runs of spaces and tabs where they are, so an aligned column keeps its width.
  • Upside-down mode also reverses the order of the lines, because a page turned 180 degrees reads bottom to top.
  • Cyrillic, Greek and CJK have almost no turned forms in Unicode, so upside-down mode only reverses those letters.
  • Text above 20,000 characters is reversed in a background worker with a progress readout, so the page never freezes.

FAQ

Does reversing text break emoji and accented letters?

No. The tool reverses grapheme clusters, the units you see as one character, instead of the code units a string is made of. A family emoji, a flag, a thumbs-up with a skin tone and a letter carrying a combining accent each move as one piece, so reversing twice gives you exactly what you pasted.

How does upside-down text work?

Unicode already contains letters that look like turned versions of Latin ones, such as the turned a and the turned e. The tool swaps each character for its turned twin and then reverses the line. It is real text, so you can paste it anywhere, but a font with poor Unicode coverage may show a box for a few of the rarer letters.

Can I get the original text back?

Yes. Every mode is its own inverse: run it a second time on its own output and you have the original. Upside-down mode is symmetric too, because each turned character maps back to the letter it came from. The one exception is a character with no turned form, which is only reversed and so returns unchanged.

Does it work with Arabic, Hebrew or Chinese?

It reverses the logical order, the order in which the characters are stored, which is what a round trip needs. For Arabic and Hebrew your browser then lays the result out right to left, so it may not look reversed on screen even though it is. Chinese and Japanese characters are reversed one by one.

Is my text uploaded anywhere?

No. Everything runs in this page, on your device, and the page keeps working after you go offline. Nothing is sent to a server and nothing is logged. The only copy kept is in your browser's local storage so you can come back to it on this device, and Clear removes that copy.

Is there a limit on how much text?

There is no fixed limit. Up to 20,000 characters the text is reversed on every keystroke; above that the work moves to a background thread that reports progress, so a few megabytes are fine. The copy saved in your browser is capped at 200 KB, so a very large text is reversed but not remembered.

Updated

All tools