0x

Hex Converter

Convert between text and hexadecimal format

Text → HexHex → Text
0 chars

About the Text to Hex Converter

This text to hex converter turns text into its hexadecimal byte representation and decodes hex back into text. It is how you inspect the bytes a string actually contains, including the invisible characters that break comparisons but never show on screen.

Converting text to hex shows you the bytes rather than the glyphs. Every character becomes a two-digit hexadecimal value, which is the representation used by hex editors, network protocol dumps and low-level debugging output.

It is the fastest way to find an invisible problem. A byte-order mark at the start of a file, a non-breaking space that looks identical to a normal one, a trailing carriage return, or a smart quote where a straight one was expected — all obvious in hex and invisible on screen.

Multi-byte characters make the encoding visible too: an accented letter or emoji occupies several bytes in UTF-8, and seeing that explains why a length check or a database column behaves unexpectedly. Decoding works in reverse for reading a hex dump.

How to use the Text to Hex Converter

  1. Pick a direction. Choose text to hex, or hex to text.
  2. Enter your input. Paste the text, or the hex byte values.
  3. Read the output. See the byte values, or the decoded text.
  4. Copy the result. Take the converted output.

Text to Hex Converter features

  • Text to hexadecimal byte values
  • Hex back to readable text
  • UTF-8 multi-byte characters shown correctly
  • Reveals invisible characters and byte-order marks
  • Instant conversion as you type
  • Runs entirely in your browser

Frequently asked questions

What does converting text to hex show me?

The actual bytes behind the characters, written as two hexadecimal digits each — the same view a hex editor gives.

Why would I need this?

To find invisible problems: byte-order marks, non-breaking spaces, stray carriage returns or smart quotes that look normal on screen.

How are accented characters and emoji handled?

They occupy several bytes in UTF-8, and the hex output shows each one, which explains unexpected length counts.

Can I decode a hex dump back to text?

Yes. Paste the hex values and the readable text is produced.

Is my input uploaded?

No. Conversion happens entirely in your browser.