Skip to main content

Unicode Code Point Lookup

Developer Tools

Character to U+ code point, UTF-8 bytes and HTML

Quick Answer

Unicode Code Point Lookup: Character to U+ code point, UTF-8 bytes and HTML. Code point U+XXXX uniquely identifies a character (中 = U+4E2D).

中
Characters (code points)3
UTF-8 bytes8
UTF-16 units4
Beyond BMP1
CharCode pointUTF-8UTF-16HTMLJS
中U+4E2D0xE4 0xB8 0xAD0x4E2D中\u4e2d
AU+00410x410x0041A\u0041
🚀U+1F6800xF0 0x9F 0x9A 0x800xD83D 0xDE80(surrogate pair)🚀\u{1f680}

Encoding primer

  1. 1A code point is an abstract number (U+4E2D); UTF-8/UTF-16 are byte layouts of that number.
  2. 2UTF-8: ASCII 1 byte, most CJK 3 bytes, emoji 4 bytes — backward compatible with ASCII.
  3. 3JS string.length counts UTF-16 units: "🚀".length === 2. Use [...str].length or Array.from for true character counts.
Security: zero-width characters (U+200B, U+FEFF) and homoglyphs (Cyrillic а vs Latin a) are used in phishing and watermarking — normalize and strip them when processing untrusted text. NFC/NFKC normalization matters before string comparison.

Was this tool helpful?

How to Use

  1. Paste or type content: drop code/text into the Unicode Code Point Lookup or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

Key Points

  • Unicode Code Point Lookup is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: Character to U+ code point, UTF-8 bytes and HTML.
  • Results come with formulas and reference tables so you can verify every number.

Formula & How It Works

Unicode & UTF-8

Code point U+XXXX uniquely identifies a character (中 = U+4E2D)
UTF-8: 1 byte (ASCII), 2 (U+0080+), 3 (U+0800+), 4 (U+10000+)
Emoji beyond U+FFFF use surrogate pairs — "😀".length is 2 in JS
HTML entities: 中 (decimal) or 中 (hex)

FAQ

How do I use the Unicode Code Point Lookup?
Open the page and fill in the input fields — results update automatically. Character to U+ code point, UTF-8 bytes and HTML.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

Related Tools

Related Guides

Source & Updates

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

Authoritative sources:

Last updated:

Formulas and content on this page are reviewed by the YiJianSuan team. For reference only — official sources prevail.

Maintained and periodically reviewed by the YiJianSuan editorial team — review process in ourEditorial Policy.

Cite this page: YiJianSuan. Unicode Code Point Lookup[EB/OL]. https://www.yijiansuan.com/en/c/dev/unicode

Results provided by this tool are for reference only and do not constitute professional advice.