Backwards text maker (reverse character order)
How a backwards text maker reverses character order, how that differs from mirrored glyphs, CSS flipping and right-to-left display tricks, and what limits affect copying, readability and accessibility.
A backwards text maker takes your text and rewrites it with the characters in the opposite order, so "hello world" becomes "dlrow olleh". The output is ordinary text. It contains the same letters you typed, only rearranged, so it can be copied, pasted and stored like any other text. The letters themselves are not flipped. If you want each letter to appear as its own mirror image, or the text only needs to look reversed on a page you control, you need a different method. The sections below cover those methods.
What reversing character order actually does
Reversal changes the stored sequence of characters. Each letter still looks normal, and only the order changes. Reading the result requires reading right to left. Reversing the output again restores the original, as long as nothing else changed the text in between.
Some tools offer related options under similar names. Check which one you need:
- Character reversal: the whole string is reversed, so both the letters and the word order run backwards ("hello world" becomes "dlrow olleh").
- Word-order reversal: the words swap positions but each word stays readable ("hello world" becomes "world hello").
- Per-word reversal: each word is reversed in place and the word order is kept ("hello world" becomes "olleh dlrow").
Reversal compared with mirroring, CSS flipping and right-to-left display
Several different techniques can produce a backwards appearance. They differ in what is actually stored and in what a recipient gets when they paste the text.
| Approach | What changes | What a copy contains |
| Character-order reversal | The stored order of the characters | The reversed sequence, as ordinary characters |
| Mirrored or upside-down lookalike characters (Unicode substitution) | Each letter is replaced by a different Unicode character that resembles a flipped form | The substitute characters, which are not the original letters |
| CSS transform (for example, a horizontal scale of -1) | Only the visual rendering on a web page you control | The original, unreversed text |
| Right-to-left override control character | The display direction of the following text in software that applies the Unicode bidirectional algorithm | The original order plus an invisible control character |
Glyph mirroring through Unicode substitution depends on finding a lookalike for each letter. Unicode does not define a complete set of mirrored Latin letters. Generators draw on characters from other scripts and symbol blocks, so some letters have only rough or missing equivalents. Mirroring also does not reverse the order by itself. A full mirror-image effect combines substitution with order reversal.
CSS flipping is the only option here that leaves the underlying text untouched. Search, copying and assistive technology all work with the normal text. The effect is limited to pages where you control the styling, so it cannot be pasted into a message or a social media post.
The right-to-left override character makes text display reversed while it is stored in the original order. The same mechanism has been used to disguise file names and source code, so some platforms remove, flag or block it. Use it only if you understand that risk and have checked that the destination accepts it.
Limits that affect readability and reuse
No destination-specific tests or platform documentation were supplied for this article. The points below describe how these techniques generally behave. Behavior in a particular app, font or screen reader should be checked directly before you rely on it.
Characters that do not reverse cleanly
Some visible characters are built from several underlying code points. Examples include letters with separately encoded accents, many emoji such as skin-tone and family sequences, and flags. A simple reversal that works one code point at a time can split these sequences. The result is a detached accent, a broken emoji or the wrong flag. A tool that reverses by grapheme cluster, meaning one user-perceived character at a time, keeps them intact. If your text includes accents or emoji, test a sample before relying on a tool's output.
Copy and paste
- Reversed ordinary characters generally paste as-is, because they are ordinary text.
- Mirrored lookalike characters paste only if the destination's font includes them. Otherwise they may show as empty boxes or question marks.
- CSS effects do not travel at all. The pasted text is the original.
- Direction-control characters may be stripped or ignored by the destination, which leaves the text in its stored order.
Accessibility
Screen readers read the stored text. With reversed text, that means a listener hears reversed words, or the reader spells them out letter by letter. Lookalike substitution characters may be read by their symbol names, read as unrelated letters, or skipped, depending on the software. Neither result is meaningful to a listener. No screen-reader testing was supplied for this article, so treat any specific outcome as unverified. Reversed or mirrored text also hides the content from search and from tools that translate or check spelling.
When to provide an ordinary-text alternative
If the content matters, such as instructions, names, contact details, or anything someone must act on, include a normal version alongside the backwards one, or use CSS styling so the underlying text stays readable. Keep backwards text for decoration, puzzles, mirror-reading exercises or other places where it does no harm if the text is unreadable.
Sensitive text and online tools
An online backwards text generator may process text in your browser, or it may send the text to a server. No documentation about specific tools was supplied here, so you cannot assume either one. Don't paste passwords, personal data or confidential material into a web tool unless its own documentation says how the text is handled. A local method avoids the question entirely.
Reversing text locally
In a modern browser console or in JavaScript code, the following reverses by grapheme cluster, so accents and most emoji sequences stay intact:
const segmenter = new Intl.Segmenter(undefined, { granularity: 'grapheme' });
const reversed = Array.from(segmenter.segment(text), s => s.segment)
.reverse()
.join('');
In Python, slicing reverses by code point. This is fine for plain unaccented text, but it can break combining accents and multi-part emoji, as described above:
reversed_text = text[::-1]
Keep a copy of the original text if you need the exact original back later. Reversing again restores it only if the destination did not alter, normalize or strip any characters in the meantime.