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
00x000o000000000NULNull^@
10x010o100000001SOHStart of Heading^A
20x020o200000010STXStart of Text^B
30x030o300000011ETXEnd of Text^C
40x040o400000100EOTEnd of Transmission^D
50x050o500000101ENQEnquiry^E
60x060o600000110ACKAcknowledge^F
70x070o700000111BELBell^G
80x080o1000001000BSBackspace^H
90x090o1100001001HTHorizontal Tab^I
100x0A0o1200001010LFLine Feed^J
110x0B0o1300001011VTVertical Tab^K
120x0C0o1400001100FFForm Feed^L
130x0D0o1500001101CRCarriage Return^M
140x0E0o1600001110SOShift Out^N
150x0F0o1700001111SIShift In^O
160x100o2000010000DLEData Link Escape^P
170x110o2100010001DC1Device Control 1 (XON)^Q
180x120o2200010010DC2Device Control 2^R
190x130o2300010011DC3Device Control 3 (XOFF)^S
200x140o2400010100DC4Device Control 4^T
210x150o2500010101NAKNegative Acknowledge^U
220x160o2600010110SYNSynchronous Idle^V
230x170o2700010111ETBEnd of Transmission Block^W
240x180o3000011000CANCancel^X
250x190o3100011001EMEnd of Medium^Y
260x1A0o3200011010SUBSubstitute^Z
270x1B0o3300011011ESCEscape^[
280x1C0o3400011100FSFile Separator^\
290x1D0o3500011101GSGroup Separator^]
300x1E0o3600011110RSRecord Separator^^
310x1F0o3700011111USUnit Separator^_
320x200o4000100000Space
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)
480x300o60001100000Digit 0
490x310o61001100011Digit 1
500x320o62001100102Digit 2
510x330o63001100113Digit 3
520x340o64001101004Digit 4
530x350o65001101015Digit 5
540x360o66001101106Digit 6
550x370o67001101117Digit 7
560x380o70001110008Digit 8
570x390o71001110019Digit 9
580x3A0o7200111010:Colon
590x3B0o7300111011;Semicolon
600x3C0o7400111100<&lt;Less-than sign
610x3D0o7500111101=Equals sign
620x3E0o7600111110>&gt;Greater-than sign
630x3F0o7700111111?Question mark
640x400o10001000000@At sign
650x410o10101000001AUppercase letter A
660x420o10201000010BUppercase letter B
670x430o10301000011CUppercase letter C
680x440o10401000100DUppercase letter D
690x450o10501000101EUppercase letter E
700x460o10601000110FUppercase letter F
710x470o10701000111GUppercase letter G
720x480o11001001000HUppercase letter H
730x490o11101001001IUppercase letter I
740x4A0o11201001010JUppercase letter J
750x4B0o11301001011KUppercase letter K
760x4C0o11401001100LUppercase letter L
770x4D0o11501001101MUppercase letter M
780x4E0o11601001110NUppercase letter N
790x4F0o11701001111OUppercase letter O
800x500o12001010000PUppercase letter P
810x510o12101010001QUppercase letter Q
820x520o12201010010RUppercase letter R
830x530o12301010011SUppercase letter S
840x540o12401010100TUppercase letter T
850x550o12501010101UUppercase letter U
860x560o12601010110VUppercase letter V
870x570o12701010111WUppercase letter W
880x580o13001011000XUppercase letter X
890x590o13101011001YUppercase letter Y
900x5A0o13201011010ZUppercase letter Z
910x5B0o13301011011[Left square bracket
920x5C0o13401011100\Backslash
930x5D0o13501011101]Right square bracket
940x5E0o13601011110^Caret (circumflex)
950x5F0o13701011111_Underscore
960x600o14001100000`Grave accent (backtick)
970x610o14101100001aLowercase letter a
980x620o14201100010bLowercase letter b
990x630o14301100011cLowercase letter c
1000x640o14401100100dLowercase letter d
1010x650o14501100101eLowercase letter e
1020x660o14601100110fLowercase letter f
1030x670o14701100111gLowercase letter g
1040x680o15001101000hLowercase letter h
1050x690o15101101001iLowercase letter i
1060x6A0o15201101010jLowercase letter j
1070x6B0o15301101011kLowercase letter k
1080x6C0o15401101100lLowercase letter l
1090x6D0o15501101101mLowercase letter m
1100x6E0o15601101110nLowercase letter n
1110x6F0o15701101111oLowercase letter o
1120x700o16001110000pLowercase letter p
1130x710o16101110001qLowercase letter q
1140x720o16201110010rLowercase letter r
1150x730o16301110011sLowercase letter s
1160x740o16401110100tLowercase letter t
1170x750o16501110101uLowercase letter u
1180x760o16601110110vLowercase letter v
1190x770o16701110111wLowercase letter w
1200x780o17001111000xLowercase letter x
1210x790o17101111001yLowercase letter y
1220x7A0o17201111010zLowercase letter z
1230x7B0o17301111011{Left curly brace
1240x7C0o17401111100|Vertical bar (pipe)
1250x7D0o17501111101}Right curly brace
1260x7E0o17601111110~Tilde
1270x7F0o17701111111DELDelete^?

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

Rate this tool
Be the first to rate

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.