Unicode Text Converter

Turn plain text into 19 Unicode styles such as script, fraktur, circled, squared, full width, monospace, superscript and subscript. Paste the results into form fields, search boxes and databases to test how your app stores, searches and renders special characters. Everything runs in your browser, so nothing you type is sent anywhere.

Convert text to Unicode styles

Letters A to Z and digits 0 to 9 are converted. Other characters, and letters a style has no glyph for (common in superscript and subscript), stay as typed.
Input text
Converted styles
Select any converted text to copy it, or use the Copy button on each style.

What the Unicode Text Converter Does

The Unicode Text Converter rewrites ordinary text in 19 styles, such as script, fraktur, circled, squared, full width, monospace, superscript and subscript. Each style swaps every letter for a different Unicode character that looks like a styled version of it. The result is plain text, so you can paste it anywhere that accepts text.

For testers, that makes it a quick source of unusual characters. You can see how a form, database, search box or export handles characters that look like letters but are not the letters A to Z. Everything runs in your browser and nothing you type is sent to a server.

How to Use the Unicode Text Converter

  1. Enter text: Type or paste into Input text, or click Upload .txt to load a text file of up to 1 MB. Load sample fills in a short example.
  2. Convert: With Auto update as I type on, all 19 styles update as you type. Turn it off and click Convert to update on demand.
  3. Read the results: Each style has its own card with the converted text. The counter above the input shows your character count.
  4. Copy one style: Click Copy on a card, or click the converted text itself to select all of it.
  5. Copy everything: Click Copy all to copy every style, each under its name.
  6. Download: Click Download to save all styles as unicode-text.txt.
  7. Clear: Click Clear all to empty the input and results.

The tool remembers your last input in your browser, so it is there next time you visit.

The 19 Styles

Here is the text Frugal Testing in every style, with the part of Unicode each style comes from.

StyleFrugal TestingDigitsUnicode block
Scriptℱ𝓇𝓊ℊ𝒶𝓁 𝒯ℯ𝓈𝓉𝒾𝓃ℊStay plainMathematical Alphanumeric Symbols, with a few capitals and letters from Letterlike Symbols
Script (Bold)𝓕𝓻𝓾𝓰𝓪𝓵 𝓣𝓮𝓼𝓽𝓲𝓷𝓰Stay plainMathematical Alphanumeric Symbols
Fraktur𝔉𝔯𝔲𝔤𝔞𝔩 𝔗𝔢𝔰𝔱𝔦𝔫𝔤Stay plainMathematical Alphanumeric Symbols, with a few capitals from Letterlike Symbols
Fraktur (Bold)𝕱𝖗𝖚𝖌𝖆𝖑 𝕿𝖊𝖘𝖙𝖎𝖓𝖌Stay plainMathematical Alphanumeric Symbols
CircledⒻⓡⓤⓖⓐⓛ ⓉⓔⓢⓣⓘⓝⓖConvertedEnclosed Alphanumerics
Circled (Inverted)🅕🅡🅤🅖🅐🅛 🅣🅔🅢🅣🅘🅝🅖ConvertedEnclosed Alphanumeric Supplement, and Dingbats for digits
Squared🄵🅁🅄🄶🄰🄻 🅃🄴🅂🅃🄸🄽🄶Stay plainEnclosed Alphanumeric Supplement
Squared (Inverted)🅵🆁🆄🅶🅰🅻 🆃🅴🆂🆃🅸🅽🅶Stay plainEnclosed Alphanumeric Supplement
Small CapsFʀᴜɢᴀʟ TᴇꜱᴛɪɴɢStay plainPhonetic Extensions, IPA Extensions and Latin Extended-D
Full WidthFrugal TestingConvertedHalfwidth and Fullwidth Forms
Monospace𝙵𝚛𝚞𝚐𝚊𝚕 𝚃𝚎𝚜𝚝𝚒𝚗𝚐ConvertedMathematical Alphanumeric Symbols
Sans-Serif𝖥𝗋𝗎𝗀𝖺𝗅 𝖳𝖾𝗌𝗍𝗂𝗇𝗀ConvertedMathematical Alphanumeric Symbols
Sans-Serif (Italic)𝘍𝘳𝘶𝘨𝘢𝘭 𝘛𝘦𝘴𝘵𝘪𝘯𝘨Stay plainMathematical Alphanumeric Symbols
Sans-Serif (Bold)𝗙𝗿𝘂𝗴𝗮𝗹 𝗧𝗲𝘀𝘁𝗶𝗻𝗴ConvertedMathematical Alphanumeric Symbols
Sans-Serif (Bold Italic)𝙁𝙧𝙪𝙜𝙖𝙡 𝙏𝙚𝙨𝙩𝙞𝙣𝙜ConvertedMathematical Alphanumeric Symbols
Double-Struck𝔽𝕣𝕦𝕘𝕒𝕝 𝕋𝕖𝕤𝕥𝕚𝕟𝕘ConvertedMathematical Alphanumeric Symbols, with a few capitals from Letterlike Symbols
Italic𝐹𝑟𝑢𝑔𝑎𝑙 𝑇𝑒𝑠𝑡𝑖𝑛𝑔Stay plainMathematical Alphanumeric Symbols, with one letter from Letterlike Symbols
Superscriptᶠʳᵘᵍᵃˡ ᵀᵉˢᵗⁱⁿᵍConvertedSuperscripts and Subscripts, and Phonetic Extensions
SubscriptFᵣᵤgₐₗ ₜₑₛₜᵢₙgConvertedSuperscripts and Subscripts, and Phonetic Extensions

Digits are converted only in styles that have digit forms. In the others, 0 to 9 stay as typed.

What Gets Converted and What Stays

  • Converted: The letters A to Z and a to z, and the digits 0 to 9 in styles that have digit forms.
  • Left as typed: Spaces, punctuation, accented letters such as é and ñ, letters from other alphabets, and emoji. For example, Café 你好 😀 keeps its accent, its Chinese characters and its emoji.
  • Full Width is different: It converts punctuation and symbols too, and turns the space into a wide ideographic space.
  • Letters with no glyph: Unicode has no subscript form for b, c, d, f, g, q, w, y and z, and no small capital for x. Those letters stay as typed. In Small Caps, capital letters also stay as typed.
  • Case can change: Squared, Squared (Inverted) and Circled (Inverted) turn every letter into a capital. Superscript has no capital form for C, F, S, X, Y and Z, so it uses the small forms instead.
  • Close but not exact: Small Caps has no true small capital Q, so it uses ǫ (o with a tail). Superscript uses ᑫ, a Canadian syllabics character, for Q.

Styled Text Is Characters, Not a Font

These styles are often called Unicode fonts, but nothing here is a font. Every character is a separate Unicode character, called a code point, that was added for a specific purpose, mostly maths and phonetics. The converter picks the code point that looks like the style you want. Unicode has a number for every character, and the converter swaps one number for another.

Many of the styles come from the Mathematical Alphanumeric Symbols block, where each style is a run of letters placed one after another. That block has gaps, because a few letters already existed elsewhere in Unicode. For example, script capital F is not in the main block. It sits in Letterlike Symbols, and the converter handles this for you:

Plain letter F Script capital ℱ U+2131 (Letterlike Symbols, because the main block has a gap here) Bold script 𝓕 U+1D4D5 (Mathematical Alphanumeric Symbols) Circled Ⓕ U+24BB (Enclosed Alphanumerics) Full width F U+FF26 (Halfwidth and Fullwidth Forms)

The result is that styled text is a different string from the plain text. It looks like the word, but a computer sees different characters, and that is the point of using it for testing.

How Much Space Styled Text Takes

The same 14 characters take very different amounts of storage, depending on the style. Most of the mathematical styles sit outside the Basic Multilingual Plane, so each letter takes two UTF-16 units and four UTF-8 bytes.

StyleCode pointsUTF-16 unitsUTF-8 bytes
Plain text141414
Script142349
Script (Bold)142753
Fraktur142753
Fraktur (Bold)142753
Circled141440
Circled (Inverted)142753
Squared142753
Squared (Inverted)142753
Small Caps141430
Full Width141442
Monospace142753
Sans-Serif142753
Sans-Serif (Italic)142753
Sans-Serif (Bold)142753
Sans-Serif (Bold Italic)142753
Double-Struck142753
Italic142753
Superscript141437
Subscript141434

The counts are for Frugal Testing. This matters for any field with a length limit. A limit of 14 characters passes in every row when you count code points, but a limit of 14 bytes accepts only the plain text. The counter in the tool counts code points.

Turning Styled Text Back Into Plain Text

Unicode includes a process called NFKC normalisation, which replaces many look-alike characters with their plain equivalents. It is used when systems need to compare or search text. Here is what it does to the converter's output:

StyleAfter NFKC
ScriptPlain text, exactly
Script (Bold)Plain text, exactly
FrakturPlain text, exactly
Fraktur (Bold)Plain text, exactly
CircledPlain text, exactly
Circled (Inverted)Stays styled
SquaredPlain letters, but always capitals
Squared (Inverted)Stays styled
Small CapsStays styled
Full WidthPlain text, exactly
MonospacePlain text, exactly
Sans-SerifPlain text, exactly
Sans-Serif (Italic)Plain text, exactly
Sans-Serif (Bold)Plain text, exactly
Sans-Serif (Bold Italic)Plain text, exactly
Double-StruckPlain text, exactly
ItalicPlain text, exactly
SuperscriptPlain letters, but some capitals become lowercase
SubscriptPlain letters, but some capitals become lowercase

Three styles are not reversed by NFKC: Circled (Inverted), Squared (Inverted) and Small Caps. If your app normalises text before comparing it, these are the styles that still look different afterwards.

Test Cases for Special Characters

ScenarioWhat to tryExpected result
Length limit in charactersType 𝓕𝓻𝓾𝓰𝓪𝓵 into a field that allows 6 charactersAccepted. Counting by UTF-16 units would say 12, and by bytes would say 24
Length limit in bytesThe same text in a field that stores 20 bytesRejected cleanly, with no cut-off or broken character
Database storageSave a styled string and read it backSame text returned. In MySQL this needs the utf8mb4 character set, since most styles use 4 bytes
TruncationA preview that cuts text to a fixed lengthThe cut never splits a character in half
Duplicate namesRegister Admin, then 𝓐dminYour rules decide whether they count as the same name, and that is done on purpose
Case-insensitive searchSearch for frugal against stored Frugal and 𝓕𝓻𝓾𝓰𝓪𝓵Full width letters have case mappings, math letters do not, so results differ
NormalisationRun a styled string through NFKCMost styles return plain letters, and three stay styled (see below)
Pattern checksA rule like \w+ or [A-Za-z]+ on styled lettersRule behaves as you intended, since it can differ between languages
DisplayShow the same string in your web page, email and PDFNo empty boxes, and no characters swapped for others
Copy and pasteCopy a style from the tool and paste it into the fieldCharacters arrive unchanged
File round tripImport and export a CSV or text file with styled textUTF-8 is kept, with no ? or garbled characters
Mixed contentA string mixing styles, accents, non-Latin letters and emojiStored and shown as typed

Where Styled Text Works Badly

  • Accessibility: Screen readers often read each styled character by its Unicode name, or skip it, so a styled word can be hard or impossible to understand.
  • Missing glyphs: A device without a font for these characters may show empty boxes. How a style appears depends on the platform, so check it where it will be used.
  • Search: A search for the plain word may not find the styled version.
  • Usernames, passwords, URLs and email addresses: These usually allow only certain characters, and styled letters can look like plain ones while being different.
  • Other alphabets: Only the Latin letters A to Z are converted, so the tool is not meant for other scripts.

Common Problems and How to Fix Them

ProblemWhy it happensFix
A character shows as an empty boxThe device or font has no glyph for that characterTry another style, or another font or device
Some letters stay plain in Subscript or Small CapsUnicode has no subscript for b, c, d, f, g, q, w, y and z, and no small cap for xThese letters stay as typed, which is expected
Capitals changed to lowercaseSuperscript has no capital form for some letters, and Squared has only capitalsPick a different style if the case matters
Digits did not changeSome styles, such as Script, Fraktur, Italic and Squared, have no digit formsUse Circled, Full Width, Monospace, Sans-Serif or Double-Struck for digits
Accented letters stay plainThe tool only converts A to Z and 0 to 9Accents, other alphabets and emoji are left as typed
Converted text will not copyThe browser blocked clipboard accessClick the converted text to select it, then press Ctrl + C
Upload does nothingThe file is not text, or it is over 1 MBUse a .txt file under 1 MB
Results do not update while typingAuto update as I type is offClick Convert, or turn Auto update back on
Old text came back on reloadThe tool saves your last input in your browserClick Clear all
Converted text is read out strangelyScreen readers often announce each styled character by its Unicode name, or skip itKeep styled text out of anything that must be read aloud

Checking Length and Normalisation in Code

These short examples show the counts and the NFKC result from earlier in the page.

JavaScript

const styled = "𝓕𝓻𝓾𝓰𝓪𝓵"; console.log(styled.length); // 12 (UTF-16 units) console.log([...styled].length); // 6 (code points) console.log(new TextEncoder().encode(styled).length); // 24 (UTF-8 bytes) console.log(styled.normalize("NFKC")); // Frugal console.log("Admin" === "𝓐dmin"); // false console.log("𝓐dmin".normalize("NFKC") === "Admin"); // true

Python

import unicodedata styled = "𝓕𝓻𝓾𝓰𝓪𝓵" print(len(styled)) # 6 (code points) print(len(styled.encode("utf-8"))) # 24 (UTF-8 bytes) print(unicodedata.normalize("NFKC", styled)) # Frugal print(unicodedata.name(styled[0])) # MATHEMATICAL BOLD SCRIPT CAPITAL F

In JavaScript, slice and length work on UTF-16 units, so cutting a styled string at an odd position can split a character in half. Use Array.from(text) or [...text] to work with whole characters.

Tips

  • Test with several styles, not just one. Some use 4-byte characters, some use 3, and some mix sizes.
  • Check limits in characters, UTF-16 units and bytes, so you know which one your system counts.
  • Use Circled (Inverted), Squared (Inverted) and Small Caps to test code that normalises text, because those do not return to plain letters.
  • Keep the original text. Converting to a style is easy, but you can't count on getting the exact original back.
  • Do not use styled text for names or labels that people with screen readers need to understand.
  • Open the pages that show your styled test data in more than one browser and device.

Find your tool.

Simplify your next task.

Find your tool. Simplify your next task.

Simple, free tools to help you build, test, and get more done.

Explore Our Free Toolkit →