How to Identify the Dot and Similar Characters in Unicode

Find out which Unicode dot is in your text: the period (U+002E), middle dot, bullet, one dot leader and other look-alikes. Inspect code points and verify the result.

A dot on the screen can be one of many different Unicode characters. The ordinary period on a US keyboard is only one of them. Others look almost the same but behave differently in searches, regular expressions, file names, URLs and data imports. This guide shows how to find out exactly which dot you have, how to tell it apart from similar characters, and how to check your result without accidentally changing meaningful text.

What Unicode inspection does for your text

A Unicode inspection tool, or a short inspection script, takes a piece of text and reports what each character actually is. For each character it typically shows the code point, the official character name and often the general category and the bytes used to store it. A code point is the character's unique number, written as U+ followed by hexadecimal digits, such as U+002E. The general category is a classification such as Po (other punctuation) or Sm (math symbol).

Inspection is read-only. It does not change your text. It only tells you what is there. This matters because the usual next step is to replace or normalize characters, and that step does change content. Identify the characters first, then decide what to change.

The period itself: U+002E FULL STOP

The character most people mean by "dot" or "period" is U+002E, officially named FULL STOP. It is part of ASCII, so in UTF-8 it is stored as the single byte 2E. It is the dot used in sentence endings, decimal numbers in US formatting, file extensions, domain names and most programming syntax. If a system expects a period, it almost always expects this exact code point.

Common dot look-alikes

The table below lists characters that are often confused with the period or with each other. The code points, names and UTF-8 bytes come from the Unicode standard. How each character looks depends on your font, so appearance alone is not a reliable way to identify them.

Character | Code point | Unicode name | UTF-8 bytes | Typical use
. | U+002E | FULL STOP | 2E | Standard period, decimal point, file extensions
· | U+00B7 | MIDDLE DOT | C2 B7 | Raised dot in Catalan, separators, interpuncts
․ | U+2024 | ONE DOT LEADER | E2 80 A4 | Leader dots in typography; looks like a period
‥ | U+2025 | TWO DOT LEADER | E2 80 A5 | Two leader dots
… | U+2026 | HORIZONTAL ELLIPSIS | E2 80 A6 | Single-character ellipsis
• | U+2022 | BULLET | E2 80 A2 | List bullets
‧ | U+2027 | HYPHENATION POINT | E2 80 A7 | Marking syllable breaks in dictionaries
∙ | U+2219 | BULLET OPERATOR | E2 88 99 | Mathematical notation
⋅ | U+22C5 | DOT OPERATOR | E2 8B 85 | Multiplication dot in math
. | U+FF0E | FULLWIDTH FULL STOP | EF BC 8E | Full-width text in East Asian layouts
﹒ | U+FE52 | SMALL FULL STOP | EF B9 92 | Small form variant
。 | U+3002 | IDEOGRAPHIC FULL STOP | E3 80 82 | Sentence end in Chinese and Japanese text

Other scripts have their own sentence-ending marks, such as U+06D4 ARABIC FULL STOP and U+0589 ARMENIAN FULL STOP. There are also combining dots, such as U+0307 COMBINING DOT ABOVE and U+0323 COMBINING DOT BELOW. These attach to the preceding letter instead of standing alone, so a letter with a dot may actually be two code points.

Step 1: Isolate the suspicious character

Copy the smallest piece of text that contains the dot, ideally with one character on each side so you can see its context. Paste it into an inspection tool or a script, not into a word processor. Word processors may apply autocorrect or smart punctuation. For example, some replace three typed periods with a single ellipsis character.

Step 2: Read the code point and name

Any inspector that shows code points will do. If you prefer not to rely on a website, a few lines of code give the same information. The examples below are illustrative snippets. Run them yourself to see the actual output for your text.

Example in Python, using the standard unicodedata module:

import unicodedata

text = "a.b·c․d"
for ch in text:
    print(f"U+{ord(ch):04X}", unicodedata.category(ch), unicodedata.name(ch, "<no name>"))

Based on the Unicode names, the three dots in that sample string should be reported as FULL STOP, MIDDLE DOT and ONE DOT LEADER. The letters between them are listed as LATIN SMALL LETTER entries. Check what your own run prints rather than assuming.

Example in JavaScript, which lists code points in hexadecimal. The spread syntax splits the string by code point rather than by UTF-16 unit:

const text = "a.b·c․d";
console.log([...text].map(c => "U+" + c.codePointAt(0).toString(16).toUpperCase().padStart(4, "0")));

Step 3: Confirm with the raw bytes

Looking at the bytes is a font-independent check. On Linux or macOS, you can pipe the character into a hex dump. This is an example command. The single quotes keep the shell from interpreting the character, and printf avoids adding a trailing newline.

printf '%s' '·' | od -An -tx1

If the text is UTF-8, compare the bytes with the table above. A single byte 2E means a true ASCII period. Any multi-byte sequence means a different character, even if it looks identical.

Step 4: Find every occurrence in a larger text

Once you know which character you are dealing with, search by code point instead of pasting the visible glyph. Many regex engines accept escapes such as \u00B7 or \x{00B7}. The exact syntax depends on the engine, so check its documentation. To catch any non-ASCII punctuation at once, you can use a Unicode property class where supported. JavaScript supports this with the u flag, and Python's built-in re module does not.

// JavaScript example: find punctuation that is not the ASCII period
const others = text.match(/(?!\.)\p{P}/gu);

Note that U+22C5 DOT OPERATOR and U+2219 BULLET OPERATOR are math symbols (category Sm), not punctuation. A search for \p{P} will not catch them. If you need to find every dot-like character, list the specific code points you care about.

Step 5: Replace or normalize carefully

Unicode normalization is a standard way to convert text into a consistent form. NFKC (compatibility normalization) maps some dot look-alikes to the plain period. For example, ONE DOT LEADER, FULLWIDTH FULL STOP and SMALL FULL STOP all become U+002E. NFKC also turns HORIZONTAL ELLIPSIS into three periods and TWO DOT LEADER into two. It does not convert MIDDLE DOT, BULLET, DOT OPERATOR or IDEOGRAPHIC FULL STOP into a period, because those are treated as distinct characters.

NFKC also changes many unrelated characters. Examples include full-width letters, superscripts and ligatures. Applying it to a whole document can alter meaningful content. When you only want to fix dots, a targeted replacement of specific code points is safer. Keep a copy of the original text, then inspect a sample of the output to confirm that only the intended characters changed.

Writing dots in HTML

If you need a specific dot in a web page, a numeric reference such as · or · makes the code point explicit. Named references exist for several dots, including · (U+00B7), • (U+2022), … (U+2026), ⋅ (U+22C5) and . (U+002E). Numeric references are unambiguous and do not depend on remembering names.

Verify the result

  • Run the inspection again on the final text and confirm each dot reports the code point you intended.
  • Check that the byte count matches expectations. Each ASCII period is one byte in UTF-8, while the look-alikes take two or three.
  • Search for the characters you removed by their code points and confirm no matches remain.
  • Compare a sample of the original and the result to make sure no other characters were changed.

Limits of this guide

The source material for this article did not cover specific inspection tools, their versions or their features. This guide therefore does not recommend or compare particular products. The character data and normalization behavior described here follow the Unicode standard, but the code samples are illustrative and were not run for this article. Test them against your own text and environment before relying on the output.