Here we describe a facile preparation of chitosan-based injectable hydrogels using dynamic imine chemistry. Methods to adjust the hydrogel’s mechanical strength and its application in 3D cell culture are presented.