← All tools

UTF-8 Encoder and Decoder

Convert between text and UTF-8 bytes in hexadecimal, prefixed hex or decimal.

utf8-encoderLOCAL WORKSPACE

Enabling local controls…

Input

Up to 100,000 UTF-16 units.

Text and files stay in your browser.

UTF-8 bytes

Enter text or numbers to see the result.

How to use this tool

For decoding, select the byte format and use space-, comma-, or newline-separated byte values.

When not to use it

When chosen, replacement decoding shows invalid UTF-8 sequences as U+FFFD. Select strict decoding to find malformed input.