ASCII / Text Converter

Text ↔ ASCII codes — hex, decimal, binary, octal and a ready-to-paste C array.

ASCII, bytes and UTF-8

ASCII maps each character to a 7-bit code from 0–127: 0–31 (and 127) are control codes (NUL, LF, CR, ESC…), 32 is space, and 33–126 are the printable glyphs. One ASCII character is exactly one byte, which is why it maps so cleanly onto UART frames, EEPROM dumps and C char arrays.

Anything above 127 — accents, emoji, “smart” quotes — is not ASCII. This tool encodes those as UTF-8, so a single character can become several bytes (the per-character table shows the byte count). Decoding reads the codes back as UTF-8. Keep that in mind when a protocol expects strict 7-bit ASCII.

Full ASCII table (0–127)

DecHexChrDecHexChrDecHexChrDecHexChr
000NUL3220SP6440@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