The device for conversion of wave energy into electrical energy consists of a supporting structure (300), the first working body (200), an anchor (500) and anchor cables (400). The supporting structure (300) is connected to the anchors (500) by anchor cables (400), while the first working body (200) is slidably connected to the supporting structure (300). The motion transformation system (100) is firmly connected to the supporting structure (300) and comprises rigid gears (101a) and (101b) toothed with gears (103a) and (103b) with rolls on one side while on the other side they are hinged to the first working body (200), on the other side of the gears (103a) and (103b) with the rolls, rigid gears (102a) and (102b) are connected at one end, while their other end is hinged to other working body (600).The gears (103a) and (103b) with rolls are connected by shafts with a multiplier that drives the generator (108) that further produces electricity. The device constructed in this way has the possibility of transport to the place of exploitation, because it floats stably on its own. The anchor system (500) is transported to the place of exploitation using a transport body (700) that also has the ability to float on its own and to submerge.