The precise, rapid and direct visualization of 3D topographical dose in the target tissue that is crucial for effective radiation therapy remains a challenge. Herein, by combining hydrogel photonic crystals with film stacking or 3D printing, a 3D radiochromic dosimeter with a dose sensitivity of up to 10 nm Gy