The invention provides a cloth feeding mechanism with a stitch length adjusting function. The cloth feeding mechanism comprises a main shaft and a cloth feeding shaft parallel to the main shaft. The main shaft is eccentrically sleeved with a cloth feeding connecting rod, and the end, away from the main shaft, of the cloth feeding connecting rod is hinged to the end of a first small connecting rod and the end of a second small connecting rod through a cloth feeding connecting rod pin. The end, away from the cloth feeding connecting rod pin, of the first small connecting rod is hinged to one end of a stitch length swing rod, a rotating shaft parallel to the main shaft is arranged in the middle of the stitch length swing rod, the stitch length swing rod is further connected with a stitch length adjusting component, and the stitch length adjusting component drives the stitch length swing rod to rotate around the rotating shaft of the stitch length swing rod. The end, away from the cloth feeding connecting rod pin, of the second small connecting rod is hinged to the end of a cloth feeding swing rod, the cloth feeding swing rod is fixed to the cloth feeding shaft, the cloth feeding shaft is further fixedly sleeved with a cloth feeding crank, the cloth feeding crank is connected with a main cloth feeding dog frame through a connecting rod, and the main cloth feeding dog frame is fixedly connected with a main cloth feeding dog and moves back and forth in the direction parallel to the extending direction of the main cloth feeding dog under driving of the cloth feeding crank.