PRIVATE ENCODING TOOLBOX
Text to Hex Converter
Convert UTF-8 text and hexadecimal bytes.
Encoding changes representation, not meaning or security. Results are generated locally and are not encryption.
0x
Text / Hex
Convert UTF-8 text and hexadecimal bytes.
Enable JavaScript to use this interactive local tool. The guide below remains available without JavaScript.
Customize
QUICK GUIDE
How to convert UTF-8 text and hexadecimal
Hexadecimal displays each UTF-8 byte as two hex digits. It is useful for inspecting data and debugging encodings, but a character may occupy more than one byte.
Local processing
Nothing you enter or upload is sent to a server, saved, or shared.
Nothing you enter or upload is sent to a server, saved, or shared.
Use it in three steps
- Choose Text to hex or Hex to text.
- Enter text or an even number of hex digits.
- Copy or download the result.
Practical example
ExampleHi → 48 69
Format limitsThe decoder expects UTF-8 bytes. Binary data that is not valid text may display replacement characters.
Common errorsRemove non-hex characters and make sure the number of digits is even.
Frequently asked questions
Why does one Chinese character use several bytes?
UTF-8 uses multiple bytes for many non-ASCII characters.
Are spaces allowed?
Yes. Whitespace is ignored while decoding.
Is 0x required?
No. Paste byte digits directly.