Text to Hexadecimal
Convert between text and its hexadecimal byte representation.
What this tool does
Hexadecimal uses base 16 and is everywhere in computing — from colour codes to memory addresses. This tool converts text to hex and back, letting you read and write those compact representations.
How to use this tool
- 1
Choose the direction
Text to hex writes each byte as two hexadecimal digits.
- 2
Paste the input
Hex input can be continuous or spaced; keep any 0x prefixes out unless the tool asks for them.
- 3
Copy the result
Each character produces two or more hex digits, so the output is much longer than the input.
When to use it
- You are working with colour codes, byte values or low-level data.
- You want to see the hexadecimal form of a string.
- You have a hex string and need to read the text it represents.
- You are debugging data where values are shown in hex.
How to understand this tool
Hexadecimal is a compact way to write bytes: 00 to FF covers 0 to 255, which is exactly one byte. It is a readable view of raw data, not a transformation with a key, so it hides nothing. This is the same representation used in colour codes and memory dumps.
What it will not do
- It cannot decode hex that was produced from a different character encoding.
- Uppercase and lowercase hex are accepted, but odd numbers of digits are not.
Questions people ask
What is hexadecimal?
A base-16 number system using 0-9 and A-F. Each byte is written as two hex digits.
Where will I see hex?
Colour codes like #FF8800, MAC addresses and memory dumps are all common examples.
One thing worth knowing
Encoding is not encryption. It changes representation, not confidentiality — never use it to hide sensitive data.