Text-to-Hexadecimal Converter
This text-to-hexadecimal converter lets you convert strings to hexadecimal, helping you understand how computers store text.
You can think of this tool as an extension of our more basic ASCII converter, allowing you to convert not only basic ASCII characters or letters of the alphabet to hex values, but also more complex Unicode characters.
We have even more tools in our arsenal, such as our hex-to-text conversion tool, which allows you to convert in the opposite direction.
How to use this text-to-hexadecimal converter — Convert string to hex
- Type or paste text in the “Enter the text...” box. You can not only convert the alphabet to hexadecimal, but also any character you want.
- Pick a character encoding:
- UTF‑8 (recommended, as it’s the most common encoding today; supports emojis and all languages);
- UTF‑16 (adds a byte-order mark (BOM) at the start);
- UTF‑16 LE/BE (no BOM; fixed byte order); or
- Windows-1252 (supports ASCII and extended ASCII).
- Define your separator.
- Read the text-to-hex conversion under “Hex conversion”.
FAQs
- How do I convert text to hexadecimal?
- To manually perform a text-to-hex conversion: Choose an encoding. Let’s use UTF-8, the most widely used encoding. Encode each character to UTF-8 byte(s) (e.g., ‘A’ → [65], ‘ñ’ → [195, 177]). Convert each byte to hexadecimal (e.g., 65 → 41) If there are multiple bytes, write their hexadecimal values in order (195 177 → C3 B1).
- How do I express the word ‘Hello’ in hex representation?
- We express the word ‘Hello’ in hex code as 48 65 6C 6C 6F. Such a hex code assumes you are using the UTF-8 Unicode encoding, the most common one across the web. For other encodings, use our text-to-hexadecimal converter.
- What is the hex value of the alphabet letters?
- You can use this table to convert the alphabet to hexadecimal (keep in mind this conversion is case sensitive):LetterHex representationA41B42C43D44E45F46G47H48I49J4AK4BL4CM4DN4EO4FP50Q51R52S53T54U55V56W57X58Y59Z5Aa61b62c63d64e65f66g67h68i69j6Ak6Bl6Cm6Dn6Eo6Fp70q71r72s73t74u75v76w77x78y79z7A
- Is hexadecimal a base-16 system?
- Yes, hexadecimal is a base-16 numeral system, using sixteen unique symbols: the ten digits from 0 to 9 and the six letters from A to F.
Related calculators
Test grade
With this test grade calculator, you'll quickly determine the test percentage score and grade.
Other
Download time
This download time calculator will help you determine how long it will take to complete a file download over a given internet download speed. Keep on reading to
Other
Minecraft stack
The Minecraft stack calculator tells you how many stacks of an item you have with a certain total number of items. It can convert a total into stacks and vice v
Other
Minecraft circle
The Minecraft circle generator can generate circles for you to build in Minecraft. Allows for circle diameter and thickness.
Other