Hex Encode & Decode

How Hex Encoding Works

Each byte of the input is converted to its two-digit hexadecimal representation.

  1. 1

    Convert text to bytes

    The input string is converted to bytes using UTF-8 encoding.

  2. 2

    Convert each byte to hex

    Each byte value (0-255) is represented as two hexadecimal digits.

FAQ

What is hexadecimal encoding?
Hexadecimal encoding represents each byte of data as two hexadecimal digits (0-9, a-f). It is commonly used in debugging, cryptography, and low-level programming.

Related Tools