Spray coating is widely used in catalysis and electrocatalysis to deposit catalyst layers onto gas diffusion electrodes (GDEs), which are key components in CO2 electroreduction, water electrolysis, and fuel cells. However, GDEs are often fabricated manually using handheld airbrushes, making the deposition process highly dependent on operator skill and leading to variations in catalyst loading, coating uniformity, and performance. Although automated systems improve reproducibility, their high cost limits their adoption in research laboratories. Furthermore, coating quality remains strongly dependent on process parameters such as nozzle trajectory, scanning speed, line spacing, and pass overlap. To address these challenges, this work presents 2D SprayPath, an open-source tool for automating and standardizing spray coating through parameterized trajectories in the x–y plane. The software enables precise control of deposition parameters and automatically generates G-code for motion systems. Users can define coating dimensions, spray width, line spacing, scanning velocity, nozzle height, and substrate geometry, while visualizing the deposition pattern prior to execution. The tool was validated using a modified 3D-printer platform with an airbrush-based system for depositing catalytic inks used in GDE fabrication. Planned and measured trajectory parameters showed deviations below 1%, demonstrating high positional accuracy and robust pattern reproduction. This approach improves catalyst layer consistency and enables reproducible manufacturing of gas diffusion electrodes while reducing operator-dependent variability. By facilitating reliable deposition, 2D SprayPath supports the standardization of GDE fabrication and catalyst layer preparation in catalysis laboratories. Beyond GDE production, the methodology can extend to controlled material deposition and automated surface processing applications in electrocatalysis. The code is available in the open-source GitHub repository PauloFalsetti/2D_SprayPath.