In recent years, novel photoinduced phase transitions using structured pulse beams have been proposed to explore new collectively ordered electronic states and their functionalities inaccessible by conventional laser beams. The spatial mismatch between the electron system and the optical field have limited the experimental realization of spatially controllable photoinduced phase transitions. In this study, we experimentally realized a spatially modulated photoinduced superconducting (SC) state in a cuprate superconductor using optical vortex (OV) ultrafast pulses. Because the SC quenching is instantaneously driven by photoexcited quasiparticles, the OV beam profile can be transferred to the electron system without spatial matching constraints. The measurements were carried out using three-pulse time-resolved spectroscopy, in which an intense OV pulse was used for coherent quenching of superconductivity and its time evolution was observed by the pump-probe spectroscopy. The transient response after quenching by the ring-shaped OV pulse shows a spatially localized SC that remains unquenched at the dark core of the OV for a few picoseconds. We also demonstrate that OV-induced localized SC can improve the spatial resolution of transient SC imaging by a principle that is similar to that of super-resolution microscopy. The demonstration of spatially controlled photoinduced phase transitions is significant for establishing a new method for exploring novel solid-state physics and device applications.