Common Hex Values

Space (0x20): 20
Newline (0x0A): 0a
Tab (0x09): 09
Null (0x00): 00
'A' (0x41): 41
'a' (0x61): 61
'0' (0x30): 30
DEL (0x7F): 7f

About This Tool

This tool converts plain text to hexadecimal notation and vice versa. Each character is represented by its UTF-8 byte value in hex. Hexadecimal is base-16 (digits 0–9 and A–F) and is the standard representation used in cryptography, debugging, network protocols, and binary data inspection. The tool handles full UTF-8 input including emoji and international characters multi-byte characters produce multiple hex pairs.

How to Use

  1. Select Text → Hex or Hex → Text conversion direction.
  2. Type or paste your input into the text field.
  3. The converted output appears instantly below.
  4. Toggle the separator option to display hex pairs with spaces, colons, or no separator.

Frequently Asked Questions

Why do some characters produce more than 2 hex digits?

Characters outside the basic ASCII range (0–127) are encoded as multiple bytes in UTF-8. For example, the euro sign € becomes the 3-byte sequence E2 82 AC. Emoji and CJK characters can be 3–4 bytes.

What is hex used for in security?

Hex is the standard display format for cryptographic hashes (SHA-256 digests), encryption keys, certificate fingerprints, and raw bytes in network packet captures. When tools say a hash is "64 characters", they mean 64 hex digits = 32 bytes = 256 bits.

Is 0x prefix required?

No. The 0x prefix is a convention used in source code (C, Python, JavaScript) to indicate a hexadecimal literal. This tool works with plain hex strings like 48 65 6C 6C 6F without any prefix.