The digital profile grinder consists of system unit and auxiliary unit station. The system unit is one completely closed structure with machine body, multifunctional workbench, grinding frame, slide seat, CCD detector, and electric distributor. The auxiliary unit station has dust collector, cooler, and air balancing and braking controlling station. The present invention has image distinguishing technology adopted, and has integrated on-line machine tool detection, on-line compensation, on-line grinding wheel trimming and opened multi-axial digital control. It has at most eight shafts controlled, including seven servo rotary motor shafts and one linear servo motor shaft, and has at most six linked shafts, with the controlled shafts being in different combination. The present invention is suitable for machining various complicated parts.