UTF-16 Code Units Encoder

Inspect the 16-bit code units (hexadecimal) of text strings including surrogate pairs.

How It Works & Processing Standards

Inspect the 16-bit code units (hexadecimal) of text strings including surrogate pairs.

Your input data is never sent to any server and is securely processed on your device.

Current Limits

  • Maximum input length: 100,000 characters

UTF-16 Code Units Encoder is a 100% free, browser-based online utility. All calculations and file conversions run locally inside your browser (Local-First) without sending data to remote servers, keeping your documents and inputs strictly private.

How to Use UTF-16 Code Units Encoder

  1. 1
    Enter TextType or paste the input string.
  2. 2
    Inspect Code UnitsView the space-separated 16-bit hexadecimal code units.

Common Use Cases

  • Debugging JavaScript and Java string length anomalies, analyzing surrogate pairs, and Windows API interoperability
Have feedback or ideas for this tool? Suggest & Inquire →