Backwards Text Generator and Mirror Text
Type once and get two results: your text backwards, as in olleH, and mirror text with left-right lookalike letters, as in ollɘH. Copy either one.
Free · No sign-up · Runs in your browser
rorrim a ni em daeR
ɿoɿɿim ɒ ni ɘm bɒɘЯ
Your text never leaves your device. Everything is converted in your browser.
Backwards, mirror and upside down: what's the difference?
- Backwards text reverses the order of the characters and changes nothing else: Hello becomes olleH.
- Mirror text reverses the order too, then swaps every character that has a left-right lookalike for that lookalike: Hello becomes ollɘH, where ɘ is U+0258 LATIN SMALL LETTER REVERSED E. Characters without a lookalike stay as typed.
- Upside-down text, on our Upside Down Text Generator, uses turned lookalikes such as ɐ and ǝ and also reverses the order, so it reads correctly when the screen is turned around.
Examples, as produced by the tool on this page:
- Backwards text generator → rotareneg txet sdrawkcaB (backwards) · ɿotɒɿɘnɘg txɘt ƨbɿɒwʞɔɒꓭ (mirror)
- PRESS START → TRATS SSERP (backwards) · TЯATƧ ƧƧƎЯꟼ (mirror)
- (hello) [world] a/b? → ?b/a ]dlrow[ )olleh( (backwards) · ⸮d\ɒ [blɿow] (ollɘh) (mirror)
If your text has several lines, each line is reversed on its own, so the lines stay in the same order. Ordinary text usually comes back if you run the result through the tool again. Some Unicode sequences can be grouped differently on the second pass, and mirror text can change how a character is encoded: é typed as e plus a combining accent comes back as a single é character.
Emoji and accents stay in one piece
The tool reverses user-perceived characters, which Unicode calls grapheme clusters, rather than single code points. A letter keeps its accent, and emoji that are built from several code points stay whole: Hi 👋🏽 🇺🇸 becomes 🇺🇸 👋🏽 iH. Mirror text leaves emoji as typed, so the 3 in the keycap 3️⃣ is not swapped.
Reversing code points one by one would break those sequences: the skin-tone modifier U+1F3FD would end up in front of the waving hand U+1F44B instead of after it, and the flag's two regional indicator letters U and S would be swapped to S and U. Reversing the raw UTF-16 code units, as a simple string reversal does in JavaScript, would also split each emoji's surrogate pair into invalid halves.
Unicode Standard Annex #29 describes how to find these “user-perceived characters”. The tool finds them with the browser's built-in Intl.Segmenter, so the result follows the Unicode version your browser supports. Browsers without Intl.Segmenter get the tool's own implementation of the Unicode 18.0 rules, which we check against Unicode's GraphemeBreakTest.txt; characters newer than the browser's own Unicode data may still be grouped differently there.
Sources: Unicode Standard Annex #29: Unicode Text Segmentation
Which character each mirror letter uses
Unicode does not define a complete left-right mirrored Latin alphabet. Mirror text borrows other characters that happen to look like a reversed letter: letters from the IPA Extensions block such as ɘ and ɿ, Cyrillic И and Я, letters from the Lisu script, two Latin epigraphic letters (ꟻ and ꟼ) and the Roman numeral Ↄ. They are different characters with their own meaning, not mirrored versions of the original letters.
The bracket pairs follow the Bidi_Mirroring_Glyph pairs in Unicode's BidiMirroring.txt. The other pairs are our own visual choice, and the Fit column is our judgement of how close the lookalike is. Code points and names are from UnicodeData.txt.
How each character finally looks depends on the fonts on the device showing it; a device without a font for a character may show an empty box. We haven't tested specific apps.
On a narrow screen, scroll the table sideways to see the Unicode name and Fit columns.
| Typed | Becomes | Code point | Unicode name | Fit |
|---|---|---|---|---|
| a | ɒ | U+0252 | LATIN SMALL LETTER TURNED ALPHA | Rough |
| b | d | U+0064 | LATIN SMALL LETTER D | Close |
| c | ɔ | U+0254 | LATIN SMALL LETTER OPEN O | Close |
| d | b | U+0062 | LATIN SMALL LETTER B | Close |
| e | ɘ | U+0258 | LATIN SMALL LETTER REVERSED E | Close |
| k | ʞ | U+029E | LATIN SMALL LETTER TURNED K | Rough |
| p | q | U+0071 | LATIN SMALL LETTER Q | Close |
| q | p | U+0070 | LATIN SMALL LETTER P | Close |
| r | ɿ | U+027F | LATIN SMALL LETTER REVERSED R WITH FISHHOOK | Close |
| s | ƨ | U+01A8 | LATIN SMALL LETTER TONE TWO | Close |
| B | ꓭ | U+A4ED | LISU LETTER GHA | Rough |
| C | Ↄ | U+2183 | ROMAN NUMERAL REVERSED ONE HUNDRED | Close |
| D | ꓷ | U+A4F7 | LISU LETTER OE | Close |
| E | Ǝ | U+018E | LATIN CAPITAL LETTER REVERSED E | Close |
| F | ꟻ | U+A7FB | LATIN EPIGRAPHIC LETTER REVERSED F | Close |
| K | ꓘ | U+A4D8 | LISU LETTER KHA | Close |
| L | ⅃ | U+2143 | REVERSED SANS-SERIF CAPITAL L | Close |
| N | И | U+0418 | CYRILLIC CAPITAL LETTER I | Close |
| P | ꟼ | U+A7FC | LATIN EPIGRAPHIC LETTER REVERSED P | Close |
| R | Я | U+042F | CYRILLIC CAPITAL LETTER YA | Close |
| S | Ƨ | U+01A7 | LATIN CAPITAL LETTER TONE TWO | Close |
| 3 | Ɛ | U+0190 | LATIN CAPITAL LETTER OPEN E | Rough |
| ( | ) | U+0029 | RIGHT PARENTHESIS | Close |
| ) | ( | U+0028 | LEFT PARENTHESIS | Close |
| [ | ] | U+005D | RIGHT SQUARE BRACKET | Close |
| ] | [ | U+005B | LEFT SQUARE BRACKET | Close |
| { | } | U+007D | RIGHT CURLY BRACKET | Close |
| } | { | U+007B | LEFT CURLY BRACKET | Close |
| < | > | U+003E | GREATER-THAN SIGN | Close |
| > | < | U+003C | LESS-THAN SIGN | Close |
| / | \ | U+005C | REVERSE SOLIDUS | Close |
| \ | / | U+002F | SOLIDUS | Close |
| ? | ⸮ | U+2E2E | REVERSED QUESTION MARK | Close |
| ; | ⁏ | U+204F | REVERSED SEMICOLON | Close |
Sources: UnicodeData.txt (character names) · BidiMirroring.txt (bracket pairs)
Letters that stay the same in mirror text
These letters and digits look about the same when reversed left to right, so they are kept as typed: A H I M O T U V W X Y i l m n o u v w x 0 1 8.
These are not in the mirror table either, and this tool leaves them unchanged: G J Q Z f g h j t y z 2 4 5 6 7 9.
Accented letters keep their accent on the swapped letter, so é becomes ɘ́. Letters from other alphabets stay as typed unless they are in the table: Я and И, for example, turn into R and N, because the table works in both directions. That is also why mirroring mirror text usually gives you the original back.
Why this tool doesn't use the right-to-left override
Unicode has an invisible control character, U+202E RIGHT-TO-LEFT OVERRIDE. Unicode Standard Annex #9, the Unicode Bidirectional Algorithm, describes it as: “Force following characters to be treated as strong right-to-left characters.” Placed before ordinary letters, it can make them display right to left while the characters stay stored in their normal order.
The same annex says the override characters “are to be avoided wherever possible, because of security concerns.” Unicode Technical Report #36, Unicode Security Considerations, in its 2014 revision (the report is now stabilized), recommends for bidirectional IRIs, that is, internationalized web addresses: “Never allow bidi override characters.”
This tool never adds U+202E or any other direction control character. What you copy is the reversed characters themselves, in their new order.
Sources: Unicode Standard Annex #9: Unicode Bidirectional Algorithm · Unicode Technical Report #36: Unicode Security Considerations (revision 15)
Questions
What is the difference between backwards text and mirror text?
Backwards text only reverses the order of the characters (Hello → olleH). Mirror text also replaces characters that have a left-right lookalike, such as e → ɘ (Hello → ollɘH).
How do I turn backwards or mirror text back to normal?
Paste it into the box. For ordinary text, the Backwards result usually reverses it back, and the Mirror result usually turns mirror text back into the original, because the mirror table works in both directions. Some Unicode sequences, such as a flag followed directly by a single unpaired regional indicator letter, can be grouped differently on the second pass, and mirror text can change how an accented letter is encoded.
Why do some letters look unchanged in mirror text?
Some letters, such as A, H, O and x, look about the same when reversed. Others, such as G, Q, f, g and t, are not in the mirror table. This tool leaves these characters unchanged.
Is mirror text made of real mirrored letters?
No. Unicode does not define a complete left-right mirrored Latin alphabet. Each swapped character is a different Unicode character that looks roughly like the reversed letter, for example Я (CYRILLIC CAPITAL LETTER YA) for R.
Does this tool use the right-to-left override character?
No. It never adds U+202E RIGHT-TO-LEFT OVERRIDE or any other direction control character. The output is the reversed characters themselves.