A sewing machine that moves, relative to a cloth, a needle attached to a needle bar up and down based on drive force from a rotating upper shaft to form a stitch, the sewing machine comprising: a rotatable upper shaft; a needle bar arranged to be moved up and down by drive force from the rotating upper shaft; a needle attached to the needle bar; characterized in a first output generating unit, comprising: a needle-bar crank provided at the upper shaft, and a crank rod connected with the needle-bar crank and provided with a first output point at a leading end of the crank rod, the first output generating unit being arranged to reciprocate the first output point along an output axis that is arranged to swing in accordance with a swing operation of the needle by the needle-bar swing unit; a needle-bar swing unit, comprising: a second output generating unit arranged to move a second output point in an orthogonal direction to the cloth feeding direction, and a swing rod arranged to transfer a change in a position of the second output point to the needle bar, wherein the needle-bar swing unit is arranged to swing the needle bar in an orthogonal direction to a cloth feeding direction; a link unit arranged to link the first output point with the needle bar, the link unit comprising: a needle-bar holder, which needle-bar holder is fastened to the needle bar, and an assist rod having one end linked to the first output point of the crank rod and another end rotatably linked with the needle-bar holder; an output axis moving unit arranged to move the output axis in the cloth feeding direction in accordance with a swing operation of the needle-bar by the needle-bar swing unit, the output axis moving unit comprising a guide which is connected with the swing rod, and arranged to rotate around and move relative to a guide shaft extending in a vertical direction, and wherein the leading end of the crank rod is arranged to move in accordance with a movement of the guide, wherein the assist rod of the link unit is arranged to change an inclination in accordance with the movement of the output axis, and arranged to move up and down the needle bar in substantially parallel with the output axis while maintaining the inclination. a rotatable upper shaft; a needle bar arranged to be moved up and down by drive force from the rotating upper shaft; a needle attached to the needle bar; a first output generating unit, comprising: a needle-bar crank provided at the upper shaft, and a crank rod connected with the needle-bar crank and provided with a first output point at a leading end of the crank rod, the first output generating unit being arranged to reciprocate the first output point along an output axis that is arranged to swing in accordance with a swing operation of the needle by the needle-bar swing unit; a needle-bar crank provided at the upper shaft, and a crank rod connected with the needle-bar crank and provided with a first output point at a leading end of the crank rod, the first output generating unit being arranged to reciprocate the first output point along an output axis that is arranged to swing in accordance with a swing operation of the needle by the needle-bar swing unit; a needle-bar swing unit, comprising: a second output generating unit arranged to move a second output point in an orthogonal direction to the cloth feeding direction, and a swing rod arranged to transfer a change in a position of the second output point to the needle bar, wherein the needle-bar swing unit is arranged to swing the needle bar in an orthogonal direction to a cloth feeding direction; a second output generating unit arranged to move a second output point in an orthogonal direction to the cloth feeding direction, and a swing rod arranged to transfer a change in a position of the second output point to the needle bar, wherein the needle-bar swing unit is arranged to swing the needle bar in an orthogonal direction to a cloth feeding direction; a link unit arranged to link the first output point with the needle bar, the link unit comprising: a needle-bar holder, which needle-bar holder is fastened to the needle bar, and an assist rod having one end linked to the first output point of the crank rod and another end rotatably linked with the needle-bar holder; a needle-bar holder, which needle-bar holder is fastened to the needle bar, and an assist rod having one end linked to the first output point of the crank rod and another end rotatably linked with the needle-bar holder; an output axis moving unit arranged to move the output axis in the cloth feeding direction in accordance with a swing operation of the needle-bar by the needle-bar swing unit, the output axis moving unit comprising a guide which is connected with the swing rod, and arranged to rotate around and move relative to a guide shaft extending in a vertical direction, and wherein the leading end of the crank rod is arranged to move in accordance with a movement of the guide, wherein the assist rod of the link unit is arranged to change an inclination in accordance with the movement of the output axis, and arranged to move up and down the needle bar in substantially parallel with the output axis while maintaining the inclination. wherein the assist rod of the link unit is arranged to change an inclination in accordance with the movement of the output axis, and arranged to move up and down the needle bar in substantially parallel with the output axis while maintaining the inclination.