A strain sensor according to the present disclosure includes a flexible substrate, a rigid pattern on a side of the flexible substrate, and a conductive flexible pattern extending in a first direction on a side of the flexible substrate, in which the conductive flexible pattern overlaps the rigid pattern such that as the flexible substrate is compressed or stretched, the conductive flexible pattern is compressed or stretched, thereby changing electric resistance.