Text to Hex Converter
Convert text to space-separated hex bytes, or decode hex back to text — accepts 0x-prefixed, spaced, or unseparated hex.
How it works
Text is first converted to UTF-8 bytes, then each byte is printed as a 2-digit hex pair. Decoding accepts
hex with or without spaces, and strips an optional 0x prefix from each byte, so you can paste
output copied from a debugger or a xxd/hexdump tool directly.