Ultrafast 4D printing (<30 s) of responsive polymers is reported. Visible-light-triggered polymerization of commercial monomers defines digitally stress distribution in a 2D polymer film. Releasing the stress after the printing converts the structure into 3D. An additional dimension can be incorporated by choosing the printing precursors. The process overcomes the speed limiting steps of typical 3D (4D) printing.