Base16 Encoder

Encode text or files to Base16 (Hex) for data transport, debugging, and web development.

Input
Paste or type any UTF-8 text, including emoji and non-Latin characters.
Hex Encoded
Encode text or files to Base16 (Hex) for data transport, debugging, and web development.

What is Base16 (Hex)?

Base16, also called hexadecimal (hex), is a binary-to-text encoding that represents each byte as two characters using digits 0-9 and letters A-F. It is widely used for inspecting bytes, checksums, and identifiers.

Common uses:

  • Debugging and logging raw bytes
  • Representing hashes, keys, and IDs
  • Copy/paste-friendly encoding for binary data

Notes:

  • Hex doubles the size of the original data (1 byte -> 2 chars)
  • This tool accepts optional 0x prefixes and ignores whitespace