The invention discloses a grinding machine and relates to the field of industrial machinery. The grinding machine comprises a base, grinding wheels, grinding wheel casings and an engine. A switch is arranged on the base, and the grinding wheels are connected with the engine connected with the base. Two bayonets are formed in the faces, parallel to the grinding wheels, of the base respectively, supporting rods are arranged in the bayonets, the supporting rods are connected with the base through nuts, fixing plates are arranged at the corresponding positions of the supporting rods and the grinding wheels, soft gaskets are arranged between the grinding wheels and the grinding wheel casings, and the thicknesses of the soft gaskets range from 0.2mm to 0.4mm. The two bayonets, the supporting rods and the fixing plates are arranged, objects with edges to be ground can be fixed in the fixing plates, manual holding can be replaced, and the edge grinding process does not need to be watched by a specially-assigned person so that manpower can be saved, and the full-automatic mechanical process is achieved. The soft gaskets with a shock-resistant function are arranged between the grinding wheels and the grinding wheel casings, the grinding wheels are prevented from being broken due to vibration in the edge grinding process, the grinding wheels can be protected effectively, and the mechanical service life is prolonged.