T
DataToolings

Text to Hex Converter

Convert text to hexadecimal and hex back to text. Supports UTF-8 with configurable byte separator. Free, live, two-way hex converter.

What Is Text to Hex Conversion?

Hexadecimal (base-16) encoding represents each byte of a string as two hex digits (0–9, A–F). Text is first encoded as UTF-8 bytes, then each byte is written as its two-digit hex equivalent. This format is widely used in networking, cryptography, debugging, and low-level programming.

How to Use

  • Text → Hex: Type or paste text, choose a byte separator, and see the hex output instantly
  • Hex → Text: Switch to the Decode tab and paste hex bytes (separated by spaces, commas, dashes, or none)
  • Click Copy to copy the result

Features

  • UTF-8 encoding for full Unicode support (emoji, CJK characters, etc.)
  • Configurable separator: space, comma, dash, colon, or none
  • Tolerant hex decoder — accepts mixed separators automatically
  • Live conversion — output updates as you type

FAQ

Why do some characters produce multiple hex bytes?

Characters outside ASCII (e.g. emoji, accented letters, CJK) require more than one byte in UTF-8 encoding. For example, encodes to 3 bytes: E2 82 AC.

Are uppercase and lowercase hex equivalent?

Yes. 4A and 4a both represent the decimal value 74. This tool outputs uppercase hex for readability.

What separators does the decoder accept?

The decoder automatically strips spaces, commas, dashes, and colons before parsing, so it handles most common hex dump formats.

Can I decode hex that does not represent text?

This tool decodes hex as UTF-8 text. Arbitrary binary data that is not valid UTF-8 will produce an error. For binary inspection, use the Hex Editor tool.