Free · Private · In-Browser

Hex Text Converter

Convert text to hexadecimal bytes or decode hex back to text locally.

Output
 

Text and hex, both directions

Hexadecimal is how bytes are often displayed, and moving between readable text and its hex representation is a routine debugging task. This converter turns text into hex bytes and decodes hex back into text, entirely in your browser.

It is useful for inspecting encodings, building test payloads, and reading a hex dump back into something legible. Paste text to encode or a hex string to decode, with spacing handled so the output is easy to read or copy.

Bytes and text, locally

It maps text to its hexadecimal bytes and back, a routine step when reading a dump or crafting a value. The conversion runs locally in your browser.

Frequently asked questions

How is text converted to hex?

The text is turned into UTF-8 bytes and each byte is written as two hex digits, with or without spaces between them.

What happens to spaces and other characters when decoding?

Anything that is not a hex digit is ignored, so you can paste hex with spaces, colons, or line breaks.

Why does one emoji become several hex bytes?

UTF-8 uses one to four bytes per character. Emoji usually take four.

Take it further
Developer Tools

Practical utilities for everyday web development work.

Learn more