Interpunct Code: How to Identify the Middle Dot by Its Character Code

The interpunct (·) is Unicode U+00B7 MIDDLE DOT, decimal 183. Learn how to check a character's code, tell it apart from lookalike dots, and verify the result.

An interpunct is the small dot that sits at mid-height between characters, as in "a·b". It looks simple, but several different Unicode characters produce almost identical dots. If you need to confirm which one is actually in your text, the reliable method is to read its code point rather than trust its appearance. This guide gives the standard codes for the interpunct, shows how to inspect a character, and explains how to separate it from lookalikes without accidentally changing your text.

The Standard Interpunct Code

In Unicode, the interpunct is the character named MIDDLE DOT. Its code point is U+00B7. A code point is the number Unicode assigns to a character; the "U+" prefix means the number is written in hexadecimal. The same character can be written in different notations depending on where you use it.

Notation | Value for MIDDLE DOT
Unicode code point | U+00B7
Decimal | 183
Hexadecimal | B7
UTF-8 bytes | C2 B7
UTF-16 code unit | 00B7
Latin-1 / Windows-1252 byte | B7
HTML named entity | ·
HTML numeric entities | · or ·
CSS escape | \B7 (or \0000B7)
JavaScript, Java, Python, C# string escape | \u00B7

What a Code Point Inspector Does for Your Text

A code point inspector takes a piece of text as input and reports, character by character, the Unicode code point and usually the official character name. It does not alter the text; its output is a description of what the text contains. For the interpunct question, that is exactly the scope you need: it tells you whether the dot you see is U+00B7 MIDDLE DOT or a different character that merely looks similar.

This matters because visually identical dots behave differently in search, sorting, validation rules, find-and-replace operations and font rendering. A search for U+00B7 will not match U+2219 or U+30FB, even when they look the same on screen.

Step-by-Step: Identify an Interpunct by Its Code

  • 1. Copy only the dot you want to check, or a short string around it, so the result is easy to read.
  • 2. Paste it into a Unicode inspection tool, or run one of the code snippets below.
  • 3. Read the reported code point and name for the dot.
  • 4. If the result is U+00B7 MIDDLE DOT, you have the standard interpunct.
  • 5. If the result is a different code point, compare it with the lookalike table below to see what character you actually have.
  • 6. Verify by checking the bytes: in UTF-8 text, a true interpunct is stored as the two bytes C2 B7.

Checking the Code With a Short Script

If you prefer not to use a dedicated inspector, a few lines of code will do the same job. The snippets below are illustrative examples; the expected results are based on the documented Unicode data for these characters, not on a recorded test run.

Example in Python, listing each character's code point and name:

import unicodedata

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

Expected result if the dot is a true interpunct:

U+0061 LATIN SMALL LETTER A
U+00B7 MIDDLE DOT
U+0062 LATIN SMALL LETTER B

Example in JavaScript, which reports code points in the U+ format:

[..."a·b"].map(c =>
  "U+" + c.codePointAt(0).toString(16).toUpperCase().padStart(4, "0")
);
// expected: ["U+0061", "U+00B7", "U+0062"]

Example in a Unix-like shell, showing the raw UTF-8 bytes (this assumes your terminal uses UTF-8):

printf '·' | od -An -tx1
# expected bytes for MIDDLE DOT: c2 b7

Characters That Look Like an Interpunct

If your inspection returns something other than U+00B7, it is likely one of these characters. Each has its own intended use, so the right choice depends on context.

Code point | Name | Typical use
U+00B7 | MIDDLE DOT | General interpunct, Catalan punt volat, separators
U+0387 | GREEK ANO TELEIA | Greek punctuation (raised dot)
U+2027 | HYPHENATION POINT | Marking syllable breaks in dictionaries
U+2219 | BULLET OPERATOR | Mathematical operator
U+22C5 | DOT OPERATOR | Mathematical multiplication dot
U+2022 | BULLET | List bullets (usually larger)
U+30FB | KATAKANA MIDDLE DOT | Japanese text, full-width
U+FF65 | HALFWIDTH KATAKANA MIDDLE DOT | Half-width Japanese text
U+16EB | RUNIC SINGLE PUNCTUATION | Runic inscriptions

Catalan also has precomposed letters that include the dot: U+0140 LATIN SMALL LETTER L WITH MIDDLE DOT (ŀ) and U+013F LATIN CAPITAL LETTER L WITH MIDDLE DOT (Ŀ). These are compatibility characters; the commonly recommended spelling for Catalan "l·l" uses a regular l followed by U+00B7.

Avoiding Unintended Changes

Inspecting text is safe because it only reads characters. Converting or normalizing text is different, and a few interpunct-related behaviors are worth knowing before you run any transformation:

  • Unicode normalization (NFC or NFD) replaces U+0387 GREEK ANO TELEIA with U+00B7 MIDDLE DOT, because Unicode defines them as canonically equivalent. If you need to preserve the original Greek character for a specific reason, normalization will remove that distinction.
  • Compatibility normalization (NFKC or NFKD) converts U+FF65 HALFWIDTH KATAKANA MIDDLE DOT to U+30FB KATAKANA MIDDLE DOT, and decomposes ŀ and Ŀ into a letter plus U+00B7.
  • The mathematical dots (U+2219, U+22C5), BULLET (U+2022) and HYPHENATION POINT (U+2027) are not changed into U+00B7 by normalization. Replacing them requires an explicit find-and-replace, which you should apply only where the dot really is meant as an interpunct.
  • Saving text in a legacy encoding such as Windows-1252 keeps U+00B7 as byte B7, but characters like U+2219 or U+30FB cannot be represented and may be lost or replaced with a question mark.

Typing the Interpunct Directly

Once you know the correct code, you can enter it without copying from elsewhere. Common methods for U+00B7 include Alt+0183 on the Windows numeric keypad, Option+Shift+9 on a macOS US keyboard layout, and Ctrl+Shift+U followed by b7 and Enter in many Linux desktop environments that support this input method. Keyboard layouts vary, so after typing, inspect the result to confirm it is U+00B7.

Limits of This Guide

The codes and character properties above come from the Unicode Standard and general encoding behavior. This guide does not evaluate or compare specific inspection tools, and it does not include tested output from any particular application; how a given tool labels or displays results may differ from the examples shown here.