Hex to Text Converter (Hex to ASCII)

Binary Translator →Text to Binary →Developer Tools

Paste hexadecimal bytes and read them as text, or type text and get its hex codes, with an ASCII table below.

Options
Input
Text
Hex to ASCII table (0x20–0x7E): hex, character, decimal
20space32
21!33
22"34
23#35
24$36
25%37
26&38
27'39
28(40
29)41
2A*42
2B+43
2C,44
2D-45
2E.46
2F/47
30048
31149
32250
33351
34452
35553
36654
37755
38856
39957
3A:58
3B;59
3C<60
3D=61
3E>62
3F?63
40@64
41A65
42B66
43C67
44D68
45E69
46F70
47G71
48H72
49I73
4AJ74
4BK75
4CL76
4DM77
4EN78
4FO79
50P80
51Q81
52R82
53S83
54T84
55U85
56V86
57W87
58X88
59Y89
5AZ90
5B[91
5C\92
5D]93
5E^94
5F_95
60`96
61a97
62b98
63c99
64d100
65e101
66f102
67g103
68h104
69i105
6Aj106
6Bk107
6Cl108
6Dm109
6En110
6Fo111
70p112
71q113
72r114
73s115
74t116
75u117
76v118
77w119
78x120
79y121
7Az122
7B{123
7C|124
7D}125
7E~126
Common words in hex
Hello48 65 6C 6C 6F
hello68 65 6C 6C 6F
Hi48 69
OK4F 4B
yes79 65 73
no6E 6F
I love you49 20 6C 6F 76 65 20 79 6F 75
test74 65 73 74
admin61 64 6D 69 6E
000

Processed in your browser. A copy of each run is saved to your past runs so you can reopen it. Privacy

About

What the Hex to Text does

Hex to Text turns hexadecimal byte values such as 48 65 6C 6C 6F into the text they encode (Hello), and text back into hex. It reads ASCII and UTF-8, accepts pairs with or without spaces, 0x prefixes and \x escapes, and shows the same bytes in decimal, binary and Base64. It is for developers reading packet dumps, logs and escaped strings. It decodes bytes; it does not decrypt anything.

Steps

How to use it

  1. 1Paste the hex into the Input panel: spaced pairs, one long string, 0x-prefixed or \x-escaped all work.
  2. 2Press Translate (or Cmd/Ctrl+Enter). The text appears on the right; decimal, binary and Base64 views appear below.
  3. 3To go the other way, press Swap: the text moves into the input and comes back as hex.
  4. 4Copy the result. The hex to ASCII table under the tool covers the printable characters 0x20 to 0x7E.

Example

A real run

Input

48 65 6C 6C 6F 2C 20 54 65 78 61 73 21

Output

Hello, Texas!

Thirteen bytes, read as UTF-8: 48 is H, 65 is e, 2C is the comma, 20 the space and 21 the exclamation mark. The same input written as 48656C6C6F or with 0x or \x prefixes gives the same text.

Options

Every setting, and when to use it

Input is
This page starts in Hex. Choose Text to type words and get their hex codes, or Detect automatically to let the tool decide between binary, decimal, hex and text. Fixing the format matters for short inputs such as cafe, which is valid hex and an English word.
Delimiter
The separator between bytes in the hex, decimal and binary outputs: a space (48 65 6C), none (48656C) or a custom string such as a comma or a colon for MAC-address style.
Encoding: UTF-8 or 7-bit ASCII
UTF-8 decodes multi-byte characters such as é (C3 A9) and emoji correctly, and is what almost every modern system sends. 7-bit ASCII treats each byte on its own and suits old protocols and homework that assumes one byte per character.
Swap
Moves the result back into the input and switches the format, so you can check a round trip from hex to text and back without copying by hand.

Good to know

Common problems and limits

Hex needs two digits per byte. A string with an odd number of digits is rejected with the count, for example "The hex string has 11 digits, which is not an even number", rather than guessed.

Bytes that are not valid UTF-8 text, such as part of an image or a hash, are shown as the replacement character � with a warning. The decimal and binary views below still show the exact bytes.

Input is limited to 1 MB. Hex is decoded to bytes and then to text; nothing is decrypted, so encrypted or compressed data stays unreadable after conversion.

Hex color codes such as #4F46E5 are three bytes of color, not text; use the Color Converter for those. For text to binary and binary to text, the Binary Translator is the better start.

Audience

Who uses it

  • DevelopersRead a \x-escaped string from a log or a Python repr, or check what bytes a protocol field actually contains.
  • Network and security engineersDecode the ASCII portion of a packet capture or a hex dump from Wireshark or xxd.
  • CTF and puzzle playersTurn a hex clue into text in one step, then try the next layer in the Base64 decoder.
  • StudentsCheck hand conversions of ASCII codes against the table and the decimal view.

FAQ

Frequently asked

What is "hello" in hex?

Lowercase hello is 68 65 6C 6C 6F, and Hello with a capital H is 48 65 6C 6C 6F. Each pair is one letter's ASCII code in hexadecimal: h is 0x68 (104) and H is 0x48 (72). Type a word with the input set to Text to get its hex codes.

How do I convert hex to text by hand?

Split the hex into pairs, convert each pair from base 16 to a number (4 and 8 make 4 × 16 + 8 = 72), then look the number up in an ASCII table: 72 is H. The table under the tool lists every printable character with its hex code, so you can check each step.

How do I convert ASCII codes to text?

If the codes are hex (48 65 6C), paste them here with the input set to Hex. If they are decimal numbers (72 101 108), set the input to Decimal. Either way the tool maps each code to its character and shows the text.

What is 11111111 in hexadecimal?

Binary 11111111 is FF in hexadecimal and 255 in decimal: each group of four bits makes one hex digit, and 1111 is F. FF is the largest value one byte can hold, which is why it appears so often in hex dumps and color codes.

What is the difference between hex and ASCII?

Hexadecimal is a way of writing numbers in base 16. ASCII is a table that assigns numbers 0 to 127 to letters, digits and symbols. A hex to ASCII conversion reads each hex pair as a number and looks it up in that table; UTF-8 extends the same idea to every character.

Why do I see � in the converted text?

Those bytes are not valid UTF-8 text, often because the hex is binary data (an image, a hash or encrypted content) or because a byte is missing. The tool shows � instead of guessing and warns you; the decimal and binary views still show the exact bytes.

Automation: an MCP tool translate_binary(input, "hex", encoding) → text and an n8n node are planned for this tool.

Built and maintained by Radhika SinghLast updated Questions: hello@operativez.ai