Type a tool name, for example "keyword density" or "transcript".
Decode hex, hexdumps, C arrays and escapes to text in any encoding, or turn text and files into hex.
For groups of 2, 4 or 8 bytes, as in memory dumps: 6C6C6548 becomes 48 65 6C 6C.
| Type | Little-endian | Big-endian |
|---|
ASCII characterControl codeZero80 to FFNot valid in this encoding
| Encoding | The bytes read as | Why | Use this encoding |
|---|
This is an estimate. A few bytes are often valid in many encodings, so trust your eyes more than the order.
The type comes from the first bytes (the signature), not from a file name. The file holds exactly these bytes.
Entropy shows how evenly the byte values are used: 0 means one value only, longer English text is usually between 4 and 5, and compressed or encrypted data is close to 8.
| Hex | Decimal | Character | Name |
|---|---|---|---|
| 00 | 0 | NUL | Null (\0) |
| 01 | 1 | SOH | Start of heading |
| 02 | 2 | STX | Start of text |
| 03 | 3 | ETX | End of text |
| 04 | 4 | EOT | End of transmission |
| 05 | 5 | ENQ | Enquiry |
| 06 | 6 | ACK | Acknowledge |
| 07 | 7 | BEL | Bell (\a) |
| 08 | 8 | BS | Backspace (\b) |
| 09 | 9 | HT | Horizontal tab (\t) |
| 0A | 10 | LF | Line feed (\n) |
| 0B | 11 | VT | Vertical tab (\v) |
| 0C | 12 | FF | Form feed (\f) |
| 0D | 13 | CR | Carriage return (\r) |
| 0E | 14 | SO | Shift out |
| 0F | 15 | SI | Shift in |
| 10 | 16 | DLE | Data link escape |
| 11 | 17 | DC1 | Device control 1 |
| 12 | 18 | DC2 | Device control 2 |
| 13 | 19 | DC3 | Device control 3 |
| 14 | 20 | DC4 | Device control 4 |
| 15 | 21 | NAK | Negative acknowledge |
| 16 | 22 | SYN | Synchronous idle |
| 17 | 23 | ETB | End of transmission block |
| 18 | 24 | CAN | Cancel |
| 19 | 25 | EM | End of medium |
| 1A | 26 | SUB | Substitute |
| 1B | 27 | ESC | Escape (\e) |
| 1C | 28 | FS | File separator |
| 1D | 29 | GS | Group separator |
| 1E | 30 | RS | Record separator |
| 1F | 31 | US | Unit separator |
| 20 | 32 | SP | Space |
| 21 | 33 | ! | Exclamation mark |
| 22 | 34 | " | Quotation mark |
| 23 | 35 | # | Number sign, hash |
| 24 | 36 | $ | Dollar sign |
| 25 | 37 | % | Percent sign |
| 26 | 38 | & | Ampersand |
| 27 | 39 | ' | Apostrophe |
| 28 | 40 | ( | Left parenthesis |
| 29 | 41 | ) | Right parenthesis |
| 2A | 42 | * | Asterisk |
| 2B | 43 | + | Plus sign |
| 2C | 44 | , | Comma |
| 2D | 45 | - | Hyphen, minus |
| 2E | 46 | . | Period |
| 2F | 47 | / | Slash |
| 30 | 48 | 0 | Digit 0 |
| 31 | 49 | 1 | Digit 1 |
| 32 | 50 | 2 | Digit 2 |
| 33 | 51 | 3 | Digit 3 |
| 34 | 52 | 4 | Digit 4 |
| 35 | 53 | 5 | Digit 5 |
| 36 | 54 | 6 | Digit 6 |
| 37 | 55 | 7 | Digit 7 |
| 38 | 56 | 8 | Digit 8 |
| 39 | 57 | 9 | Digit 9 |
| 3A | 58 | : | Colon |
| 3B | 59 | ; | Semicolon |
| 3C | 60 | < | Less-than sign |
| 3D | 61 | = | Equals sign |
| 3E | 62 | > | Greater-than sign |
| 3F | 63 | ? | Question mark |
| 40 | 64 | @ | At sign |
| 41 | 65 | A | Capital letter A |
| 42 | 66 | B | Capital letter B |
| 43 | 67 | C | Capital letter C |
| 44 | 68 | D | Capital letter D |
| 45 | 69 | E | Capital letter E |
| 46 | 70 | F | Capital letter F |
| 47 | 71 | G | Capital letter G |
| 48 | 72 | H | Capital letter H |
| 49 | 73 | I | Capital letter I |
| 4A | 74 | J | Capital letter J |
| 4B | 75 | K | Capital letter K |
| 4C | 76 | L | Capital letter L |
| 4D | 77 | M | Capital letter M |
| 4E | 78 | N | Capital letter N |
| 4F | 79 | O | Capital letter O |
| 50 | 80 | P | Capital letter P |
| 51 | 81 | Q | Capital letter Q |
| 52 | 82 | R | Capital letter R |
| 53 | 83 | S | Capital letter S |
| 54 | 84 | T | Capital letter T |
| 55 | 85 | U | Capital letter U |
| 56 | 86 | V | Capital letter V |
| 57 | 87 | W | Capital letter W |
| 58 | 88 | X | Capital letter X |
| 59 | 89 | Y | Capital letter Y |
| 5A | 90 | Z | Capital letter Z |
| 5B | 91 | [ | Left square bracket |
| 5C | 92 | \ | Backslash |
| 5D | 93 | ] | Right square bracket |
| 5E | 94 | ^ | Caret |
| 5F | 95 | _ | Underscore |
| 60 | 96 | ` | Grave accent, backtick |
| 61 | 97 | a | Small letter a |
| 62 | 98 | b | Small letter b |
| 63 | 99 | c | Small letter c |
| 64 | 100 | d | Small letter d |
| 65 | 101 | e | Small letter e |
| 66 | 102 | f | Small letter f |
| 67 | 103 | g | Small letter g |
| 68 | 104 | h | Small letter h |
| 69 | 105 | i | Small letter i |
| 6A | 106 | j | Small letter j |
| 6B | 107 | k | Small letter k |
| 6C | 108 | l | Small letter l |
| 6D | 109 | m | Small letter m |
| 6E | 110 | n | Small letter n |
| 6F | 111 | o | Small letter o |
| 70 | 112 | p | Small letter p |
| 71 | 113 | q | Small letter q |
| 72 | 114 | r | Small letter r |
| 73 | 115 | s | Small letter s |
| 74 | 116 | t | Small letter t |
| 75 | 117 | u | Small letter u |
| 76 | 118 | v | Small letter v |
| 77 | 119 | w | Small letter w |
| 78 | 120 | x | Small letter x |
| 79 | 121 | y | Small letter y |
| 7A | 122 | z | Small letter z |
| 7B | 123 | { | Left curly bracket |
| 7C | 124 | | | Vertical bar, pipe |
| 7D | 125 | } | Right curly bracket |
| 7E | 126 | ~ | Tilde |
| 7F | 127 | DEL | Delete |
Codes 00 to 1F and 7F control devices and have no sign of their own, so the table shows their short names (RFC 20). UTF-8 uses the same 128 codes. Everything above 7F depends on the encoding.
Everything happens in your browser. What you type, paste or open is not sent to us and not stored. Only your settings are kept in this browser. Related: Hex to Decimal, Hex Calculator, Binary Translator, Base64 Encode and Decode, URL Encoder and Decoder.
A hex to text converter turns hexadecimal byte values such as 48 65 6C 6C 6F into readable characters, in this case the word Hello. It is made for developers, analysts and students who need to decode hex strings, hexdumps, C arrays or escapes in any text encoding, or turn text into hex. It is free and needs no sign-in.
Hexadecimal text is a way of writing bytes in base 16, where each byte (a value from 0 to 255) takes exactly two digits from 0-9 and A-F. The letter H is byte 48, a space is 20, and the line feed that ends a line on Linux is 0A.
Bytes only become characters once you know the encoding that maps them. In ASCII, one byte is one character and values run from 00 to 7F. In UTF-8, the encoding used by most of the web, characters beyond ASCII take two to four bytes: C3 A9 is the letter é and F0 9F 98 80 is a grinning-face emoji. Older encodings such as Windows-1252 or Shift_JIS give the same bytes different meanings, so identical hex can decode to different text.
Two ASCII facts help when you read hex by eye. Digits 0 to 9 sit at 30 to 39, and capital letters run from 41 to 5A. Each small letter is its capital plus 20, so 41 is A and 61 is a.
You can decode a hex string in under a minute by following these steps.
Paste 48 65 6C 6C 6F 20 57 6F 72 6C 64 with the encoding set to UTF-8 and the output reads Hello World. That is 11 bytes and 11 characters, because every byte is plain ASCII.
| Hex | Character | Why |
|---|---|---|
| 48 | H | Capital letter |
| 65 | e | 45 plus 20 |
| 6C | l | Appears 3 times |
| 20 | (space) | Separates the words |
| 57 | W | Capital letter |
Now try C3 A9. In UTF-8 it is one character, é, made from two bytes. Read the same bytes as Windows-1252 and you get the two characters é, the classic garbled look. That difference tells you the encoding was chosen wrongly.
One more case: memory dumps often store 4-byte groups with the last byte first. The value 6C6C6548 is little-endian, so setting Order inside groups to Last byte first (little-endian) turns it into 48 65 6C 6C, which reads Hell.
A good result is readable text with no stray symbols and a byte count that matches what you expected. Anything else points to a specific fix.
Characters like é, ’ or ü mean UTF-8 bytes were read as a single-byte encoding. Switch Text encoding to UTF-8. If the opposite happens and you see question marks or replacement symbols, the data may be in an older encoding such as Shift_JIS, which has its own example in the tool.
The setting Bytes that are not valid text controls what happens to bytes the encoding cannot read. You can show them as ?, replace them with the Unicode replacement character (U+FFFD), or leave them out. A few invalid bytes usually mean a damaged string. Many of them mean you chose the wrong encoding or the data is binary, not text.
The line break setting shows how new lines are written. LF is 0A (Linux, macOS, web). CR LF is 0D 0A (Windows, HTTP, email). If decoded text runs together or shows extra blank lines, check which pair your source uses.
The tool reads many ways of writing the same bytes, so you rarely have to clean data first. Spaced bytes, plain runs, 0x lists, escapes, percent codes, C arrays, Python bytes, JavaScript Uint8Array, Java byte arrays, SQL literals like X'48656C' and both xxd-style and hexdump -C style dumps are all covered by the output styles in Text to hex mode.
In Text to hex mode you can also choose the separator (space, comma, colon, hyphen, none or your own), the number of bytes per line, and capital (6C) or small (6c) letters. The option to start with a byte order mark applies to Unicode only. In UTF-8 that mark is EF BB BF.
A hex decoder helps anyone who meets bytes where they expected words. These are common situations.
Most failed decodes come from a handful of avoidable input mistakes.
For scripting, the same job takes one line in many languages. In Python, bytes.fromhex("48656c6c6f").decode("utf-8") returns Hello. On Linux, xxd -r -p converts plain hex back to bytes. The converter on this page is faster when you also want error reporting and encoding guesses.
Hex has no label saying which encoding it uses, so the encoding ranking is an informed estimate and your own judgment should have the final say. If the bytes form an image, archive or program, the text view will look like noise, and the File type tab is the better guide. The ASCII table covers codes 0 to 127 only, so characters such as é or 日 appear only through a text encoding.
For many jobs, the fast route is to paste your hex into the converter above, check the output and the encoding tab, then adjust the options once. Explore more utilities in the Web Developer Tools collection, and try the Hex to Text Converter on this page with one of the built-in examples.
Your report has been submitted. We will look into this issue.
A VPN changes your network exit. It does not guarantee anonymity.
Themes, plugins, code, video, audio, graphics & more from 90,000+ authors.
Web Development
Design & Media
Unlimited Access
Explore Envato Market