DevGizmo

Hex Converter

Convert a hexadecimal (base 16) number to binary, decimal, octal, and ASCII.

About the Hex Converter

Hexadecimal (hex) is the base-16 number system, using digits 0–9 and letters A–F to represent values 0 through 15. It is the most widely used shorthand for binary data in software development because each hex digit maps exactly to four binary bits (a nibble), making it far more compact than raw binary while remaining easy to convert mentally.

Enter any hexadecimal number (digits 0–9 and A–F, case-insensitive) and the tool immediately converts it to binary, decimal, octal, and ASCII.

Where Hex is Used

  • Colour codes — #FF5733 in CSS and graphic design represents RGB values as three two-digit hex pairs.
  • Memory addresses — debuggers and disassemblers display addresses and register values in hexadecimal.
  • Network protocols — MAC addresses, IPv6 segments, and packet payloads are expressed in hex.
  • File signatures (magic bytes) — binary file formats are identified by their hex header, e.g. FFD8FF for JPEG.
  • Unicode code points — character codes are typically written in hex, e.g. U+1F30D.