Free Text to Hex Converter – Encode Text as Hexadecimal
Convert text to hexadecimal encoding. Choose from multiple separator options (space, colon, dash, comma, none). 100% free, browser-based.
What Is Text to Hex Conversion?
Text to hex conversion transforms each character into its hexadecimal ASCII/Unicode code. This is useful for:
- Debugging character encoding issues
- Representing binary data as text
- Network packet analysis
- Data obfuscation
How to Use This Tool
Step 1: Enter Text
Type or paste any text
Step 2: Choose Separator
Select how hex values are separated
Step 3: Copy Result
Copy the hexadecimal output
Conversion Examples
Input: Hello
| Separator | Output |
|---|---|
| Space | 48 65 6C 6C 6F |
| None | 48656C6C6F |
| Colon | 48:65:6C:6C:6F |
| Dash | 48-65-6C-6C-6F |
| Comma | 48, 65, 6C, 6C, 6F |
ASCII to Hex Reference
| Character | Decimal | Hex |
|---|---|---|
| A | 65 | 41 |
| Z | 90 | 5A |
| a | 97 | 61 |
| z | 122 | 7A |
| 0 | 48 | 30 |
| 9 | 57 | 39 |
| Space | 32 | 20 |
| ! | 33 | 21 |
| @ | 64 | 40 |
Common Use Cases
Debugging
Inspect exact character values in strings.
Network Analysis
View packet data in hex representation.
Encoding Data
Safely represent binary data in text format.
Programming
Create byte arrays from strings.
Separator Options
| Style | Format | Best For |
|---|---|---|
| Space | 48 65 6C | Readability |
| None | 48656C | Compact storage |
| Colon | 48:65:6C | MAC addresses style |
| Dash | 48-65-6C | Alternative separator |
| Comma | 48, 65, 6C | Array format |
Technical Details
Character Encoding
- Each character is converted to its Unicode code point
- Values are represented as 2-digit hex (padding with 0 if needed)
- Supports extended Unicode characters
Browser-Based Processing
All conversion happens locally in your browser.
Frequently Asked Questions
What about special characters?
All Unicode characters are supported.
What about emojis?
Emojis are converted to their Unicode hex values.
Is my data secure?
Yes. Nothing is sent to any server.
Related Tools
- Hex to Text — Reverse conversion
- Text to Binary — Binary encoding
- Base64 Encoder — Base64 encoding
- URL Encoder — URL encoding
Enter text above to convert to hexadecimal.