Hex Decode

Convert a hexadecimal string back to text.

Tool Panel

Loading tool...
About Hex Decode

Hex decoding turns a hexadecimal string back into text. The input length must be even Blank characters are stripped automatically

  • 1

    All whitespace is stripped before decoding, so spaced-out, line-broken or 0A 1B grouped input pastes in cleanly.

  • 2

    An odd length is an error rather than a silently assumed leading zero — a bad length usually means a digit was dropped or duplicated.

  • 3

    Bytes are decoded as UTF-8: a sequence that is not valid UTF-8 becomes replacement characters instead of throwing.

Related tools

View all
Base64 Encode / Decode
Encode & Crypto

Base64 Encode / Decode

Encode text to Base64, or decode it back.

Encode & Crypto
Base64URL Encode
Encode & Crypto

Base64URL Encode

Produce URL-safe Base64 without padding characters.

Encode & Crypto
Base32 Encode / Decode
Encode & Crypto

Base32 Encode / Decode

Encode or decode text using the Base32 alphabet.

Encode & Crypto
Base36 Encode / Decode
Encode & Crypto

Base36 Encode / Decode

Encode or decode numbers and text in Base36.

Encode & Crypto
Base58 Encode / Decode
Encode & Crypto

Base58 Encode / Decode

Encode or decode with Base58, the alphabet Bitcoin addresses use.

Encode & Crypto
Binary Encode
Encode & Crypto

Binary Encode

Turn text into its 0 and 1 representation.

Encode & Crypto