Back

Hex encoder/decoder

Encoding

Loading

Loading tool

Preparing the tool. The remaining time is not yet known.

All processing for this tool happens in your browser. Your input is not sent to a server.

About this tool

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

Common uses

  • Convert UTF-8 text to hexadecimal bytes and decode valid UTF-8 hex.
  • Encode text to paired lowercase hexadecimal bytes and inspect the byte count.

How to use it

  1. 1.Encode text to paired lowercase hexadecimal bytes and inspect the byte count.
  2. 2.For decoding, enter byte pairs; whitespace and an initial 0x prefix are accepted.

Worked example

Input and result

Aé
41c3a9

UTF-8 uses one byte for A and two for é.

Limits and notes

  • An odd number of hex digits, non-hex characters or bytes that are not valid UTF-8 are rejected. This is a text decoder, not an arbitrary binary-file viewer.

Frequently asked questions

What does this tool do?

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

What should I check before using the result?

An odd number of hex digits, non-hex characters or bytes that are not valid UTF-8 are rejected. This is a text decoder, not an arbitrary binary-file viewer.

Related tools