Hex Encoder / Decoder
Encode readable text into hexadecimal byte values or decode hex back into readable UTF-8 text.
Input text
Output hex
Using This Tool: Guide & Notes Show guide
Hexadecimal writes each byte as two base-16 digits, making binary data easier to inspect and copy.
How to use it
- Choose Encode to turn text into hex, or Decode to turn hex back into UTF-8 text.
- Paste input into the input box.
- Use separators, prefixes, and casing to match the format you need.
- Copy the result once the byte grouping is clear.
Options and settings
- Uppercase output switches a-f to A-F.
- Separator controls whether bytes are spaced, compact, or split with another character.
- 0x byte prefixes are useful for programming-style byte lists.
- Clean separators when decoding lets the tool accept spaces, line breaks, and common formatting.
- Line wrapping keeps long hex output readable.
Notes
- Two hex digits represent one byte.
- Decoded bytes must form valid UTF-8 to display as normal readable text.
Related Article
Hex Encoder / Decoder: Seeing Text as Bytes
How hexadecimal turns raw bytes into readable base-16 pairs, and why 41 means A, but not secrecy.