A CNC food processing machine for squeezing and decorating foods comprises at least a base, a first moving frame, a second moving frame, a decorating tip and a controller. The base comprises a track on both sides. The first moving frame is disposed on both sides of the track so as to move back and forth along a first direction. The second moving frame is disposed on an upper track of the first moving frame so as to move back and forth along a second direction. The decorating tip is connected to the second moving frame by a retractable tube so as to move back and forth along a third direction. A controller controls the first moving frame, the second moving frame and the retractable tube moving back and forth along the first, second and third direction respectively, and controls the decorating tip squeezing a ingredient onto the food, wherein the controller is further connected to a cloud system for receiving a design so as to decorate the food according to the design.本發明係揭露一種兼具擠製及裝飾功能之CNC食品加工機至少包含基座、第一移動架、第二移動架、裝飾加工擠製頭及控制器。基座包含兩側滑軌。第一移動架設置於基座之兩側滑軌上,以使得第一移動架沿著第一軸向往復移動。第二移動架設置於第一移動架之上滑軌上,以使得第二移動架沿著第二軸向往復移動。裝飾加工擠製頭藉由伸縮套管連接第二移動架以沿著第三軸向往復移動。控制器則控制第一移動架、第二移動架及伸縮套管各別沿著第一軸向、第二軸向及第三軸向往復移動,並且控制裝飾加工擠製頭中之食材擠至食物之表面。其中,控制器更可連接雲端資訊服務系統以接收並依據設計圖對食物之表面進行裝飾動作。10‧‧‧基座11‧‧‧兩側滑軌12‧‧‧承載面20‧‧‧第一移動架21‧‧‧上滑軌30‧‧‧第二移動架40、41‧‧‧裝飾加工擠製頭50‧‧‧伸縮套管60‧‧‧控制器70‧‧‧轉盤80‧‧‧擠製頭放置架