Text & Hex Converter

Convert UTF-8 text to hexadecimal bytes or decode hex to text.

Text ↔ Hex workspace

About Text ↔ Hex

Hexadecimal is a compact way to display bytes. This converter encodes text as UTF-8 and accepts common 0x prefixes and byte separators when decoding.

How to use

  1. Choose text to hex or hex to text.
  2. Enter the source value.
  3. Copy the converted representation.

FAQ

Why can the same character use several hex bytes?

UTF-8 uses one to four bytes per Unicode code point, so non-ASCII characters commonly require multiple bytes.