Home › Free Tools › Converters › Hex Converter

Hex Converter

Turn text into hexadecimal bytes — and hex back into readable text.

✓ 100% free✓ No sign-up✓ Runs in your browser — nothing uploaded

Each character becomes its UTF-8 byte(s) written in hex. Spaces are optional when decoding.

About this tool

Hexadecimal is how programmers look at raw bytes: every byte becomes two hex digits, so text turns into a compact, unambiguous string of numbers. This converter works on UTF-8 bytes, so non-English text and emoji survive the round trip exactly.

Common uses: inspecting what a file or network packet really contains, encoding text for URLs and protocols, and classroom exercises on how computers represent characters.

How to use it

  1. Type text in the top box and press Text → Hex.
  2. Or paste hex (spaces optional) in the bottom box and press Hex → Text.

Frequently asked questions

Why do some characters produce four or six hex digits?

Those characters take two or three UTF-8 bytes. Each byte is two hex digits, so a two-byte character like 'é' becomes four hex digits (c3 a9).

Is hex the same as a hex colour?

Related idea, different job: a colour like #FF5733 is three bytes (red, green, blue) written in hex. This page converts text bytes, not colours.

Is my text uploaded?

No — conversion happens in your browser.

Related tools

Copied ✓