Text & code / MULTIVERTO

Hexadecimal to text

Decode hexadecimal byte pairs into UTF-8 text. Invalid characters and byte sequences are reported.

Live converterYour input stays in this browser. No text is uploaded for conversion.

The file stays in your browser.
Chain tools

Apply each text tool to the previous result. Text workflows ↗

Only the recipe name and tool order are saved in this browser. Your input and results are never saved.

01 / Example

Example

Your input48656c6c6f
ResultHello

02 / Guide

Hexadecimal to text — How it works

Reading a hexadecimal byte sequence as text

The hex pairs 48 69 decode to the UTF-8 text Hi: 48 represents H and 69 represents i. For an accented character, C3 A9 decodes to é because its UTF-8 representation uses two bytes. A lone E9 is a valid hex byte but not a complete UTF-8 encoding of é, so this text decoder should report an error rather than guess another character set. Remove spaces only between complete pairs; one missing nibble changes every byte after it.

A valid hex string can still represent something other than text: an image header, encrypted data or a byte sequence in a different character encoding may fail strict UTF-8 decoding. If the result is an error, do not simply remove bytes until readable words appear; check the source format and its declared encoding. An odd number of digits is also an incomplete byte, not a value to guess. For debugging, keep the original hex and compare the decoded output with the system that produced the bytes.

Hexadecimal text is a view of bytes

This converter treats its text as UTF-8 before turning bytes into hex and makes the reverse assumption when decoding. A character outside basic ASCII can occupy multiple UTF-8 bytes; the resulting string is a byte sequence, not a list of Unicode code points. Two hex digits are required for every byte. Even a perfectly formed pair sequence may describe bytes that are not valid UTF-8, in which case it cannot become text here. Hexadecimal is an encoding for display and inspection, not encryption, compression or an integrity check.

Check the encoded source before decoding

Inspect the source as a sequence of byte pairs before asking what the text means. Two valid hex digits make a byte, but a valid sequence of bytes does not necessarily make valid UTF-8. If a trace comes from a different encoding, this text decoder cannot recover its meaning by guessing. Check for missing leading digits, inserted spaces or copied delimiters in the trace before treating a failure as corrupted content. A pair that decodes to a control byte can also produce an unexpected display even when the input is syntactically valid. Retain the original hex when reporting the finding so another reader can verify the byte sequence. Read hexadecimal bytes copied from a log when you know they represent UTF-8 text. Check that every byte has exactly two digits and that the full sequence decodes without error. An even-length hex string can still contain invalid UTF-8; keep the original bytes if you need to investigate the source encoding. The page example turns “48656c6c6f” into “Hello”.

How this conversion transforms the input
Hexadecimal bytes
UTF-8 bytes
Decoded text