Photoelectrochemical (PEC) etching is preferred to produce micro-and nano-structures for constructing Ga2O3-based electronics and optoelectronics, owing to its numerous controllable parameters. During the devices fabrications, beyond the wet chemical and dry (plasma) etching produces, PEC etching also leads to device degradations inordinately. In this work, the Ga2O3 thin film was PEC etched by hydrogen fluride (HF) etchant, and its opto-electric deep-ultraviolet sensing performances, including photo-to-dark current ratio, responsivity, and response speed, before and after PEC etching were analyzed and discussed.