HEX CONVERTER
Convert text to hex and hex back to text, both directions. Nothing leaves your browser.
In short
Convert text to hexadecimal and hex back to text, both directions in one tool, computed entirely in your browser. No account, no upload.
How to convert text and hex
- 1
Pick Encode (text → hex) or Decode (hex → text).
- 2
Type or paste your input on the left.
- 3
Read the converted result on the right as you type.
- 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.
Related tools
- Binary ConverterConvert text to binary and back, both directions in one tool.
- Base32 ConverterConvert text to Base32 and back using the RFC 4648 alphabet.
- Base58 ConverterConvert text to Base58 and back using the Bitcoin alphabet.
- HTML Encoder / DecoderEncode special characters to HTML entities (&, <, >, ") or decode them back to plain text. Updates as you type — nothing uploaded.
- URL Encoder / DecoderPercent-encode or decode text and URLs, component or full-URL scope.
- Base64 EncoderEncode text to Base64 or decode it back, with correct UTF-8 handling.
- Hash GeneratorGenerate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text.
- CSS Escape GeneratorEscape text for a safe CSS class/ID selector or string literal, using the browser's native CSS.escape().
Updated