text.fancy
mock case, l33t, uwu, Pig Latin, zalgo, upside-down, 𝐛𝐨𝐥𝐝/𝒮𝒸𝓇𝒾𝓅𝓉/wide
Example results generated on 2026-10-08. Ones using
now,todayor randomness will differ when you run them: press Run on any example to run it in your browser, after editing it if you like.
Functions
| function | description |
|---|---|
mock(s: str) | aLtErNaTiNg CaSe, for quoting someone sarcastically |
leet(s: str) | l33t sp34k |
uwu(s: str) | uwu-ify text |
pig_latin(s: str) | translate to Pig Latin, keeping capitals and punctuation |
zalgo(s: str, marks?: int) | Z̷a̸l̵g̶o̴ text: pile marks (default 3) onto every character |
flip(s: str) | turn text upside down |
style(s: str, style: str) | restyle letters and digits with Unicode look-alikes; style is one of styles() |
styles() | the styles for style() |
emoji(name: str) | an emoji by name, or nil |
emojify(s: str) | replace :name: codes with emoji; unknown codes stay |
mock
mock(s: str): aLtErNaTiNg CaSe, for quoting someone sarcastically
"this is fine".mock
# → "tHiS iS fInE"
leet
leet(s: str): l33t sp34k
"elite hacker".leet
# → "3l173 h4ck3r"
See also: mock
uwu
uwu(s: str): uwu-ify text
"hello friend, I really love this".uwu
# → "hewwo fwiend, I weawwy wuv this ^w^"
See also: mock
pig_latin
pig_latin(s: str): translate to Pig Latin, keeping capitals and punctuation
"Hello, string theory!".pig_latin
# → "Ellohay, ingstray eorythay!"
See also: caesar
zalgo
zalgo(s: str, marks?: int): Z̷a̸l̵g̶o̴ text: pile marks (default 3) onto every character
"he comes".zalgo
# → "h\u{325}\u{343}\u{368}e\u{356}\u{31e}\u{318} c\u{35d}\u{33c}\u{30a}o\u{35c}\u{32e}\u{320}m\u{356}\u{33c}\u{346}e\u{325}\u{364}\u{34b}s\u{320}\u{308}\u{338}"
"ok".zalgo(1)
# → "o\u{334}k\u{339}"
See also: flip
flip
flip(s: str): turn text upside down
"hello world".flip
# → "plɹoʍ ollǝɥ"
style
style(s: str, style: str): restyle letters and digits with Unicode look-alikes; style is one of styles()
"Hello".style("bold")
# → "𝐇𝐞𝐥𝐥𝐨"
"vaporwave".style("wide")
# → "vaporwave"
See also: styles, banner, fonts
styles
styles(): the styles for style()
styles()
# → ["bold", "italic", "bold_italic", "script", "fraktur", "double", "sans", "sans_bold", "mono", "wide", "circled", "small_caps", "strike", "underline"]
See also: style
emoji
emoji(name: str): an emoji by name, or nil
emoji("taco")
# → "🌮"
emoji("fire")
# → "🔥"
See also: emojify
emojify
emojify(s: str): replace :name: codes with emoji; unknown codes stay
":fire: deploy on friday :skull:".emojify
# → "🔥 deploy on friday 💀"
See also: emoji
More examples
fancy
# reply to a bad take
"tabs are better than spaces".mock
# → "tAbS aRe BeTtEr ThAn SpAcEs"
# every style
styles().map(|st| "Zil 2".style(st))
# → ["𝐙𝐢𝐥 𝟐", "𝑍𝑖𝑙 2", "𝒁𝒊𝒍 2", "𝒵𝒾𝓁 2", "ℨ𝔦𝔩 2", "ℤ𝕚𝕝 𝟚", "𝖹𝗂𝗅 𝟤", "𝗭𝗶𝗹 𝟮", "𝚉𝚒𝚕 𝟸", "Zil 2", "Ⓩⓘⓛ ②", "Zɪʟ 2", "Z\u{336}i\u{336}l\u{336} 2\u{336}", "Z\u{332}i\u{332}l\u{332} 2\u{332}"]
# table flip
"(╯°□°)╯ " + "zil".flip
# → "(╯°□°)╯ lᴉz"
# a commit message
":rocket: ship it :tada:".emojify
# → "🚀 ship it 🎉"