Encoding & Text Conversion Tools
Convert between hexadecimal and text encodings like ASCII, UTF-8, UTF-16, and EBCDIC — decode raw bytes into readable characters, or the reverse.
- Hex to ASCIITurn hex byte pairs into readable ASCII text.
- ASCII to HexConvert text into its hexadecimal byte representation.
- Hex to UTF-8Decode hex bytes as UTF-8 encoded text.
- UTF-8 to HexEncode text, including emoji, as UTF-8 hex bytes.
- Hex to UnicodeLook up which character a Unicode code point represents.
- Unicode to HexFind a character's Unicode code point in hex.
- Hex to UTF-16Decode hex bytes as UTF-16 text.
- UTF-16 to HexEncode text as UTF-16 hex bytes.
- Hex to UTF-32Decode hex bytes as UTF-32 text.
- UTF-32 to HexEncode text as fixed 4-byte UTF-32 hex.
- Hex to EBCDICDecode hex bytes using IBM mainframe EBCDIC (CP037).
- EBCDIC to HexEncode text into EBCDIC (CP037) hex bytes.
- Hex to BCDFind the binary-coded-decimal form of a hex value.
- BCD to HexConvert a packed decimal (BCD) value into hex.
- Hex to TextConvert a hex value back into plain text.
- Text to HexConvert any text into hexadecimal.
- Hex String to TextDecode a hex string like bytes.fromhex() input.
- Text to Hex StringTurn text into a hex string in the format code expects.
- Hex Bytes to TextDecode a raw byte array shown in hex.
- Text to Hex BytesTurn text into its raw byte array in hex.
- Hex to CharacterLook up which single character a hex byte represents.
- Character to HexFind the hex byte value of a single character.
- Hex Escape ConverterConvert text into \xHH escape-sequence notation.
- Hexadecimal Escape DecoderDecode \xHH escape sequences back into text.
About Encoding & Text Conversion Tools
Every character maps to one or more bytes, and hex is the standard compact way to display those byte values. This category converts hex to and from ASCII and UTF-8 encoded text — useful for reading raw byte data as readable characters, or checking exactly what bytes a piece of text encodes to.
Frequently Asked Questions
Why does hex show up in text encoding?
Every character maps to one or more bytes, and hex is the standard compact way to display those byte values — two hex digits per byte.
What's the difference between ASCII and UTF-8 hex conversion?
ASCII covers only 128 characters in a single byte each. UTF-8 uses a variable number of bytes to represent virtually any character, so the same visible text can produce different hex output between the two.
Which converter should I use for a Python bytes.fromhex() string specifically?
Hex String to Text — it's built around that exact format (a plain run of hex digit pairs) rather than the more general Hex to Text or Hex to ASCII pages.
Do I need a different tool for encoding versus decoding text?
No — each pair here covers both directions (like ASCII to Hex and Hex to ASCII), so whichever direction you need, there's a dedicated page for it rather than one tool trying to guess.