In contrast to the hyperactive platinum electrode, ARS modified platinum electrode presents a remarkable inertness toward adsorption and surface processes and lends it for further voltammetric applications. Measuring pyrogallol levels in samples is significant for assessing their antioxidant activity, which is crucial for understanding their potential health benefits and ability to combat oxidative stress. In addition, the excess consumption of pyrogallol can have significant negative effects on human health. A voltammetric sensor has been developed for the determination of pyrogallol using ARS modified platinum electrode. The electrode was prepared by electrodeposition of alizarin red S on a platinum electrode using cyclic voltammetry with a potential scan range of − 0.4 to 1.2 V against an Ag/AgCl quasi reference electrode for 60 cycles as optimum number of cycles. The modified electrode was characterized by CV and SEM techniques. This modified alizarin red S platinum electrode showed remarkable electrocatalytic performance and stability, resulting in a significant increase in pyrogallol oxidation current by 11.05% compared to the pyrogallol oxidative current at the unmodified platinum electrode. A well-defined oxidation peak was observed at ~ 0.40 V. The sensor exhibited a low limit of detection (LOD) of 0.28 µM and a linear standard curve covering the ranges of 1.0–40 µM and 0.01–10.0 mM pyrogallol. Extensive studies were performed to evaluate possible interferences from various organic and inorganic compounds and yielded satisfactory results that confirm the selectivity of the developed sensor for pyrogallol determination. In addition, the ARS-Pt electrode provided consistently reliable results for the accurate detection of pyrogallol in water and tomato samples.