The invention discloses a wind power generator comprising a tower, a first wind wheel, a cabin, a first wheel hub, a first main shaft, a first generator set and a yaw driving system, wherein the first wind wheel comprises a plurality of vanes, the cabin is installed on the tower, the first wheel hub is used for installing the first wind wheel, the first main shaft extends out of one end of the cabin, the first generator set is arranged in the cabin, and the yaw driving system is arranged at the lower end of the cabin; and one end of the first main shaft is connected with the first wheel hub, and the other end of the first main shaft is connected with the first generator set through a first drive system. The wind power generator also comprises a first wind wheel, a second wheel hub, a second main shaft and a second generator set, wherein the first wind wheel comprises a plurality of vanes, the second wheel hub is used for installing the second wind wheel, the second main shaft extends out of the other end of the cabin, and the second generator set is arranged in the cabin; and one end of the second main shaft is connected with the second wheel hub, and the other end of the second main shaft is connected with the second generator set through a second drive system. The wind power generator has low cost and can effectively improve the utilization rate of wind energy.