Find Unicode character information on Compart

Use a Compart Unicode lookup to identify unfamiliar characters, tell reversal, mirroring, style substitution, CSS and bidi effects apart, and check whether text will work where you paste it.

Compart is commonly used as a reference for looking up individual Unicode characters. If a piece of text looks unusual, such as upside-down, bold inside a plain-text field, reversed, or oddly ordered when you edit it, looking up its code points shows which characters are actually there. That tells you which transformation produced the text and whether it will hold up where you plan to use it. This guide covers what a lookup reveals, how to read the results, and what to check before you rely on transformed text. It does not document Compart's current page layout, because no inspected interface or current documentation was available for this article.

What a character lookup tells you and what it leaves unchanged

Looking up a character only inspects it. Your text stays the same. The lookup shows the properties assigned to a code point in the Unicode Character Database. The fields most useful for diagnosing text effects are:
• the code point, written as U+ followed by hexadecimal digits
• the official character name
• the block and script
• the general category
• the bidirectional class
• the mirrored property
• any decomposition mapping
Reference sites arrange these properties differently, so check which fields Compart shows for the character you are examining.

Five effects that can look alike

  • Character-order reversal: The characters stay the same but their sequence is reversed. Each one looks up as an ordinary letter, and only the order has changed.
  • Visual mirroring or upside-down text built from substitute characters: Letters are swapped for different characters that resemble flipped shapes, such as U+0250 LATIN SMALL LETTER TURNED A. The lookup shows names containing words like TURNED or REVERSED, or letters borrowed from other scripts because of their shape.
  • Unicode style substitution: The "bold", "italic", "script" or "wide" letters are separate characters. Formatting is not involved. Examples are U+1D400 MATHEMATICAL BOLD CAPITAL A and U+FF21 FULLWIDTH LATIN CAPITAL LETTER A.
  • CSS presentation: Transforms, font styles or direction settings change only how text is drawn on a page. Copying generally returns the underlying ordinary characters, so a lookup shows plain letters.
  • Bidirectional display: Right-to-left characters, or invisible control characters such as U+202E RIGHT-TO-LEFT OVERRIDE, change the order in which text is displayed. The stored order stays the same. Because the controls are invisible, they are easy to miss unless you inspect each code point.

Labels such as "mirror text" or "font generator" do not tell you which of these methods a tool uses. Inspecting the output is the reliable way to find out.

How to identify an unfamiliar character

  • 1. Isolate one visible symbol. One symbol on screen can be made of several code points, such as a letter with combining accents, an emoji joined with U+200D ZERO WIDTH JOINER, or a character followed by U+FE0F VARIATION SELECTOR-16. Pasting a whole phrase can hide this.
  • 2. Get the code point. Paste the character into the lookup, or work out the code point on your own machine (see the snippets below) and search for the U+ value.
  • 3. Read the name and block first. They usually identify the effect immediately, for example a name beginning with MATHEMATICAL or a block named Mathematical Alphanumeric Symbols.
  • 4. Check the decomposition. A compatibility decomposition to a plain letter means normalization can turn the character back into ordinary text. Turned and reversed letters usually have no such mapping.
  • 5. Check the bidirectional class and look for invisible controls. These explain text that displays in one order but behaves differently when you move the cursor or edit it.

To list code points without sending text to any website, a few lines of Python are enough. The unicodedata module comes with the standard library.

import unicodedata

text = "𝐇ɐ"
for ch in text:
    print(f"U+{ord(ch):04X}  {unicodedata.name(ch, '<unnamed>')}")

print(unicodedata.normalize("NFKC", text))

In this example, the bold H has a compatibility decomposition, so NFKC normalization folds it to a plain H. The turned a has no decomposition and stays as it is. In a browser console, iterating with for...of goes one code point at a time, so characters outside the Basic Multilingual Plane are not split in half:

const text = "𝐇ɐ";
for (const ch of text) {
  console.log("U+" + ch.codePointAt(0).toString(16).toUpperCase().padStart(4, "0"));
}

Clues that point to each effect

What the lookup shows | Likely effect
Ordinary letters in reverse sequence | Character-order reversal
Names containing TURNED, REVERSED or INVERTED, or letters from unrelated scripts | Mirrored or upside-down substitution
Names beginning MATHEMATICAL, FULLWIDTH or CIRCLED, or containing SMALL CAPITAL | Style substitution
Ordinary letters, and the effect disappeared after pasting | CSS or other presentation styling at the source
Invisible characters such as U+202D, U+202E, U+200F or U+2066 to U+2069 | Bidirectional controls
Several code points behind one visible symbol | Combining sequence, emoji sequence or variation selector

Finding the search in Compart's interface

This article cannot give the exact location or wording of Compart's search controls, because its current interface was not inspected. Character references often accept a pasted character, a character name or a U+ code point. Check which of these inputs Compart's search currently accepts. If pasting fails for an invisible or combining character, searching for the code point you calculated locally avoids the problem.

Will the text stay readable and usable?

Copy and paste: Substituted characters, such as mathematical letters, turned letters and fullwidth forms, are real characters. They travel with the text wherever the destination accepts them. CSS effects are not stored in the text, so they do not survive copying. Some destinations strip bidirectional controls and others keep them. The only dependable check is to paste into the actual destination and inspect the result.

Fonts: A lookup confirms that a character exists in Unicode. It cannot confirm that the reader's font has a glyph for it. When no glyph is available, the character may appear as an empty box or in a mismatched fallback font.

Accessibility: Screen readers handle style-substituted and turned characters in different ways. Depending on the software, version and settings, they may read long character names, spell the text out or skip it. Avoid these characters for names, instructions or any other essential information. Test with the assistive technology your audience actually uses.

Search, matching and validation: Style substitutes do not match ordinary text unless the system normalizes them, and lookalike letters from other scripts generally do not match at all. Usernames, form fields and filters may reject them or treat them differently. The decomposition field in a lookup tells you whether normalization could recover plain letters.

Sensitive input: Pasting into an online lookup sends that text to an external service. Do not paste passwords, personal data or confidential passages. Isolate only the single unknown character, or calculate the code point locally and search for the U+ value instead.

Plain-text fallback: When meaning matters, keep an ordinary-text version alongside any decorative one. Where the destination supports it, use real formatting, such as bold in a rich-text editor or CSS on a web page. Real formatting keeps the underlying characters plain.

Choosing by situation

Situation | What to check in the lookup | Suggested approach
Text looks bold or italic in a plain-text field | Names beginning MATHEMATICAL or similar | Use native formatting where available, or plain text where accessibility matters
Upside-down or mirrored text | TURNED or REVERSED names, mixed scripts | Use for decoration only and give the meaning in plain text
Text reorders strangely when edited | Bidirectional controls or right-to-left characters | Remove the controls unless they are needed for genuine right-to-left content
A filename or link displays in an unexpected order | U+202E and other override characters | Treat it as a warning sign, because overrides can disguise file extensions, and inspect it before opening
Search or validation fails on text that looks correct | Lookalike letters from other scripts or compatibility characters | Normalize the text or retype it in ordinary characters