Complete User Guide to Unicode Code Points, UTF-8 Bytes, UTF-16 Surrogate Pairs & HTML Entities

How Unicode Code Points Differ From UTF-8 Bytes and UTF-16 Units

In Unicode, every abstract character or symbol is assigned a unique number called a code point, written in standard notation as U+XXXX (for example, U+0041 for A, U+0928 for न, or U+1F680 for 🚀). However, computers store and transmit code points using byte-oriented encodings such as UTF-8 (which uses 1 to 4 bytes per code point) or UTF-16 (which uses one 16-bit code unit for Basic Multilingual Plane characters U+0000–U+FFFF and a surrogate pair of two 16-bit code units for supplementary code points above U+FFFF). That is why a string's .length in UTF-16 JavaScript code units can differ from the number of visible code points or UTF-8 bytes. A browser-based Unicode Character Inspector breaks down every code point 100% locally in your browser—with zero server uploads.

How to Inspect Characters & Code Points in 3 Easy Steps

  1. Paste or Type Characters: Enter text, accented letters, currency signs, Devanagari scripts, or emojis into Text / Characters to Inspect, or click a quick sample chip.
  2. Read the Code Point Table: View each code point's visual glyph, U+XXXX hex code point, decimal value, UTF-8 byte sequence, and numeric HTML entity.
  3. Copy or Export: Click Copy Code Points to copy the inspection report to your clipboard, or click Download .txt to save it locally.

UTF-8 Byte Length Tiers by Code Point Range

UTF-8 encodes Unicode scalar values across four byte-length ranges so ASCII remains backward-compatible:

U+0000–U+007F: 1 UTF-8 byte (0xxxxxxx)  |  U+0080–U+07FF: 2 UTF-8 bytes
U+0800–U+FFFF: 3 UTF-8 bytes  |  U+10000–U+10FFFF: 4 UTF-8 bytes (UTF-16 surrogate pair)

Helpful Tips When Debugging Text & Encodings

Worked Example: Inspecting नमस्ते breaks the word into its constituent Devanagari code points—including base consonants and combining signs—alongside their U+09xx code points and 3-byte UTF-8 hex sequences.

Unicode Ranges, Encodings & Reference Table (16 Rows)

Use this reference table to check Unicode planes, UTF-8 byte lengths, and inspection features.

Concept / Range Code Point / Byte Rule Role Notes
Basic Latin (ASCII) U+0000 – U+007F 1 UTF-8 byte 1 UTF-16 code unit
Latin Extended / Greek / Cyrillic U+0080 – U+07FF 2 UTF-8 bytes 1 UTF-16 code unit
Devanagari Block U+0900 – U+097F 3 UTF-8 bytes Hindi, Marathi, Sanskrit, Nepali
Basic Multilingual Plane (BMP) U+0000 – U+FFFF 1–3 UTF-8 bytes Single 16-bit code unit in UTF-16
Supplementary Plane (Astral) U+10000 – U+10FFFF 4 UTF-8 bytes Uses surrogate pair in UTF-16
Code Point Notation U+XXXX (uppercase hex) Standard Unicode identifier Padded to at least 4 hex digits
Decimal Value Base-10 integer of code point Numeric code point value Used in &#Decimal; HTML entities
UTF-8 Byte Sequence TextEncoder UTF-8 bytes Wire / storage byte representation Formatted as uppercase hex bytes
HTML Numeric Entity &#[Decimal]; Escaped HTML/XML reference Works across HTML5 documents
Quick Sample Chips One-click test strings Tests scripts, currency & emoji Instant local inspection
Copy Code Points Clipboard export Copies full breakdown report One-click clipboard copy
Download .txt File export Saves as unicode-code-points.txt Local plain-text report
Client-Side Engine Browser JavaScript Code Point & UTF-8 Inspector — Zero Server Latency
Server Uploads None — All text inspection runs locally in your browser
Privacy Status 100% Local Processing — Your text never leaves your device
No Sign-Up Required Instant browser access with zero registration

Viewing the ASCII table, converting Kruti Dev to Unicode, typing in InScript, or counting words? Explore our companion client-side tools:

Frequently Asked Questions

UTF-8 uses 1 byte only for 7-bit ASCII (U+0000–U+007F); characters in higher Unicode blocks use 2, 3, or 4 bytes in UTF-8 to represent their full code point value.
It iterates over the string using Unicode code point iteration (for..of and codePointAt) so surrogate pairs above U+FFFF are reported as single Unicode code points rather than split in half.
Never. All inspection runs 100% client-side inside your browser.
Yes! It is completely free with no sign-up required.