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

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.

Mirror text lookalikes: typed character, the character it becomes, its code point and Unicode name
TypedBecomesCode pointUnicode nameFit
aɒU+0252LATIN SMALL LETTER TURNED ALPHARough
bdU+0064LATIN SMALL LETTER DClose
cɔU+0254LATIN SMALL LETTER OPEN OClose
dbU+0062LATIN SMALL LETTER BClose
eɘU+0258LATIN SMALL LETTER REVERSED EClose
kʞU+029ELATIN SMALL LETTER TURNED KRough
pqU+0071LATIN SMALL LETTER QClose
qpU+0070LATIN SMALL LETTER PClose
rɿU+027FLATIN SMALL LETTER REVERSED R WITH FISHHOOKClose
sƨU+01A8LATIN SMALL LETTER TONE TWOClose
BꓭU+A4EDLISU LETTER GHARough
CↃU+2183ROMAN NUMERAL REVERSED ONE HUNDREDClose
DꓷU+A4F7LISU LETTER OEClose
EƎU+018ELATIN CAPITAL LETTER REVERSED EClose
FꟻU+A7FBLATIN EPIGRAPHIC LETTER REVERSED FClose
KꓘU+A4D8LISU LETTER KHAClose
L⅃U+2143REVERSED SANS-SERIF CAPITAL LClose
NИU+0418CYRILLIC CAPITAL LETTER IClose
PꟼU+A7FCLATIN EPIGRAPHIC LETTER REVERSED PClose
RЯU+042FCYRILLIC CAPITAL LETTER YAClose
SƧU+01A7LATIN CAPITAL LETTER TONE TWOClose
3ƐU+0190LATIN CAPITAL LETTER OPEN ERough
()U+0029RIGHT PARENTHESISClose
)(U+0028LEFT PARENTHESISClose
[]U+005DRIGHT SQUARE BRACKETClose
][U+005BLEFT SQUARE BRACKETClose
{}U+007DRIGHT CURLY BRACKETClose
}{U+007BLEFT CURLY BRACKETClose
<>U+003EGREATER-THAN SIGNClose
><U+003CLESS-THAN SIGNClose
/\U+005CREVERSE SOLIDUSClose
\/U+002FSOLIDUSClose
?⸮U+2E2EREVERSED QUESTION MARKClose
;⁏U+204FREVERSED SEMICOLONClose

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.