Guide

How upside-down text works

Short answer

Upside-down text is made of ordinary Unicode characters that happen to look like Latin letters rotated 180 degrees, mostly taken from the International Phonetic Alphabet. A flipper swaps each letter for its look-alike and reverses the order of the characters. Because no font or formatting is involved, the result can be pasted anywhere plain text goes.

Key points

  • There is no upside-down font; it's a substitution of look-alike characters.
  • The order is reversed too, so the text reads correctly from the other side.
  • Most turned lowercase letters come from the phonetic alphabet and count as one character on X.
  • Some capitals and digits have no perfect twin and are approximations.

Why isn't there just an upside-down font?

Because a post on X can't carry a font. It carries characters, and each reader's device chooses how to draw them.

When you type into X, what gets stored is a sequence of Unicode code points: numbers that stand for characters. Bold, italic and font choices aren't part of a post. So the only way to make text look upside down for everyone is to use characters whose normal shape is an upside-down letter. Unicode, which aims to include every character any writing system needs, turns out to have plenty of those.

Where do the turned letters come from?

Mostly from the International Phonetic Alphabet, a notation for speech sounds that reused rotated Latin letters.

When phoneticians needed new symbols in the late 1800s, turning existing type upside down was a cheap trick: printers already had the letter, they just set it the other way round. So the IPA has ɐ for a near-open central vowel, ǝ (or ə) for the schwa, ɥ for a labial-palatal approximant, ɯ, ɹ, ʇ (originally for a click sound), ʌ, ʍ and ʎ. When Unicode added the IPA Extensions block (U+0250 to U+02AF), all of these became standard characters.

Some letters need no special character because the alphabet already rhymes with itself: turned b is q, turned d is p, turned n is u, and o, s, x and z look the same either way.

Why is the order reversed as well?

Rotating a line by 180 degrees flips it both vertically and horizontally, so the last letter ends up first.

Hold a card with the word "flip" on it and turn it over. You don't see ɟlıd in the same order; you see "dılɟ", because the f is now on the right. A flipper therefore does two things: it substitutes each character with its turned twin, and it reverses the sequence. For multi-line text, a full rotation also puts the last line on top. The upside-down generator lets you keep line order if you'd prefer each line turned on its own.

What about capitals and numbers?

They're borrowed from wherever Unicode happens to have a match, and some are approximations.

Character Turned Borrowed from
A ∀ Mathematical operator "for all"
E Ǝ Latin Extended-B, reversed E
F Ⅎ Letterlike Symbols, turned F (used in Claudian letters)
G ⅁ Letterlike Symbols, turned sans-serif G
L ˥ Modifier tone letter
T ꓕ Lisu script
Y ⅄ Letterlike Symbols, turned sans-serif Y
3 Ɛ Latin open E
6 / 9 9 / 6 Each other
? ¿ Spanish inverted question mark

The Lisu script, used to write a language of southwest China and neighbouring countries, was encoded with letters modelled on rotated Latin capitals, which makes it a useful source for B, D, K, R and T. Fonts that lack the Lisu block show those as empty boxes, which is why capital-heavy flipped text is more fragile than lowercase.

Does flipping change how X counts the post?

For lowercase, no. For capitals and some digits, yes.

All 26 turned lowercase letters used here (including ı for i) live below U+1100, the range X counts as one character each. Several of the capitals, such as ∀, Ⅎ, ⅁, ⅄ and the Lisu letters, are higher up and count as two. The guide to X's counting rules explains the ranges.

Can the text be turned back?

Yes, because the substitution is a two-way lookup.

Each character in the table has exactly one twin, and the twin points back at it. Running flipped text through the same process restores the original. That's what the decoder does, with a few extra entries for characters other generators use (ᴉ instead of ı, ן instead of l).

Questions people ask

Is upside-down text a font?

No. A font changes how the same characters are drawn; upside-down text uses different characters. That's why it survives copy and paste into apps that don't let you choose fonts.

Can I make any language upside down?

Only scripts that have turned look-alikes in Unicode, which in practice means Latin letters, digits and some punctuation. Chinese, Arabic, emoji and most other characters are left as they are, though they still move to the reversed position.

Why is there no upside-down "j" that looks perfect?

Unicode has a turned j for phonetics only in some forms; most flippers use ɾ (the phonetic fishhook r), which is close enough to read. Several capitals are similar compromises.

Sources

  1. Unicode Standard, IPA Extensions block (U+0250 to U+02AF)
  2. Unicode Standard, Lisu block (U+A4D0 to U+A4FF)