How to Identify the Integral Sign in Unicode
Find the code point of an integral sign (∫ U+222B), tell it apart from lookalikes such as ʃ, and keep it intact through normalization and encoding.
An integral sign copied from a PDF, web page or equation editor may look like ∫ but be a different character underneath. A Unicode inspector shows which character is actually in your text. It reports the code point, the official character name and often the byte encoding. This guide explains what that inspection tells you, how to run it yourself and how to keep the result from being altered.
What a Unicode inspector does for your text
A Unicode inspector takes a string as input and breaks it into individual characters. For each one it reports the code point, a unique number written as U+ followed by hexadecimal digits. It also reports the character name assigned by the Unicode Standard. Many inspectors add the block, the general category and the encoded bytes in UTF-8 or UTF-16.
Inspection only reads the text. It does not change it. That makes it the safe first step before you search, replace, normalize or convert anything. For an integral sign, it answers three practical questions. Is this the real mathematical integral? Is it a single integral or a combined form, such as a double integral? Is it a lookalike letter from another script?
The standard integral sign and its relatives
The basic integral sign is U+222B INTEGRAL, in the Mathematical Operators block. Several related integrals have their own code points, so text that looks like two integral signs side by side may be one precomposed character.
| Character | Code point | Unicode name |
| ∫ | U+222B | INTEGRAL |
| ∬ | U+222C | DOUBLE INTEGRAL |
| ∭ | U+222D | TRIPLE INTEGRAL |
| ∮ | U+222E | CONTOUR INTEGRAL |
| ∯ | U+222F | SURFACE INTEGRAL |
| ∰ | U+2230 | VOLUME INTEGRAL |
| ∱ | U+2231 | CLOCKWISE INTEGRAL |
| ∲ | U+2232 | CLOCKWISE CONTOUR INTEGRAL |
| ∳ | U+2233 | ANTICLOCKWISE CONTOUR INTEGRAL |
| ⨌ | U+2A0C | QUADRUPLE INTEGRAL OPERATOR |
| ⌠ | U+2320 | TOP HALF INTEGRAL |
| ⌡ | U+2321 | BOTTOM HALF INTEGRAL |
| ⎮ | U+23AE | INTEGRAL EXTENSION |
The top half, bottom half and extension pieces build tall integral signs out of stacked parts. They appear in some older or plain-text math layouts. They are not interchangeable with U+222B in searches or comparisons.
Common lookalikes to rule out
Some characters resemble an integral sign in certain fonts but have a different meaning. The most frequent is U+0283 LATIN SMALL LETTER ESH (ʃ), a phonetic letter used in the International Phonetic Alphabet. Another is U+017F LATIN SMALL LETTER LONG S (ſ), which can look similar in some typefaces. Visual similarity depends on the font, so trust the code point, not the glyph.
Step-by-step: identify the integral sign
- Copy the exact character or the surrounding text from its source, without retyping it.
- Paste it into a Unicode inspector or run a short script like the examples below.
- Read the code point and name for each character. U+222B INTEGRAL confirms the standard integral sign.
- Check for neighboring invisible characters, such as U+200B ZERO WIDTH SPACE or U+00A0 NO-BREAK SPACE, that may have been copied with it.
- If you see a different code point, compare it with the tables above to decide whether it is a related integral form or a lookalike.
Example script in Python, using the standard unicodedata module. It is shown for illustration and has not been run as part of this guide:
import unicodedata
text = "∫ f(x) dx"
for ch in text:
print(f"U+{ord(ch):04X} {unicodedata.name(ch, '<no name>')}")
If the first character is the genuine integral sign, the first line should report U+222B and the name INTEGRAL. The spaces should appear as U+0020 SPACE. Any other space code point means a special space was copied along with the text.
Example in JavaScript, shown for illustration only:
const ch = "∫";
console.log("U+" + ch.codePointAt(0).toString(16).toUpperCase().padStart(4, "0"));
Ways to write U+222B
Once you know the code point, you can enter or reference the character reliably. The values below follow directly from the code point 0x222B, which is 8747 in decimal.
| Context | Representation |
| Unicode notation | U+222B |
| UTF-8 bytes | E2 88 AB |
| UTF-16 code unit | 222B |
| HTML decimal reference | ∫ |
| HTML hexadecimal reference | ∫ |
| HTML named entity | ∫ |
| CSS escape | \222B |
| Python or JavaScript escape | \u222B |
| LaTeX math mode | \int |
Keyboard entry depends on the operating system and application. Microsoft Word accepts 222B followed by Alt+X. Many Linux desktops using GTK or IBus accept Ctrl+Shift+U, then 222B, then Enter or Space. On macOS, the Unicode Hex Input source allows Option plus the hex code. Behavior varies by setup, so confirm the result with an inspector.
Keeping integral signs intact during transformations
Unicode normalization can change integral characters, so choose the form deliberately. NFC and NFD leave U+222B and its relatives unchanged. NFKC and NFKD apply compatibility decompositions, which split the multiple integrals into separate signs:
- ∬ (U+222C) becomes ∫∫ (two U+222B)
- ∭ (U+222D) becomes ∫∫∫ (three U+222B)
- ⨌ (U+2A0C) becomes ∫∫∫∫ (four U+222B)
- ∯ (U+222F) becomes ∮∮ (two U+222E)
- ∰ (U+2230) becomes ∮∮∮ (three U+222E)
Some search engines, identifier systems and text cleaners apply NFKC by default. If you need to tell a double integral apart from two single integrals, check which normalization your tool uses. Inspect the text again after processing.
Encoding mistakes are another risk. If ∫ turns into a sequence such as ∫, UTF-8 bytes were decoded as a legacy single-byte encoding like Windows-1252. The fix is to read the data as UTF-8, not to replace the garbled characters by hand.
Verifying the result
After copying, converting or normalizing, run the inspection again on the final text. The integral should still report U+222B, or the specific related code point you intended, with no unexpected neighbors. For files, a hex viewer showing E2 88 AB at the right position confirms a UTF-8 encoded U+222B.
Note on sources: no tool-specific documentation or measurements were supplied for this guide. The code points, names, encodings and normalization behavior described here come from the Unicode Standard. Details of particular inspectors, editors and input methods may differ, so check them in the software you use.