KeyCode For developers

This resources help you, when you write validation code in javascript etc..

key = keycode

a = 97

b = 98

c = 99

d = 100

e = 101

f = 102

g = 103

h = 104

i = 105

j = 106

k = 107

l = 108

m = 109

n = 110

o = 111

p = 112

q = 113

r = 114

s = 115

t = 116

u = 117

v = 118

w = 119

x = 120

y = 121

z = 122



0 = 48

1 = 49

2 = 50

3 = 51

4 = 52

5 = 53

6 = 54

7 = 55

8 = 56

9 = 57



' = 39

, = 44

- = 45

. = 46

/ = 47

: = 58

= = 61

[ = 91

\ = 92

] = 93

` = 96



return = = 13

escape = = 27

space bar = = 32


Shift+key=value=Keycode

shift + a = A = 65

shift + b = B = 66

shift + c = C = 67

shift + d = D = 68

shift + e = E = 69

shift + f = F = 70

shift + g = G = 71

shift + h = H = 72

shift + i = I = 73

shift + j = J = 74

shift + k = K = 75

shift + l = L = 76

shift + m = M = 77

shift + n = N = 78

shift + o = O = 79

shift + p = P = 80

shift + q = Q = 81

shift + r = R = 82

shift + s = S = 83

shift + t = T = 84

shift + u = U = 85

shift + v = V = 86

shift + w = W = 87

shift + x = X = 88

shift + y = Y = 89

shift + z = Z = 90



shift + 0 = ) = 41

shift + 1 = ! = 33

shift + 2 = @ = 64

shift + 3 = # = 35

shift + 4 = $ = 36

shift + 5 = % = 37

shift + 6 = ^ = 94

shift + 7 = & = 38

shift + 8 = * = 42

shift + 9 = ( = 40



shift + - = _ = 95

shift + = = + = 43

shift + \ = | = 124

shift + [ = { = 123

shift + ] = } = 125

shift + ; = ; = 59

shift + ' = " = 34

shift + , = < = 60

shift + . = > = 62

shift + / = ? = 63

shift + ` = ~ = 126


Comments

Author: Mohammad Irfan29 May 2008 Member Level: Gold   Points : 2

Cud u tel me what is the keycode for TAB.

Author: Kumar Velu30 May 2008 Member Level: Gold   Points : 2

thanks...

Author: mahendra30 May 2008 Member Level: Gold   Points : 2

Hi Irfan

key code for tab-48.

Author: Sonu Fernandes30 May 2008 Member Level: Silver   Points : 2

Thank you, Mahendra.. keep it up. :)

Author: kota ramireddy22 Sep 2011 Member Level: Bronze   Points : 0

can u tell me what is the key code for shift + tab

Author: kota ramireddy22 Sep 2011 Member Level: Bronze   Points : 0

can u tell me what is the key code for shift + tab



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: