Practical Guide

Hex Encoder and Decoder โ€” Usage Guide and Technical Principles

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

Open tool

Overview

Two hexadecimal digits represent one byte. A character can use more than one byte in UTF-8.

Key concepts

Hexadecimal bytes

Two hexadecimal digits represent one byte. A character can use more than one byte in UTF-8.

Features

Text to UTF-8 hex

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

Hex to text

Paste the byte pairs and decode them back to text. Uppercase and lowercase digits are accepted.

Use Cases

Inspect text data

Compare the bytes in a text fixture or check unfamiliar characters in a log.

Frequently Asked Questions

Hexadecimal bytes?

Enter complete hex bytes, such as 4869, 48 69 or 0x48 0x69.

What if the input is invalid?

Odd digit counts, non-hex characters and invalid UTF-8 produce an error.

Related Documents

Hex Encoder and Decoder

Open the tool to try these features.

Open tool