Text to Hex Converter
Turn a string into hex bytes, and hex back into text.
Works in your browser. Nothing you type is sent to us.
| Character | Code point | UTF-8 bytes (hex) | Binary |
|---|
Converted in your browser. Nothing you type is sent to us.
Text to Hex Converter at a glance
- Price
- Free
- Data sent to us
- None, it runs in your browser
- Sign-up
- Not needed
- Formats
- Binary, hexadecimal, decimal, octal
- Encodings
- UTF-8 bytes, Unicode code points
- Directions
- Text to code and code to text
How to use Text to Hex Converter
- Choose the directionText to code, or Code to text.
- Pick the formatBinary, hex, decimal or octal, and UTF-8 bytes or code points.
- Type or pasteThe result appears as you type. Copy it, or Swap to convert it back.
Type a string to see its UTF-8 bytes in hexadecimal, ready for code, a URL or a byte dump, or paste hex to read it as text. Choose spaces, commas or no separator and add 0x prefixes; switch to code points for U+ style numbers.
How it works
Text to Hex Converter is a web page that does its work on your own device. Everything you type or choose is worked out by your browser and never sent to a server, so nothing is stored and there is nothing to delete. There is no account, no sign-up and no limit on how often you use it.
Hex in code
Choose a comma separator and the 0x prefix to get a list you can paste straight into an array: 0x48,0x69.
Questions
Is this the same as URL encoding?
Close: URL encoding writes the same UTF-8 bytes as %48 style codes, but only for characters that need it. Use the URL Encoder for links.
Other shortcuts
Text to Binary Converter · Binary to Text Converter · Text to ASCII Code Converter


