HEX Encoder/Decoder

Tool for encoding and decoding text using hexadecimal format

Input Text
HEX Output

About HEX Encoding

Hexadecimal (HEX) is a base-16 numeral system used to represent binary data in a human-readable format. Each hexadecimal digit represents 4 bits (half a byte), so a byte can be represented by two hexadecimal digits.

When to use HEX encoding: HEX encoding is commonly used in programming and computer science for various purposes, including:

  • Binary data representation: For viewing and editing binary files in a readable format
  • Color codes: In web development for defining colors (e.g., #FF5733)
  • Memory addresses: For displaying memory addresses in debugging
  • Binary protocols: For analyzing and documenting network and binary protocols
  • Cryptography: For representing cryptographic values like hashes and keys

Supported HEX formats for decoding:

  • Plain - Simple uppercase or lowercase hex characters (DEADBEEF or deadbeef)
  • With Dashes - Pairs separated by dashes (DE-AD-BE-EF)
  • With 0x Prefix - Each byte has 0x prefix (0xDE 0xAD 0xBE 0xEF)
  • With Colons - Pairs separated by colons (DE:AD:BE:EF)
  • With Spaces - Pairs separated by spaces (DE AD BE EF)