toolqik

84 · Encode & Convert

ASCII Converter

Convert text to ASCII codes (decimal, hex, binary, octal) and codes back to text.

Runs in your browser
Direction
Values are
Separator
Format
Result

  

About this tool

ASCII assigns a number from 0 to 127 to every English letter, digit, punctuation mark and a set of control characters: A is 65, a is 97, a space is 32. This converter turns text into those codes, in decimal, hexadecimal, binary or octal, and turns codes back into text.

ASCII covers only English. For other characters (é, ü, ₹, emoji) switch Values are to UTF-8 bytes or Unicode code points; in ASCII mode the tool points out which character isn’t ASCII.

ASCII table

DecHexCharDecHexCharDecHexCharDecHexChar
000NUL3220space6440@9660`
101SOH3321!6541A9761a
202STX3422"6642B9862b
303ETX3523#6743C9963c
404EOT3624$6844D10064d
505ENQ3725%6945E10165e
606ACK3826&7046F10266f
707BEL3927'7147G10367g
808BS4028(7248H10468h
909TAB4129)7349I10569i
100ALF422A*744AJ1066Aj
110BVT432B+754BK1076Bk
120CFF442C,764CL1086Cl
130DCR452D-774DM1096Dm
140ESO462E.784EN1106En
150FSI472F/794FO1116Fo
1610DLE483008050P11270p
1711DC1493118151Q11371q
1812DC2503228252R11472r
1913DC3513338353S11573s
2014DC4523448454T11674t
2115NAK533558555U11775u
2216SYN543668656V11876v
2317ETB553778757W11977w
2418CAN563888858X12078x
2519EM573998959Y12179y
261ASUB583A:905AZ1227Az
271BESC593B;915B[1237B{
281CFS603C<925C\1247C|
291DGS613D=935D]1257D}
301ERS623E>945E^1267E~
311FUS633F?955F_1277FDEL

Useful patterns

  • Uppercase and lowercase letters differ by exactly 32 (one bit): A = 65, a = 97. That’s why case conversion is a single bit flip in ASCII.
  • Digits 0–9 are 48–57, so a digit’s value is its code minus 48.
  • Codes 0–31 and 127 are control characters: 10 (LF) and 13 (CR) are line breaks, 9 is a tab.

FAQ

How do I convert text to ASCII codes?

Type the text with “Text → codes” selected. Each character becomes its ASCII number, in decimal by default; choose hex, binary or octal instead.

How do I convert ASCII codes to text?

Choose “Codes → text” and paste the numbers separated by spaces or commas, for example 72 101 108 108 111.

What is the ASCII code for A?

65 in decimal (41 in hex, 01000001 in binary). Lowercase a is 97.

Is ASCII the same as UTF-8?

For the first 128 characters, yes: UTF-8 encodes them with the same single-byte values. UTF-8 extends this to every Unicode character using up to four bytes.

Does it support extended ASCII?

Codes 128–255 mean different characters in different code pages, so they are not ASCII. Use UTF-8 bytes or Unicode code points for characters beyond 127.

esc
↑↓ navigate↵ open