This document describes the design of a permanent magnet linear generator for extracting energy from ocean waves. A linear generator is proposed that uses the up and down motion of waves to drive a translator part connected to a floating buoy. The translator's linear motion induces voltage in the stationary winding part of the generator. The generator is designed and modeled using MAXWELL finite element software. Analysis in MAXWELL shows the induced voltage waveform and flux distributions at different translator positions. The output is then modeled in MATLAB using a rectifier and inverter to produce a 50Hz AC voltage suitable for connecting to the grid. The design aims to improve the efficiency of wave energy extraction compared to conventional methods using mechanical systems.