Hex ↔ Text Converter

Convert text to hexadecimal bytes, or hex back to text. Runs entirely in your browser.

About this tool

Encodes text as UTF-8 bytes shown in space-separated hexadecimal, and decodes hex (with or without spaces) back to UTF-8 text. Uses the browser's native TextEncoder/TextDecoder, so multi-byte characters round-trip correctly.

Share on LinkedInShare on X
Link to this tool

Copy this HTML to cite this tool from your own site or article.

About Hex ↔ Text Converter

Hex to Text Converter converts text strings into hexadecimal byte values or decodes hexadecimal strings back to readable plain text.

How to use Hex ↔ Text Converter

  1. Paste plain text or hex string into text pane.
  2. Select operation mode: Text to Hex or Hex to Text.
  3. Choose delimiter options (spaces, 0x prefix, or plain continuous hex).
  4. Click Convert and copy converted output.

Examples

Text Input: Hello Hex Output: 48 65 6c 6c 6f

FAQ

Does hex decoding support uppercase and lowercase hex letters?

Yes. Hex string parsers accept both uppercase (48656C6C6F) and lowercase (48656c6c6f) hex inputs.

How are spaces in hex input handled?

Spaces and common prefixes like 0x are stripped automatically during decoding.