Skip to content
OddsockLocal
Local
Source text

Formatting

5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the characters, or a list of U+ tokens to decode.
  2. Leave Direction on encode to see one token per character.
  3. Read four or more hex digits after U+. Emoji use more than four.
  4. Decode by pasting the tokens separated by spaces or commas.

What is Unicode code points?

A code point names a character, not the bytes used to store it. Odd socks in the dryer. encodes as U+004F U+0064 U+0064 U+0020 U+0073 U+006F U+0063 U+006B U+0073 U+0020 U+0069 U+006E U+0020 U+0074 U+0068 U+0065 U+0020 U+0064 U+0072 U+0079 U+0065 U+0072 U+002E. The space is U+0020 and the period is U+002E.

Read more

Emoji stay one token. 🍦 is U+1F366, a single code point above the 16-bit range. The escape page writes that same character as the surrogate pair \uD83C\uDF66, because JavaScript’s \u escapes are 16-bit units. If a library round-trips the ice cream into two units and back wrong, this page is how you see the original point.

Decode accepts U+ followed by one to six hex digits, separated by spaces or commas. A token that is not in that shape is named in the error. Direction starts on encode.

Use cases

  • A bug report needs U+00A0 named out loud so everyone can see the non-breaking space that looked like a normal gap.
  • An internationalization tester checks that an emoji survived as one code point, U+1F366, rather than two surrogates.
  • A font author looks up the points in a short string before drawing the glyphs.
  • Someone pasting a line of U+ tokens wants the characters back without a programming console.

Every character of the sentence, including the space and the period

Direction encode. Text: Odd socks in the dryer.

U+004F U+0064 U+0064 U+0020 U+0073 U+006F U+0063 U+006B U+0073 U+0020 U+0069 U+006E U+0020 U+0074 U+0068 U+0065 U+0020 U+0064 U+0072 U+0079 U+0065 U+0072 U+002E

Why use Oddsock

U+ notation is what specs and bug trackers use. Byte pages will split the same emoji into several UTF-8 values.

Related tools

Using this tool

U+1F366 is one code point. The \u escape converter emits UTF-16 code units, so the same character becomes \uD83C\uDF66.