Convert text to hexadecimal and back
Hexadecimal represents each byte as two compact characters, which is why it shows up in colour codes, memory dumps, byte-level debugging, and low-level protocols. Reading it as text — or turning text into hex — is awkward by hand. This converter moves between readable text and its hex representation in both directions, handling the character encoding for you.
How to use it
- Paste text to convert it to hex, or paste hex to decode it to text.
- Copy the result.
- Use it when inspecting data or building a low-level value.
Where hex appears
- Byte-level debugging and inspecting binary data.
- Encoding values in protocols and file formats.
- Understanding escape sequences that use hex codes.
Questions people ask
Why do non-English characters produce more hex? They take more than one byte in UTF-8, and each byte is two hex characters.
Is my text sent anywhere? No — the conversion is done locally in your browser.