We describe solid-gas phase, single-crystal-to-single-crystal, postsynthetic modifications of a metal-organic framework (MOF). Using ozone, we quantitatively transformed the olefin groups of a UiO-66-type MOF into 1,2,4-trioxolane rings, which we then selectively converted into either aldehydes or carboxylic acids.