BrowserTools

Hex to Text Converter

Decode hexadecimal into readable text

By Guga — BrowserTools maintainer, Tbilisi, Georgia Updated 2026-08-23
Free Private No uploads
What is Hex to Text Converter?

Hexadecimal is how bytes get written down when they need to be readable: two digits per byte, so H is 48 and e is 65. The output here follows that convention, lower-case pairs separated by spaces, which matches what hex editors and packet dumps show. Decoding is more accommodating than the encoder, because hex turns up in a surprising number of shapes. It will take a space-separated run, the colon-separated form used by MAC addresses and some debuggers, a hyphen-separated form, a leading 0x on any pair, or the whole thing run together with no separators at all. An odd number of digits is refused with a message showing the expected pattern, because half a byte cannot exist. As with the binary side, text is encoded as UTF-8 first, so non-Latin characters occupy as many pairs as their byte length.

Convert hexadecimal byte strings into plain text, or encode text as hex bytes. Commonly used for debugging protocols, inspecting payloads and solving encoded puzzles.

Private Hex to Text Converter In Your Browser

Hex to Text Converter is processed locally with client-side JavaScript. Your files never touch a server, and there is no queue to wait in.

Step-by-Step

How to use Hex to Text Converter

1

Pick the Encode tab and paste text into Plain input to get a space-separated hex string.

2

Or select the Decode tab and supply bytes in any of the accepted layouts.

3

Include a 0x prefix or colons if that is how your source writes them — both are removed automatically.

4

Ensure the digit count is even before decoding, or the tool will report the mismatch.

Key Capabilities
  • Encoder emits lower-case two-digit pairs separated by spaces
  • Decoder strips 0x prefixes, colons, hyphens and any run of whitespace
  • Rejects an odd number of hex digits with an example of the expected format
  • UTF-8 throughout, so multi-byte characters round-trip exactly
Common Use Cases
  • A developer reading a hex dump of a network payload and recognising the ASCII it contains.
  • A hardware engineer decoding the bytes sent to a microcontroller over a serial link.
  • A student checking which bytes a character such as é occupies when stored as UTF-8.
Clear Answers

Frequently Asked Questions

Is the output upper case or lower case?
Lower case, two digits per byte, separated by spaces — 48 65 6c 6c 0f for a short string. It is the more common convention in logs and captures. The decoder accepts either case, so pasting in upper-case hex from a hex editor works without editing it first.
Why does an odd number of digits fail?
A byte is two hexadecimal digits, so an odd total leaves a half-byte with nowhere to go. Rather than padding it with an assumed zero and quietly changing the data, the tool refuses and shows what it expected. Add the missing digit — it is usually a truncated copy-and-paste.
Can I paste a MAC address?
Yes, as far as the parser is concerned. Colons and hyphens are stripped, so aa:bb:cc:dd:ee:ff decodes as six bytes. Be aware that what comes out will be raw bytes rendered as text, which is rarely printable and will not resemble a device name.
How many hex digits does one character take?
Two for anything in ASCII, so four per character including the space. Above that it follows the UTF-8 byte count: é is c3 a9, and an emoji such as the globe takes eight digits. Counting characters rather than bytes will make any length calculation wrong.