Free online tools to generate, calculate,
convert, format, encode, and play.
 

Hex

Convert between text and hexadecimal representation. View hex dumps and decode hex strings back to readable text.


Mode

Text to Hex


About Hexadecimal Encoding

Hexadecimal (base-16) is a numeral system that uses 16 distinct symbols (0-9 and A-F) to represent values. Each hex digit represents four binary digits (bits), making it a convenient way to represent binary data.

Common Uses

  • Color Codes: #FF0000 for red
  • Memory Addresses: 0x7FFF
  • Binary Data: File inspection and debugging
  • Character Codes: ASCII/Unicode values

Format Examples

  • Plain: 48656c6c6f
  • Spaced: 48 65 6c 6c 6f
  • 0x Prefix: 0x48 0x65 0x6c
  • Escape: \x48\x65\x6c
Conversion: Each character is converted to its ASCII/Unicode value, then represented in base-16. For example, 'A' (ASCII 65) becomes '41' in hex.

<-- Related Utils -->

Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with