Character Encoding Info Online - Unicode, UTF-8 and UTF-16

Inspect the first entered character as a Unicode code point plus UTF-8 and UTF-16 numeric units.

About this tool

The tool selects the first Unicode character, encodes it with TextEncoder and returns its U+ notation, UTF-8 decimal and hex bytes, and UTF-16 decimal units.

How to use

  1. Enter or select the source data.
  2. Run the tool locally with the required options.
  3. Review and copy or download the result.

Features

  • Unicode code point and U+ notation.
  • UTF-8 decimal and hexadecimal bytes.
  • UTF-16 code units.

Common use cases

  • Debug text encoding.
  • Inspect emoji byte values.
  • Compare UTF-8 and UTF-16 representation.

Common issues and tips

  • Only the first entered Unicode character is inspected.
  • This reports character encoding data, not physical keyboard event keyCode values.

Privacy

Processing runs locally in your browser. Input and generated output are not uploaded to Tools12345.

Frequently asked questions

Does it show keyboard event codes?

No.

Can it inspect emoji?

Yes.

Why can UTF-16 show two values?

Supplementary characters use a surrogate pair.

Related tools