The invention provides a grate-firing boiler with an in-boiler two-level dedusting device. The grate-firing boiler comprises a boiler body, a boiler hearth, a boiler grate, a front arch, a rear arch, a furnace arch, a crust block pipe separating device, a coal saver, an inertia separating device and an air preheater, wherein the boiler hearth, the boiler grate, the front arch, the rear arch, the furnace arch, the crust block pipe separating device, the coal saver, the inertia separating device and the air preheater are arranged in the boiler body. The grate-firing boiler is characterized in that the grate-firing boiler adopts twice separation, smoke is performed with primary separation through the crust block pipe separating device so as to separate most of crude particles and small amount of fine particles, and the crude particles and fine particles are rekindled after being fed into the boiler hearth through the furnace arch. The smoke performed with the primary separation moves downwards on the tail flue and then is returned back by the inertia separating device to be performed with secondary separation, the particles separated from the secondary separation are conveyed to the rear portion of the fire grate through air force to be rekindled. By means of the twice separation, mechanical incomplete combustion loss is reduced by 4%-6.5%, initial smoke discharging concentration of the boiler is reduced by more than 61%, abrasion of a tail heating surface is reduced, and continuous operation time of the device is added.