In this work, a series of S-doped BiOBrxI1-x solid solutions are fabricated via a simple and rapid solvothermal process. Various characterization techniques are used to thoroughly investigate the as-fabricated solid solutions. Interestingly, compared to BiOBrxI1-x, S-doped BiOBrxI1-x solid solutions exhibit a loose flower-like structure comprised of thinner nanosheets, which contributes to the enhanced specific surface area, as assessed by Brunauer-Emmett-Teller analysis. Furthermore, S-doped BiOBrxI1-x solid solutions reveal boosted visible-light response and rapid separation of photoinduced charge carriers, as verified by optical, photo-electrochemical, and electrochemical analysis. These lead to superior visible-light photocatalytic properties of S-doped BiOBrxI1-x solid solutions on pollutant removal, N2 fixation, and microplastic degradation. The crystal structure, morphology, and photocatalytic stability of the prepared samples are demonstrated by comparing their X-ray diffraction patterns, scanning electron microscopy images, and photocatalytic degradation as well as nitrogen reduction performance before and after six catalytic recycles. Furthermore, based on Density Functional Theory simulations, significant modifications in the band gap of BiOBrxI1-x solid solutions occur as iodine content increases while sulfur doping further refines the electronic features, which aligns with the results of Tauc plots. This research proves that S doping is a viable strategy for modulating the electronic structures of BiOBrxI1-x solid solutions for improving its photocatalytic performance, and provides a new route for optimizing the bandgaps of semiconductors via the non-metallic doping strategy.