Text & code / MULTIVERTO

Text to hexadecimal

Represent each UTF-8 byte of your text as two hexadecimal digits.

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.

01 / Guide

How it works

Each UTF-8 byte is written as a two-digit hexadecimal number. Non-ASCII letters can use multiple bytes.

Good to know

The output represents UTF-8 bytes, not Unicode code points. An accented letter may therefore produce more than two hex digits.

02 / Example

Example

Your inputHello
Result48656c6c6f

03 / Guide

Text to hexadecimal — How it works

Inspecting the bytes behind text

Use this direction when you want to see exactly which UTF-8 bytes a text string contains in hexadecimal notation. As a language-neutral ASCII demonstration, entering Hello gives the bytes 48 65 6c 6c 6f, shown here as one continuous hex string. A non-ASCII letter occupies more than one byte, so its output will have more than two digits. This makes the converter useful for checking whether a system is storing UTF-8, diagnosing unexpected accents, or comparing byte-oriented formats.

The output is not a Unicode escape sequence and it is not the same as the visual character count. Two texts that look alike can even produce different bytes if one uses a composed accented character and another uses a base character plus combining mark. The tool does not normalize text before encoding. If exact byte identity matters, keep the original text, compare hex strings and make sure any downstream system uses the same UTF-8 interpretation. Hex output is legible, but it offers no privacy.

Hexadecimal text is a view of bytes

Hexadecimal uses sixteen symbols, zero through nine and A through F. One symbol records four bits, so a complete byte needs two hexadecimal digits. For example, the UTF-8 byte for the Latin letter A is 41 in hex. This notation is convenient when inspecting files, network packets and program output because byte boundaries are easy to see. It is also longer than the original bytes: two visible digits represent each byte, without counting any separators or labels.

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.

Using the converter

Start with the original text and confirm that the receiving application actually asks for an encoded representation. Paste the text or load the example, then inspect the output before copying it. The conversion happens in this browser; the entered text is not uploaded to a conversion service. This direction changes how information is written, not the meaning of a sentence. Keep the source beside the result when debugging, and avoid applying an encoding twice unless the destination format explicitly requires two layers.

Keep the original input when you need to audit a result. An encoded representation may look very different from the underlying text, especially when accents, emoji, punctuation or line breaks are present. If you exchange the result with another program, check which character encoding and exact format that program expects. Try a short known example before processing a large value, and compare the output with the receiving application rather than assuming every similar-looking format is interchangeable.

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