String to Hex & Hex to String
Convert text to hexadecimal notation or decode hex back to readable text. Supports UTF-8.
Common Hex Values
200a09004161307fAbout 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
- Select Text → Hex or Hex → Text conversion direction.
- Type or paste your input into the text field.
- The converted output appears instantly below.
- 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.