Base16 decoder

Decode Base16 (hexadecimal) text or files into raw bytes for inspection and testing.

Hex input

Enter hexadecimal text…

Decoded output

Preview decoded text, copy it, or download the complete original bytes.

Hello, World!

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
  • Encoding binary data in a format that is easy to copy and paste

Notes:

  • Hex doubles the size of the original data: each byte becomes two characters.
  • This tool accepts optional 0x prefixes and ignores whitespace

How to use

Paste Base16 (Hex) text or import a text file. The decoder updates automatically, accepts an optional 0x prefix, and ignores whitespace. Copy the decoded UTF-8 text or download the complete original bytes. The HTTP API for this tool is documented below.