A binary optical element is designed based on computer generated hologram for shaping the profile of laser beam from Gaussian to top-hat. As it is a binary optics, so the diffraction efficiency is four times than the holographic one's. The approach is easy in fabrication. The design and experimental results are presented.