Free Text to Hex & Hex to Text Online

Convert Unicode text to UTF-8 hexadecimal bytes and decode valid hex back to text.

Preparing your local workspace…
METHOD, EXAMPLES & ANSWERS

How to use Text to Hex & Hex to Text

Convert Unicode text to UTF-8 hexadecimal bytes and decode valid hex back to text.

About Text to Hex & Hex to Text

Hexadecimal represents each byte with two characters from 0–9 and A–F. It is useful for viewing encoded text, debugging byte sequences and exchanging small text samples. UTF-8 may use multiple bytes for one character, so a text-to-hex result is not simply a list of Unicode code points.

Choose the direction, paste the input and convert. The decoder accepts complete hex byte pairs with whitespace and rejects odd lengths, invalid digits and invalid UTF-8. Hex encoding is reversible and offers no confidentiality or security.

  1. Choose the direction, paste the input and convert.
  2. Select or enter the labeled options, then run locally.
  3. Review the result, limitations and worked example before copying or exporting.

How it works

Encode text as UTF-8 bytes and format each byte in two-digit hex; decode complete pairs and use strict UTF-8 decoding.

A quick example

Café becomes 436166c3a9; é uses the two bytes c3 a9.

Assumptions, edge cases & limits

  • Choose the direction, paste the input and convert. The decoder accepts complete hex byte pairs with whitespace and rejects odd lengths, invalid digits and invalid UTF-8. Hex encoding is reversible and offers no confidentiality or security.
  • This workspace does not save inputs. Use synthetic or redacted data and verify output before production use.

Questions about Text to Hex & Hex to Text

How do I convert text to hexadecimal bytes and back?

Enter text or supported hex bytes and choose the direction. Use the documented text encoding and inspect invalid byte or character sequences.

Why is é more than one byte?

UTF-8 uses multiple bytes for many non-ASCII characters.

Can it decode arbitrary binary?

Only valid UTF-8 bytes can be decoded to text.

Can I include spaces between hex bytes?

Yes. Whitespace is ignored when decoding.

Is hex encryption?

No. It is a reversible byte representation.

For processing, privacy and service availability, see our privacy details and methodology. Tool-specific questions and limitations are explained above.

A result or explanation needs correcting? Tell us the tool name and an example.