Upside Down & Reverse Text: how it works and how to build one
Flip text upside down, reverse it, or reverse word order. This guide explains what happens behind the button and shows the code, so you can build your own.
What it does
Makes ʇxǝʇ uʍop ǝpısdn with Unicode look-alike letters, reverses text, reverses word order or reverses each word. Fun for social posts, puzzles and testing how your app handles Unicode.
When to use it
- Fun social posts and usernames
- Testing Unicode handling in apps
How to use it
- Pick a mode.
- Type your text.
- Copy and paste it anywhere.
Try it free in your browser, nothing is uploaded: https://eskillsfy.com/tools/text-flipper
How it works
Upside-down text isn’t rotated; it uses Unicode characters that look like upside-down letters (ɐ for a, ǝ for e). Reversing the string and swapping each character through a lookup table gives text that reads correctly when the screen is turned around.
Reversing with Array.from(text) instead of split(”) keeps emoji in one piece.
Build it yourself
Here is the core of the tool. It has no dependencies unless noted, so you can paste it into any TypeScript or JavaScript project.
flip.ts (ts)
const FLIP: Record<string, string> = { a: "ɐ", b: "q", c: "ɔ", d: "p", e: "ǝ", h: "ɥ", i: "ᴉ", m: "ɯ", n: "u", r: "ɹ", t: "ʇ", y: "ʎ", "?": "¿", "!": "¡" /* … */ };
export const upsideDown = (s: string) => Array.from(s).reverse().map((c) => FLIP[c] ?? c).join("");
export const reverseText = (s: string) => Array.from(s).reverse().join("");
export const reverseWords = (s: string) => s.split(/(\s+)/).reverse().join("");
Make it production-ready
- Use Intl.Segmenter to keep combined emoji (like family emoji) intact.
Questions
Will it work on Instagram and WhatsApp?
Yes. The result is plain Unicode text, which works anywhere you can paste.
Free, runs in your browser, nothing is uploaded.