1. Home
  2. Developer
  3. Text ↔ ASCII Converter

Text ↔ ASCII Converter

Turn text into ASCII codes, decode codes to text, and look up the ASCII table.

For every format and option in one place, use Encoder and Decoder →

Runs in your browser · No upload
ASCII codes
72 101 108 108 111 44 32 65 83 67 73 73 33
Codes
13
ASCII code per character
ASCII code per character
CharDecimalHexBinaryName
H724801001000H
e1016501100101e
l1086C01101100l
l1086C01101100l
o1116F01101111o
,442C00101100,
322000100000SP
A654101000001A
S835301010011S
C674301000011C
I734901001001I
I734901001001I
!332100100001!
ASCII table (0 to 127)
ASCII table (0 to 127)
DecHexOctBinChar / name
00000000000000NUL
10100100000001SOH
20200200000010STX
30300300000011ETX
40400400000100EOT
50500500000101ENQ
60600600000110ACK
70700700000111BEL
80801000001000BS
90901100001001TAB
100A01200001010LF
110B01300001011VT
120C01400001100FF
130D01500001101CR
140E01600001110SO
150F01700001111SI
161002000010000DLE
171102100010001DC1
181202200010010DC2
191302300010011DC3
201402400010100DC4
211502500010101NAK
221602600010110SYN
231702700010111ETB
241803000011000CAN
251903100011001EM
261A03200011010SUB
271B03300011011ESC
281C03400011100FS
291D03500011101GS
301E03600011110RS
311F03700011111US
322004000100000SP
332104100100001!
342204200100010"
352304300100011#
362404400100100$
372504500100101%
382604600100110&
392704700100111'
402805000101000(
412905100101001)
422A05200101010*
432B05300101011+
442C05400101100,
452D05500101101-
462E05600101110.
472F05700101111/
4830060001100000
4931061001100011
5032062001100102
5133063001100113
5234064001101004
5335065001101015
5436066001101106
5537067001101117
5638070001110008
5739071001110019
583A07200111010:
593B07300111011;
603C07400111100<
613D07500111101=
623E07600111110>
633F07700111111?
644010001000000@
654110101000001A
664210201000010B
674310301000011C
684410401000100D
694510501000101E
704610601000110F
714710701000111G
724811001001000H
734911101001001I
744A11201001010J
754B11301001011K
764C11401001100L
774D11501001101M
784E11601001110N
794F11701001111O
805012001010000P
815112101010001Q
825212201010010R
835312301010011S
845412401010100T
855512501010101U
865612601010110V
875712701010111W
885813001011000X
895913101011001Y
905A13201011010Z
915B13301011011[
925C13401011100\
935D13501011101]
945E13601011110^
955F13701011111_
966014001100000`
976114101100001a
986214201100010b
996314301100011c
1006414401100100d
1016514501100101e
1026614601100110f
1036714701100111g
1046815001101000h
1056915101101001i
1066A15201101010j
1076B15301101011k
1086C15401101100l
1096D15501101101m
1106E15601101110n
1116F15701101111o
1127016001110000p
1137116101110001q
1147216201110010r
1157316301110011s
1167416401110100t
1177516501110101u
1187616601110110v
1197716701110111w
1207817001111000x
1217917101111001y
1227A17201111010z
1237B17301111011{
1247C17401111100|
1257D17501111101}
1267E17601111110~
1277F17701111111DEL

Conversion happens in your browser; nothing you type is uploaded.

How to use

  1. In Text → ASCII codes, type or paste text and each character’s ASCII code appears. A sample is already filled in, so you see a result right away.
  2. Choose a base: decimal, hex, binary or octal, then a separator. Hex can be upper or lower case.
  3. Characters outside ASCII, such as Hangul or emoji, can be replaced with ? (63), skipped, or expanded to UTF-8 bytes.
  4. To decode, switch to ASCII codes → text and paste numbers. Hex written as 0x48, 48 69 or 4869 is accepted.
  5. Open the ASCII table at the bottom of the page to see 0 to 127 in decimal, hex, octal and binary with each character’s name.

What ASCII is

ASCII is a standard table that assigns letters, digits, symbols and control codes to the 7-bit numbers 0 to 127. Computers store text as numbers, so A is 65, a is 97, and every character has a number.

Character Decimal Hex Binary
A 65 41 01000001
a 97 61 01100001
0 48 30 00110000
space 32 20 00100000
~ 126 7E 01111110
  • 0 to 31 and 127 are invisible control characters. 9 is tab (TAB), 10 is line feed (LF), 13 is carriage return (CR) and 127 is delete (DEL).
  • 32 to 126 are the space and the printable characters. Capitals run 65 to 90, lowercase 97 to 122 and digits 48 to 57.
  • Upper and lower case of the same letter differ by 32, which in binary is a single bit, the sixth.

What happens to Hangul

ASCII has no Hangul. When you enter it, the chosen option decides the outcome. For the input a한 in decimal:

Option Result
Replace with ? (63) 97 63
Skip them 97
Expand to UTF-8 bytes 97 237 149 156

For the real number of a Hangul character, use the UTF-8 byte option, or look at the code point in Text to Decimal or the Unicode Converter. Codes from 128 to 255 are not ASCII; when decoding they are read as Latin-1 characters and you are told so.

FAQ

How do I find the ASCII code of a character?

Type it above and the code appears. For a quick single lookup, open the table: A is 65 and z is 122.

How do I turn ASCII codes into text?

Switch to ASCII codes → text and paste the numbers. 72 101 108 108 111 becomes Hello.

What is the difference between ASCII and Unicode?

The first 128 characters of Unicode are identical to ASCII. ASCII is a small English-oriented table, while Unicode is a far larger one that covers Hangul, Chinese characters and emoji.

What is the ASCII code for a new line?

LF (line feed) is 10 and CR (carriage return) is 13. Windows text files use CR LF (13 10), while Linux and macOS use just LF (10).

Is my text uploaded?

No. Conversion happens in your browser and nothing is sent to a server.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.