Get your Ascii Key Codes for Javascript here.

This is a collection of just Ascii Key Codes, these are what I’ve been using when I write Javascript and using the .keypress event handlers and good old

if(event.which === 106) {

for using the j key.

What I’d really like to do are start storing a list of conventions (like j and k for up and down). I want to avoid the inconsistencies that frustrates user and creates a bad user experience. So if you are a graphic designer looking to build a good experience, start off on the right foot. The less you need to explain your interface, the better.

ascii character usage champion
48-57 0-9 Percent of film YouTube
97 a
98 b
99 c
100 d
101 e
102 f
103 g
104 h
105 i
106 j Down – Earlier GMail
107 k Up – More Recent GMail
106 j Back YouTube
107 k Pause YouTube
108 l Forward YouTube
109 m
110 n
111 o Open Gmail
112 p
113 q
114 r
115 s
116 t
117 u
118 v
119 w
120 x
121 y
122 z
91 [
92 ," "
93 ]
9 TAB
13 RETURN
27 Esc Exit (fullscreen) YouTube
32 space play/pause for videos YouTube
33 !
34 "
35 #
36 $
37 %
38 &
96 `

…needless to say, a work in progress. Now if anyone knows the ascii codes you’d use for combination keys, (ie “Ctrl + X”, “Shift + Return”…) those would be helpful.


Featured Projects

Medical Ethics Annual Report... Posted by author icon Eric Gross Apr 17th, 2016 | no responses
Fun with Vector Graphic Designs... Posted by author icon Eric Gross Sep 29th, 2015 | no responses
Marketing for better Hospitals... Posted by author icon Eric Gross Mar 26th, 2015 | no responses

Random Projects

KTVU Mobile.com 2010 Posted by author icon Eric Gross Mar 29th, 2010 | no responses
Sutter Health EHR: Print Design... Posted by author icon Eric Gross Nov 13th, 2013 | no responses