Skip to content
uencoder

Code Point

A code point is the numeric value the Unicode standard assigns to each character (U+0000 to U+10FFFF), the character's position number in the codespace.

Purpose

It gives every character a unique numeric identifier so characters can be enumerated, looked up, and referenced independently of any encoding form.

Mechanism

Code points are written as U+ followed by 4-6 hexadecimal digits. The codespace is divided into 17 planes of 65,536 code points each; Plane 0 (the BMP) is the most used. Not every code point is assigned to a character (some are reserved or in the surrogate range).

Use cases

  • Unicode character lookup and documentation
  • Regular expression \uXXXX escapes
  • Character classification and property tests
  • NFC/NFD normalization

Examples

  • Input
    A
    Output
    U+0041

    The code point of uppercase A

Common errors

Confusing code points with UTF-8 bytes (U+4E2D is not 0x4E 0x2D)
A code point must pass through an encoding form to become bytes

Related terms

Related tools

References