One of the main features of PsyToolkit is that you can create and run cognitive psychological experiments in your browser. Here are a number of ready-to-use demos using this technology.

milestone exps1 milestone exps2

This library has now more than 25 experiments that you can try yourself in your browser (no plugins or other software needed). Each experiment can be used and modified and even embedded in your own online data-collection project.

See also the survey library for running online questionnaires in which you can embed experiments.

What you can do

You can do two types of things with each experiment in this library.

What you can do with the experiments in this library
  1. Simply just learn a about an experiment

    • Short explanation provided

    • Internet links provided to useful sites

    • References provided at bottom of each page

  2. Run the demo experiment in your browser

    • Just experience and see what happens

    • Understand how it works by doing it (an illustration is often more useful than a long text!)

    • At the end, see your own scores (you typically will get builtin-feedback)

    • At the end, you can copy your own response time/error data for your own offline analysis

  3. Use the experiments for your own research project

    • You can learn from looking at the scripts how to develop your own experiments.

    • You can download the experiment and upload in your own PsyToolkit online account (Watch a video on how to do that).

    • Or, you can download the experiment and and compile it on your own Linux computer.

    • Of course, when you run your own version based on the provided code, you can make all sorts of changes.

    • You can use your own experiment and embed it in a PsyToolkit survey, and so collect data online using the PsyToolkit server.

Using the code

Here are the steps to take if you want to use the code in your own project:

  1. Make sure you have registered a (free) PsyToolkit account via

  2. Download the zip file from the library (each experiment has a runnable demo and a downloadable zip file of the experiment).

  3. Go to your PsyToolkit account, and create a new experiment (select "From a PsyToolkit experiment file (zip format)").

  4. Compile your experiment and run it and see how it works.

List of experiments

List of experiments without keyboard use (touch-screen friendly)

In principle, most experiments can be made touch/mouse friendly. Most cognitive psychological experiments use, however, keyboards because they give more precise reaction time measurements. Even so, this is great for demonstrations and seems to work well.