Developer ToolsEncoders & DecodersFree Tool
Hex Encoder
Convert text into its hexadecimal character-code representation, one byte per character.
How to Use Hex Encoder
- 1Paste your text
- 2Click Process
- 3Copy the space-separated hex output
Frequently Asked Questions
Each character's Unicode code point is converted to a 2-digit hexadecimal value, padded with a leading zero if needed, and separated by spaces.
For characters with code points above 255, the hex value will be more than 2 digits (not padded to a fixed width) — this is a simple per-character encoding, not a full UTF-8 byte-level hex dump.
Use the separate Hex Decoder tool for the reverse direction.
No — conversion happens entirely in your browser.
Related Tools
Base64 Encoder
Encode any text into Base64 using the browser-native btoa() function, with full Unicode/UTF-8 support.
Base64 Decoder
Decode Base64 back to readable text using the browser-native atob() function, with full Unicode/UTF-8 support.
URL Encoder
Percent-encode text for safe use in URLs, or decode it back, using the native encodeURIComponent/decodeURIComponent functions.
URL Decoder
Decode percent-encoded URL text back to its original characters using the native decodeURIComponent function.