A biphasic anodic oxidation method for aromatic halogenation process was developed, where aqueous metal salts were directly used as halogen source. Ammonium salts serve as both electrolytes and phase transfer catalysis to facilitate anion transport and oxidative transformation. This design allows for chlorination or nitration of multiple types of arenes using NaCl or KNO2.