UTF-8 byte inspector

Enter or paste a short string to see its Unicode code points and UTF-8 byte sequence. Compare visible text, programming-language string lengths, and the bytes stored in a UTF-8 file.

Inspect text

Text unitCode pointUTF-8 bytes (hex)Byte count

How to read the result

This tool encodes the text value supplied by the browser as UTF-8. It does not inspect original file bytes, identify a file’s source encoding, or determine Unicode character names. For those tasks, use the converter with a known source encoding and preserve the original file.

See the UTF-8 specification and the Unicode FAQ on encoding forms for the complete rules.