Skip to content

Guides

How Unicode fancy fonts actually work

Fancy fonts aren't fonts at all. Here's how mathematical alphanumeric symbols turn plain letters into bold, script and Fraktur text you can paste anywhere.

By Lena Hartmann ·

How Unicode fancy fonts actually work

When you paste 𝐛𝐨𝐥𝐝 or 𝓈𝒸𝓇𝒾𝓅𝓉 text into an Instagram bio, you are not changing the font at all. Social apps don’t let you pick a typeface. What you’re pasting is a set of different characters that happen to look like styled letters.

Unicode is a giant catalogue of characters

Unicode assigns a number, called a code point, to every character used in writing: Latin letters, Arabic script, emoji, mathematical operators and more. The letter A is U+0041. The emoji 🎉 is U+1F389.

Hidden in that catalogue is a block called Mathematical Alphanumeric Symbols (U+1D400–U+1D7FF). Mathematicians use different letter styles to mean different things: a bold v for a vector, a script ℒ for a Lagrangian. To keep those meanings intact in plain text, Unicode gave each style its own set of characters.

A𝐀 (U+1D400)

How a generator converts your text

A fancy text generator is essentially a lookup table. For each letter you type, it finds the matching character in the chosen style:

  1. Read each character of your input.
  2. If it’s a Latin letter or digit, calculate its position (A = 0, B = 1, …).
  3. Add that position to the starting code point of the style.
  4. Leave everything else, such as spaces, punctuation or umlauts, unchanged.

There are a few historical gaps. Some styled letters existed in Unicode before the math block was created, so they live elsewhere. Script capital H is ℋ (U+210B), and Fraktur capital C is ℭ (U+212D). A good generator handles these exceptions so you never see a broken box.

Why some characters don’t change

The math block only covers the basic Latin alphabet, the digits and a little Greek. That means:

  • Accented letters such as ä, é or ñ have no bold or script version.
  • Non-Latin scripts like Cyrillic, Arabic or Devanagari aren’t covered.
  • Punctuation stays as it is.

Our generator keeps these characters unchanged so your text stays readable.

Other tricks: combining marks and lookalikes

Not every style comes from the math block:

  • Strikethrough and underline add a combining character (U+0336 or U+0332) after each letter.
  • Small caps borrows phonetic letters like ᴀ, ʙ and ᴄ.
  • Upside-down text reverses the string and swaps in rotated lookalikes such as ɐ and ǝ.

Now that you know the trick, try the font generator and see each style built in real time.