The path planning of traditional spot welding mostly uses manual teaching method. Here, a new model of path planning is established from two aspects of welding length and welding time. Then a multi-objective grey wolf optimization algorithm with density estimation (DeMOGWO) is proposed to solve multi-object discrete problems. The algorithm improves the coding method and operation rules, and sets the density estimation mechanism in the environment update. By comparing with other five algorithms on the benchmark problem, the simulation results show that DeMOGWO is competitive which takes into account both diversity and convergence. Finally, the DeMOGWO algorithm is used to solve the model established of path planning. The Pareto solution obtained can be used to guide the welding sequence of body-in-white(BIW) workpieces.