1. Home
  2. Developer
  3. Unicode Converter

Unicode Converter

Turn characters into Unicode code points in several notations, and back.

For every format and option in one place, use Encoder and Decoder β†’

Runs in your browser Β· No upload
Result
U+0048 U+0065 U+006C U+006C U+006F U+0020 U+1F600 U+0020 U+00E9
Characters
9
Per-character details
Per-character details
CharCode pointDecimalUTF-8UTF-16Block
HU+0048724800 48Basic Latin
eU+00651016500 65Basic Latin
lU+006C1086C00 6CBasic Latin
lU+006C1086C00 6CBasic Latin
oU+006F1116F00 6FBasic Latin
␠U+0020322000 20Basic Latin
πŸ˜€U+1F600128512F0 9F 98 80D8 3D DE 00Emoticons
␠U+0020322000 20Basic Latin
Γ©U+00E9233C3 A900 E9Latin-1 Supplement

Conversion happens in your browser; nothing you type is uploaded.

How to use

  1. In Text β†’ codes, type or paste characters. Each one becomes a Unicode code point. A sample is already filled in, so a result shows immediately.
  2. Pick an output format that fits where you will paste it: \uD55C for JavaScript or JSON strings, 한 for HTML, U+D55C for documentation.
  3. Choose a separator and letter case, then copy. Turn on Keep plain ASCII as is to convert only non-ASCII characters, giving results like Hi \uD55C! that you can drop straight into source code.
  4. To go the other way, switch to Codes β†’ text and paste codes. U+D55C, \uD55C, \u{1F600}, 한, 한 and \D55C can be mixed and are all read in one pass.
  5. The table below lists each character’s code point, decimal value, UTF-8 bytes, UTF-16 bytes and Unicode block.

Output formats

The same two characters, ν•œ (U+D55C) and πŸ˜€ (U+1F600), in each notation:

Format ν•œ πŸ˜€ Used in
U+ notation U+D55C U+1F600 Unicode charts, documentation
\u \uD55C \uD83D\uDE00 JavaScript, JSON, Java
\u{} \u{D55C} \u{1F600} JavaScript ES6 and later
CSS \D55C \1F600 CSS content property
HTML hex 한 😀 HTML documents
HTML decimal 한 😀 HTML documents

Surrogate pairs, UTF-8 and UTF-16

  • Characters above U+FFFF (most emoji and some rare CJK) are split into two 16-bit values in the \uXXXX form. That is why πŸ˜€ becomes \uD83D\uDE00. The \u{1F600} form writes it in one piece and is easier to read.
  • The same ν•œ is three bytes in UTF-8 (ED 95 9C) and two in UTF-16 (D5 5C). πŸ˜€ is four bytes in both: F0 9F 98 80 in UTF-8 and D8 3D DE 00 in UTF-16.
  • JavaScript’s 'πŸ˜€'.length is 2 because it counts UTF-16 code units. The character count here is by code point.

Reading codes back

  • A lone surrogate (just \uD83D) and any value above U+10FFFF are not valid characters. They become οΏ½ and the tool tells you how many.
  • To leave paths like C:\Users\bob alone, the bare \ form is read only when it has four to six hex digits.
  • For a plain list of numbers, choose Hex list or Decimal list yourself. Separate values with spaces or commas, for example 54620 44544.

FAQ

How do I find the Unicode code point of a character?

Type the character and the table shows it, for example ν•œ is U+D55C and Γ© is U+00E9. Hangul syllables occupy U+AC00 to U+D7A3, which is 11,172 characters.

What does \uD83D\uDE00 mean?

It is the single character πŸ˜€ written as a UTF-16 surrogate pair. Paste it into Codes β†’ text and it reads back as πŸ˜€.

What is the difference between U+ and \u notation?

U+D55C is how documents name a code point, while \uD55C is an escape used inside string literals in programming languages. The numbers match, but characters above U+FFFF need two \u groups.

Why does one emoji give several codes?

Family emoji and skin-tone variants are several code points joined by ZWJ (U+200D) or modifiers and drawn as one picture. The table lists each piece separately.

Is my text uploaded?

No. Conversion happens in your browser and nothing is sent to a server.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.