Hex Encode
Paste your text below and click Encode to convert it to a hexadecimal string. All processing happens locally in your browser.
What is Hex Encoding?
Hexadecimal encoding converts each byte of data into a two-character hex string (00–ff). This is useful for inspecting binary data, debugging network protocols, and representing byte arrays in code.
UTF-8 characters that use more than one byte will produce multiple hex pairs.
The separator and letter case are yours to choose: nothing between the bytes for a compact string, spaces for readability, or colons for the style fingerprints and MAC addresses are usually written in. Everything happens in your browser.
Related tools
Debugging something that will not decode?
A payload that will not decode is usually a symptom rather than the fault: a double encoding somewhere in the pipeline, a charset assumed instead of declared, a token signed over bytes that are not quite the bytes anyone expected. We do this kind of work, on integrations, APIs and the systems that pass data between them.
Tell us what is breaking