A key processing machine, comprising: an automatic cutter change device , key bitting code learning device , a clamp component and a base , wherein the automatic cutter change device comprises a frame structure , a cutter head , a rotary disc and a first motor unit, wherein the rotary disc is fitted with a plurality of chambers used to accommodate the cutter head , wherein the cutter head is installed in the chambers , wherein the rotary disc and the first motor unit are installed on the frame structure , wherein the first motor unit drives the rotary disc to rotate and further drive the cutter head on the rotary disc to rotate, wherein the key bitting code learning device comprises a cutter disc measuring head and a first drive component, wherein one end of the cutter disc measuring head is used to bring the contact part into contact with the original key bit, wherein the first drive component drives the cutter disc measuring head to move and further drive the said contact part to make contact with or break away from the bit of the original key, wherein the clamp component comprises a second motor unit and a fixing device, wherein the fixing device is used to hold in place the original key or the key blank that needs processing, wherein the second motor unit drives the fixing device to move on a horizontal plane, wherein the base is fitted with the automatic cutter change device , wherein the automatic cutter change device and the key bitting code learning device are arranged on either side of the clamp component , wherein the automatic cutter change device or the key bitting code learning device will learn the shape of the original key positioned on the clamp component , or process the key blank positioned on the said clamp component to be processed. the automatic cutter change device comprises a frame structure , a cutter head , a rotary disc and a first motor unit, wherein the rotary disc is fitted with a plurality of chambers used to accommodate the cutter head , wherein the cutter head is installed in the chambers , wherein the rotary disc and the first motor unit are installed on the frame structure , wherein the first motor unit drives the rotary disc to rotate and further drive the cutter head on the rotary disc to rotate, wherein the key bitting code learning device comprises a cutter disc measuring head and a first drive component, wherein one end of the cutter disc measuring head is used to bring the contact part into contact with the original key bit, wherein the first drive component drives the cutter disc measuring head to move and further drive the said contact part to make contact with or break away from the bit of the original key, wherein the clamp component comprises a second motor unit and a fixing device, wherein the fixing device is used to hold in place the original key or the key blank that needs processing, wherein the second motor unit drives the fixing device to move on a horizontal plane, wherein the base is fitted with the automatic cutter change device , wherein the automatic cutter change device and the key bitting code learning device are arranged on either side of the clamp component , wherein the automatic cutter change device or the key bitting code learning device will learn the shape of the original key positioned on the clamp component , or process the key blank positioned on the said clamp component to be processed. <EOS>