A machine for making filled pasta products, comprising a first feeding device for feeding a first layer of pasta dough and a second feeding device for feeding a second layer of pasta dough; a shaping device for shaping the filled pasta products, located downstream of the first and second feeding devices (9, 10), with reference to the direction of unrolling the first and second layers (7, 8) of pasta dough; the shaping device being configured to advance the first and second layers (7, 8) of pasta dough and being also configured, while it advances them, to shape the first and second layers (7, 8) in such a way as to receive a respective filling and to join the first and second layers (7, 8) of dough in a respective joining zone; the shaping device being configured to cut the first and second layers (7, 8), individually separating each product from the first and second layers (7, 8) of dough; the shaping device comprising a first and a second advancing and shaping roller (23, 24) for the first and the second layer (7, 8), respectively, disposed to face and be tangent to each other at a coupling station for coupling the first and the second layer (7, 8) around a respective filling; wherein the first and second rollers (23, 24) of the shaping device each have on the peripheral surface respective moulds (23b, 24b) for shaping the respective first and second layer of dough (7, 8) so as to be able to receive the filling; the moulds (23b, 24b) of the first and second roller (23, 24) comprise respective hollows (37, 38) which are shaped to receive the respective layers of dough (7, 8) and respective pressing zones (53, 54) for pressing the respective first and second layer of dough (7, 8) and surrounding the respective hollow (37, 38); characterised in that the shaping device further comprises a cutting roller acting in conjunction with one of either the first or the second roller (23, 24), in particular with the second roller; the cutting roller and the roller of the shaping device it acts in conjunction with, in particular the second roller, being tangent to each other at a cutting station where each product is separated from the first and the second layer (7, 8) of dough; wherein the cutting roller has on its peripheral surface respective cutting edges shaped to cut the dough layers (7, 8) at their sealing zone; wherein the cutting edges are shaped to match the moulds of the roller of the shaping device it acts in conjunction with, relative in particular to the moulds of the second roller, in such a way as to oppose them along the perimeter of the pressing zone of the respective mould. wherein the first and second rollers (23, 24) of the shaping device each have on the peripheral surface respective moulds (23b, 24b) for shaping the respective first and second layer of dough (7, 8) so as to be able to receive the filling; the moulds (23b, 24b) of the first and second roller (23, 24) comprise respective hollows (37, 38) which are shaped to receive the respective layers of dough (7, 8) and respective pressing zones (53, 54) for pressing the respective first and second layer of dough (7, 8) and surrounding the respective hollow (37, 38); characterised in that the shaping device further comprises a cutting roller acting in conjunction with one of either the first or the second roller (23, 24), in particular with the second roller; the cutting roller and the roller of the shaping device it acts in conjunction with, in particular the second roller, being tangent to each other at a cutting station where each product is separated from the first and the second layer (7, 8) of dough; wherein the cutting roller has on its peripheral surface respective cutting edges shaped to cut the dough layers (7, 8) at their sealing zone; wherein the cutting edges are shaped to match the moulds of the roller of the shaping device it acts in conjunction with, relative in particular to the moulds of the second roller, in such a way as to oppose them along the perimeter of the pressing zone of the respective mould.