Extracellular matrix remodelling and densification are hallmarks of fibrosis that have been challenging to study ex vivo. Visible light-induced dityrosine crosslinking of native matrix proteins in viable lung tissues has now been shown to recapitulate local stiffening that characterizes early lung injury. This stiffening led to aberrant alveolar epithelial cell differentiation, mechanosensing and nascent protein deposition.