Spin-based electronics or spintronics relies on the ability to store, transport and manipulate electron spin polarization with great precision. In its ultimate limit, information is stored in the spin state of a single electron, at which point quantum information processing also becomes a possibility. Here, we demonstrate the manipulation, transport and readout of individual electron spins in a linear array of three semiconductor quantum dots. First, we demonstrate single-shot readout of three spins with fidelities of 97% on average, using an approach analogous to the operation of a charge-coupled device (CCD). Next, we perform site-selective control of the three spins, thereby writing the content of each pixel of this 'single-spin charge-coupled device'. Finally, we show that shuttling an electron back and forth in the array hundreds of times, covering a cumulative distance of 80 μm, has negligible influence on its spin projection. Extrapolating these results to the case of much larger arrays points at a diverse range of potential applications, from quantum information to imaging and sensing.