Skip to content
induwara.lk
induwara.lkDeveloper · Reference

ASCII Table & Text Converter

A complete, searchable ASCII chart (0–127) with decimal, hex, octal and binary for every code, plus a two-way converter that turns text into ASCII codes and codes back into text. Control names from RFC 20. Runs in your browser, no signup.

By Induwara AshinsanaUpdated Jul 10, 2026
ASCII table & converter0–127
Try
Codes (copy all)

72 105 33

H=72i=105!=33

Reference table

128 codes
DecHexOctBinaryCharHTMLDescriptionCopy
00x000o000000000NUL—Null^@
10x010o100000001SOH—Start of Heading^A
20x020o200000010STX—Start of Text^B
30x030o300000011ETX—End of Text^C
40x040o400000100EOT—End of Transmission^D
50x050o500000101ENQ—Enquiry^E
60x060o600000110ACK—Acknowledge^F
70x070o700000111BEL—Bell^G
80x080o1000001000BS—Backspace^H
90x090o1100001001HT—Horizontal Tab^I
100x0A0o1200001010LF—Line Feed^J
110x0B0o1300001011VT—Vertical Tab^K
120x0C0o1400001100FF—Form Feed^L
130x0D0o1500001101CR—Carriage Return^M
140x0E0o1600001110SO—Shift Out^N
150x0F0o1700001111SI—Shift In^O
160x100o2000010000DLE—Data Link Escape^P
170x110o2100010001DC1—Device Control 1 (XON)^Q
180x120o2200010010DC2—Device Control 2^R
190x130o2300010011DC3—Device Control 3 (XOFF)^S
200x140o2400010100DC4—Device Control 4^T
210x150o2500010101NAK—Negative Acknowledge^U
220x160o2600010110SYN—Synchronous Idle^V
230x170o2700010111ETB—End of Transmission Block^W
240x180o3000011000CAN—Cancel^X
250x190o3100011001EM—End of Medium^Y
260x1A0o3200011010SUB—Substitute^Z
270x1B0o3300011011ESC—Escape^[
280x1C0o3400011100FS—File Separator^\
290x1D0o3500011101GS—Group Separator^]
300x1E0o3600011110RS—Record Separator^^
310x1F0o3700011111US—Unit Separator^_
320x200o4000100000␠—Space
330x210o4100100001!—Exclamation mark
340x220o4200100010""Double quote
350x230o4300100011#—Number sign (hash)
360x240o4400100100$—Dollar sign
370x250o4500100101%—Percent sign
380x260o4600100110&&Ampersand
390x270o4700100111''Apostrophe (single quote)
400x280o5000101000(—Left parenthesis
410x290o5100101001)—Right parenthesis
420x2A0o5200101010*—Asterisk
430x2B0o5300101011+—Plus sign
440x2C0o5400101100,—Comma
450x2D0o5500101101-—Hyphen-minus
460x2E0o5600101110.—Full stop (period)
470x2F0o5700101111/—Slash (solidus)
480x300o60001100000—Digit 0
490x310o61001100011—Digit 1
500x320o62001100102—Digit 2
510x330o63001100113—Digit 3
520x340o64001101004—Digit 4
530x350o65001101015—Digit 5
540x360o66001101106—Digit 6
550x370o67001101117—Digit 7
560x380o70001110008—Digit 8
570x390o71001110019—Digit 9
580x3A0o7200111010:—Colon
590x3B0o7300111011;—Semicolon
600x3C0o7400111100<&lt;Less-than sign
610x3D0o7500111101=—Equals sign
620x3E0o7600111110>&gt;Greater-than sign
630x3F0o7700111111?—Question mark
640x400o10001000000@—At sign
650x410o10101000001A—Uppercase letter A
660x420o10201000010B—Uppercase letter B
670x430o10301000011C—Uppercase letter C
680x440o10401000100D—Uppercase letter D
690x450o10501000101E—Uppercase letter E
700x460o10601000110F—Uppercase letter F
710x470o10701000111G—Uppercase letter G
720x480o11001001000H—Uppercase letter H
730x490o11101001001I—Uppercase letter I
740x4A0o11201001010J—Uppercase letter J
750x4B0o11301001011K—Uppercase letter K
760x4C0o11401001100L—Uppercase letter L
770x4D0o11501001101M—Uppercase letter M
780x4E0o11601001110N—Uppercase letter N
790x4F0o11701001111O—Uppercase letter O
800x500o12001010000P—Uppercase letter P
810x510o12101010001Q—Uppercase letter Q
820x520o12201010010R—Uppercase letter R
830x530o12301010011S—Uppercase letter S
840x540o12401010100T—Uppercase letter T
850x550o12501010101U—Uppercase letter U
860x560o12601010110V—Uppercase letter V
870x570o12701010111W—Uppercase letter W
880x580o13001011000X—Uppercase letter X
890x590o13101011001Y—Uppercase letter Y
900x5A0o13201011010Z—Uppercase letter Z
910x5B0o13301011011[—Left square bracket
920x5C0o13401011100\—Backslash
930x5D0o13501011101]—Right square bracket
940x5E0o13601011110^—Caret (circumflex)
950x5F0o13701011111_—Underscore
960x600o14001100000`—Grave accent (backtick)
970x610o14101100001a—Lowercase letter a
980x620o14201100010b—Lowercase letter b
990x630o14301100011c—Lowercase letter c
1000x640o14401100100d—Lowercase letter d
1010x650o14501100101e—Lowercase letter e
1020x660o14601100110f—Lowercase letter f
1030x670o14701100111g—Lowercase letter g
1040x680o15001101000h—Lowercase letter h
1050x690o15101101001i—Lowercase letter i
1060x6A0o15201101010j—Lowercase letter j
1070x6B0o15301101011k—Lowercase letter k
1080x6C0o15401101100l—Lowercase letter l
1090x6D0o15501101101m—Lowercase letter m
1100x6E0o15601101110n—Lowercase letter n
1110x6F0o15701101111o—Lowercase letter o
1120x700o16001110000p—Lowercase letter p
1130x710o16101110001q—Lowercase letter q
1140x720o16201110010r—Lowercase letter r
1150x730o16301110011s—Lowercase letter s
1160x740o16401110100t—Lowercase letter t
1170x750o16501110101u—Lowercase letter u
1180x760o16601110110v—Lowercase letter v
1190x770o16701110111w—Lowercase letter w
1200x780o17001111000x—Lowercase letter x
1210x790o17101111001y—Lowercase letter y
1220x7A0o17201111010z—Lowercase letter z
1230x7B0o17301111011{—Left curly brace
1240x7C0o17401111100|—Vertical bar (pipe)
1250x7D0o17501111101}—Right curly brace
1260x7E0o17601111110~—Tilde
1270x7F0o17701111111DEL—Delete^?

Sources: control names and the 128 code assignments follow RFC 20 and the Unicode U+0000 chart. HTML entities follow the WHATWG named references.

How it works

The table is a fixed lookup, not a guess. The 128 code assignments, control-character abbreviations and control names are transcribed directly from RFC 20, “ASCII format for Network Interchange”, the IETF document that made US-ASCII an Internet Standard (STD 80), and cross-checked against the Unicode Consortium's “C0 Controls and Basic Latin” code chart, which confirms ASCII maps one-to-one onto the first 128 Unicode code points (U+0000–U+007F).

Every derived column is a pure base conversion of the decimal code point n, where 0 ≤ n ≤ 127:

  • Hexadecimal: n in base 16, upper-cased and 2-padded, 65 → 41.
  • Octal: n in base 8, 65 → 101.
  • Binary: n in base 2, zero-padded to 8 bits, 65 → 01000001.

Text → codes:the tool reads your text one Unicode code point at a time (so multi-byte characters and emoji are handled cleanly). If a character's code point is 127 or below it is standard ASCII and is shown in your chosen base; anything above 127 is reported as a U+XXXX Unicode code point and left out of the ASCII code list, because ASCII simply has no code for it.

Codes → text: each token you paste is parsed by its prefix, 0x for hexadecimal, 0b for binary, 0o for octal, otherwise decimal. A whole number in range (0–127, or 0–255 when the extended panel is on) is mapped back to its character; anything non-numeric, fractional or out of range is flagged individually rather than silently dropped.

As a credibility check the page runs a small self-test on load: it re-derives every binary value with an independent bit-mask routine (never toString(2)) and round-trips all 128 codes through the browser's character encoder. The “Self-verified” badge only appears when all of those checks pass. The optional 128–255 panel uses the ISO-8859-1 (Latin-1) mapping, where the code point equals the byte value, and is captioned that “extended ASCII” is code-page dependent, not part of the 7-bit standard.

Worked examples

Text → codes: "Hi!"

  1. H → decimal 72 → hex 0x48 → octal 0o110 → binary 01001000
  2. i → decimal 105 → hex 0x69 → octal 0o151 → binary 01101001
  3. ! → decimal 33 → hex 0x21 → octal 0o41 → binary 00100001
  4. Check: 'A' = 65, so 'H' = 65 + 7 = 72 ✓; 'a' = 97, so 'i' = 97 + 8 = 105 ✓
  5. Decimal copy-all string: 72 105 33

Codes → text: mixed bases

  1. Input: 0x48 0x69 32 87 111 114 108 100
  2. 0x48 = 72 = 'H', 0x69 = 105 = 'i', 32 = space
  3. 87 = 'W', 111 = 'o', 114 = 'r', 108 = 'l', 100 = 'd'
  4. Check: 'W' = 65 + 22 = 87 ✓; 'o' = 97 + 14 = 111 ✓
  5. Decoded text: “Hi World”

Edge cases: what gets rejected

  1. -1 → out of range (below 0), flagged, not decoded
  2. 128 with the extended panel off → out of range (max 127)
  3. 65.5 → not a valid decimal number (fractional), flagged
  4. 1000000000 → out of range (far above 127)
  5. Every bad token is listed separately; valid ones still decode.

Frequently asked questions

Sources & references

The 128 code assignments and control names on this page were last cross-checked against RFC 20 and the Unicode U+0000 chart on 2026-07-10. ASCII is a frozen standard, so these values do not change year to year.

Related tools

Comments & feedback

Spotted a bug or want an improvement? Tell us, our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] , most fixes ship within 24 hours.