Hex String Converter
Results will be shown here.
Last updated: 2026 · Free online tool
What is Hex String Converter?
Free online hex string converter to encode text into hexadecimal and decode hex back to text. Switch between five formats including spaced bytes, 0x prefix and \x escapes, instantly.
How to Use
- 1 Select Direction — Choose text-to-Hex or Hex-to-text.
- 2 Select Format — Choose your preferred Hex format (spaces, 0x prefix, etc.).
- 3 Copy Result — Copy the converted result.
Related Tools
Base64 Encoder & Decoder Free online Base64 encoder and decoder for text and files, converting any input into a Base64 string or restoring the original data, with full UTF-8 support and URL-safe encoding options.
Unicode Converter Free online tool to convert between characters and Unicode code points (U+) while showing UTF-8 and UTF-16 bytes. It decomposes emojis into individual code points and reveals details like surrogate pairs.
URL Encoder/Decoder Free online tool to encode and decode URL strings with percent encoding (%XX) and parse URL query parameters. Built on encodeURIComponent, it safely converts spaces and non-ASCII characters to UTF-8 bytes.
Frequently Asked Questions
Five formats: FF FF (space), FFFF (continuous), 0xFF (prefix), \xFF (escape), FF, FF (comma).
Yes, characters are converted to Hex using UTF-8 encoding.
Yes, you can choose uppercase (FF) or lowercase (ff).
When converting Hex to text, various formats (0x, \x, spaces, commas) are automatically recognized.
No. All conversion is done in the browser.