Allâoptical modulators, wherein signal light can be manipulated by another controlling light, have recently emerged as a promising perspective in allâoptical communications, interconnects and signal processing. Herein, by taking advantage of the strong lightâmatter interaction and thicknessâdependent direct energy bandgap in fewâlayer phosphorene, an allâfiber allâoptical modulator based on a MachâZehnder interferometer comprising fewâlayer fluorinated phosphoreneâdeposited microfiber has been devised and further demonstrated with phase modulation ability. The phase shift of the signal light, capable of being converted into intensity modulation, could be readily controlled by the photothermal effect in phosphorene. A maximal phase shift of 8Ï is obtained at a control light of 290 mW, corresponding to a conversion efficiency of 0.029 ÏÂ mWâ1. The optical information carried by the control light is successfully copied towards the signal light with a modulation depth of 17 dB and a rise time constant of 2.5 ms. Stability under ambient conditions is enhanced significantly thanks to atomistic fluorination in phosphorene that can overcome drawbacks of easy oxidation of intrinsic phosphorene and maintain performance for a long term. This prototypical phosphoreneâbased allâoptical phase modulator will have a great potential to be applied in allâoptical information processing and be integrated into optical fiber systems.