Send to

Choose Destination
Behav Res Methods. 2015 Mar;47(1):1-12. doi: 10.3758/s13428-014-0458-y.

jsPsych: a JavaScript library for creating behavioral experiments in a Web browser.

Author information

Department of Psychological & Brain Science, Cognitive Science Program, Indiana University, Bloomington, IN, USA,


Online experiments are growing in popularity, and the increasing sophistication of Web technology has made it possible to run complex behavioral experiments online using only a Web browser. Unlike with offline laboratory experiments, however, few tools exist to aid in the development of browser-based experiments. This makes the process of creating an experiment slow and challenging, particularly for researchers who lack a Web development background. This article introduces jsPsych, a JavaScript library for the development of Web-based experiments. jsPsych formalizes a way of describing experiments that is much simpler than writing the entire experiment from scratch. jsPsych then executes these descriptions automatically, handling the flow from one task to another. The jsPsych library is open-source and designed to be expanded by the research community. The project is available online at .

[Indexed for MEDLINE]

Supplemental Content

Full text links

Icon for Springer
Loading ...
Support Center