Tools/Text to Hex

Text to Hex Converter

Convert text to hexadecimal and hex to text. Choose your separator format. Free, private, and runs entirely in your browser.

input.txt
0
Characters
0
Bytes
0
Hex Pairs

What Is Hexadecimal?

Hexadecimal (base-16) is a number system that uses sixteen symbols: 0–9 and A–F. Each hex digit represents four binary bits, making it a compact way to represent binary data. In computing, hex is widely used for memory addresses, colour codes (e.g. #FF5733), MAC addresses, and encoding raw byte data. Converting text to hex means translating each character into its numeric code point expressed in base-16.

When to Use a Text to Hex Converter

  • • Debugging network protocols and packet data
  • • Encoding text for use in URLs, HTML entities, or CSS colour values
  • • Analysing binary file contents in a human-readable format
  • • Working with low-level programming and memory inspection
  • • Converting between character encodings