A miniature kinetic energy harvester for generating electrical energy, comprising: - a support (2, 21, 22), a movable element, at least one spring mounted between the movable element and the support (2, 21, 22) so that the movable element may be brought into oscillation relative to the support (2, 21, 22) according to at least one first direction of oscillation, - at least one electrostatic transducer (5, 6), arranged between the movable element and the support, the electrostatic transducer (5, 6) having a first comb-shaped electrode (51, 61) fixed to the support and interdigitated with a second comb-shaped electrode (52, 62) fixed to the movable element, the first fingers (511, 611) of the first comb-shaped electrode (51, 61) and the second fingers (521, 621) of the second comb-shaped electrode (52, 62) being alternatively arranged, wherein at least some of the first fingers (511, 611) and at least some of the second fingers (521, 621) comprise: - teeth (512, 612, 522, 622) on one finger side, said teeth (512, 612; 522, 622) extending parallel to said first direction of oscillation, - a flat surface (513, 613; 523, 623) on the opposite finger side, and wherein these first fingers (511, 611) and these second fingers (521, 621) are disposed such that in the electrostatic transducer (5, 6), the teeth (512, 612) of these first fingers (511, 611) are interdigitated with the teeth (522, 622) of these second fingers (521, 621) to form teeth capacitors between said first fingers and second fingers, and characterized in that the flat surfaces (513, 613) of these first fingers (511, 611) face the flat surfaces (523,623) of these second fingers (521, 621) to form flat capacitors between said first fingers and second fingers, in order to generate electrical energy with teeth capacitors and flat capacitors by variation of the capacitance of the miniature kinetic energy harvester. - a support (2, 21, 22), a movable element, at least one spring mounted between the movable element and the support (2, 21, 22) so that the movable element may be brought into oscillation relative to the support (2, 21, 22) according to at least one first direction of oscillation, - at least one electrostatic transducer (5, 6), arranged between the movable element and the support, - teeth (512, 612, 522, 622) on one finger side, said teeth (512, 612; 522, 622) extending parallel to said first direction of oscillation, - a flat surface (513, 613; 523, 623) on the opposite finger side, and wherein these first fingers (511, 611) and these second fingers (521, 621) are disposed such that in the electrostatic transducer (5, 6), the teeth (512, 612) of these first fingers (511, 611) are interdigitated with the teeth (522, 622) of these second fingers (521, 621) to form teeth capacitors between said first fingers and second fingers, and characterized in that the flat surfaces (513, 613) of these first fingers (511, 611) face the flat surfaces (523,623) of these second fingers (521, 621) to form flat capacitors between said first fingers and second fingers, in order to generate electrical energy with teeth capacitors and flat capacitors by variation of the capacitance of the miniature kinetic energy harvester.