TL
Tool Lab
💰Donate
💰Donate

Text to Hex

Convert plain text to hexadecimal byte values.

About This Tool

The Text to Hex Converter encodes any plain text string into its hexadecimal byte representation. Each character is mapped to its Unicode code point, then expressed as one or two hex digits.

Used in debugging, networking, cryptography, and low-level programming. Supports ASCII and Unicode characters, including emoji. All conversion happens in your browser.

How to Use

  1. Type or paste your text into the Input Text box.
  2. Choose uppercase or lowercase output using the checkbox.
  3. Select a separator: space, none, dash, or colon.
  4. Click Convert to generate the hex output.
  5. Click Copy to copy the result to your clipboard.

Use Cases

Network engineers inspect raw packet payloads. Web developers debug WebSocket frames. Security researchers analyze exploit payloads. Students learn how text maps to byte values.

FAQ

  • What is hexadecimal encoding for text?Each character has a numeric code point (e.g., 'A' = 65). Hex encoding expresses that number in base-16 format (65 decimal = 41 hex).
  • Does it support Unicode / emoji?Yes. Characters above U+00FF are encoded as 4-hex-digit values (e.g., '€' = 20AC).
  • What separator should I use?Space is the most human-readable. No separator is common in binary protocols. Colon is standard in MAC address and certificate notation.