Encoding

Hex String Converter

Convert text to hexadecimal bytes and hex strings back to text in your browser with UTF-8, GBK, and ISO-8859-1 support plus flexible separators (space, 0x, \x).

About this tool

Encode strings into hexadecimal bytes or decode hex dumps back into readable text using UTF-8, GBK, or Latin1.

Decoding automatically strips spaces, colons, commas, 0x, and \x prefixes while validating even byte lengths.

Best use cases

  • Decode packet captures or serial logs into readable UTF-8 or GBK text.
  • Format byte arrays with 0x or \x escapes for code fixtures.

How to use it

  1. Pick the charset, separator, and prefix style.
  2. Enter text or hex bytes and click Text → Hex or Hex → Text.
  3. Review byte counts and copy the result.

Scope and limits

  • Up to 200,000 characters; hex decoding requires an even number of hex digits.

Data processing

All conversions run locally in your browser without uploading payloads.

Related tools

More in this category