HEX CONVERTER

Convert text to hex and hex back to text, both directions. Nothing leaves your browser.

How to convert text and hex

  1. 1

    Pick Encode (text → hex) or Decode (hex → text).

  2. 2

    Type or paste your input on the left.

  3. 3

    Read the converted result on the right as you type.

  4. 4

    Click Copy to copy the result to your clipboard.

Questions

What hex format does the decoder accept?
It's flexible — space-separated (48 65 6c 6c 6f), no spaces (48656c6c6f), with 0x prefixes, or joined with colons, commas, dashes, or underscores. Whitespace and common separators are stripped before decoding, so paste it however it was given to you.
Does encoding handle emoji and non-ASCII text?
Yes. Text is first converted to UTF-8 bytes, then each byte becomes a two-character hex pair, so multi-byte characters like emoji or accented letters encode and decode correctly round-trip.
Why did decoding fail with an error?
Either the hex has an odd number of digits (each byte needs exactly two), it contains a character outside 0-9 and a-f, or the resulting bytes aren't valid UTF-8. Double-check you copied the full hex string without truncation.
Is my text uploaded anywhere?
No. Conversion happens entirely in your browser with plain JavaScript — nothing you type or paste is sent to a server.