ToolPony.comDocumentation

Unicode converter

Convert text to Unicode code points, UTF-8 hexadecimal bytes or UTF-16 escapes, and decode them back to text.

Get started

  1. Use the example values or enter your own measurements.
  2. Calculate, then copy the result or download the available details.

Example

Input

🐴

Expected result

U+1F434 or F0 9F 90 B4

Try it

Good to know

The calculation runs in your browser. Use consistent units in fields with no explicit unit.

Calculation method

Code-point mode treats a supplementary character as one scalar. UTF-16 uses two code units for such a character. Invalid surrogate sequences and invalid UTF-8 bytes are rejected.

Calculation mode

Encode text
  • Input
  • Encoding · Unicode code points / UTF-8 hexadecimal bytes / JavaScript UTF-16 escapes
Decode text
  • Input
  • Encoding · Unicode code points / UTF-8 hexadecimal bytes / JavaScript UTF-16 escapes