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.

Results will be shown here.
Embed

Embed this tool on your site

Powered by Patrache Studio DevTools
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. 1
    Select Direction— Choose text-to-Hex or Hex-to-text.
  2. 2
    Select Format— Choose your preferred Hex format (spaces, 0x prefix, etc.).
  3. 3
    Copy Result— Copy the converted result.

Related Tools

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.

This site uses cookies for better experience and advertising. Learn more

Please allow ads on this site

To use these tools, allow ads on this site. Advertising keeps this service free.

Open your ad blocker, turn off blocking for this site, then check again.