To correlate the microstructure of flexible covalent organic frameworks with their flexibility is challenging. Here, the authors visually track the deformation behaviors of single covalent organic framework particles with dark-field microscopy discovering that their flexibility is dictated by the pedal motion around rigid imine bonds.