Abstract The transition densities of the 0 + → 2 1 + and 0 + → 2 2 + transitions in 34S have been determined by an inelastic electron-scattering experiment covering a momentum transfer range 0.5 fm −1 < q < 2.5 fm −1. The cross sections were analysed model-independently by a Fourier-Bessel expansion. The resulting B(E2) values are in good agreement with adopted values from previous experiments. The deduced transition radii follow the systematics of E2 transitions. Shell-model calculations predict the form factor of the first 2 + state reasonably while they do not give the correct position of the diffraction minimum for the 2 2 + state.