Disclosed is a wind power generator. The wind power generator according to an embodiment of the present invention includes a rotor having a hub and a plurality of blades connected to the hub; a nacelle connected to the rotor to be able to rotate; a tower supporting the nacelle; a lifting member lifting an object with the nacelle; and an anti-collision member moved vertically together with the object to prevent the object from colliding against the tower by the elastic damping operation. One end portion of the anti-collision member is detachably connected to the object or a lifting wire, and the other end is connected to the tower to be moved vertically. A first magnet is coupled to the object or the lifting wire, and a second magnet is coupled to one end portion of the anti-collision member, and is coupled to the object or the lifting wire by the magnetic attraction acting between the first and second magnets.