Metasurfaces attracted extensive interests due to their outstanding ability to manipulate the wavefront at a subwavelength scale. In this study, we demonstrated quasi-freeform metasurfaces in which the radius, location, and height of the nanocylinder building blocks were set as optimized structure parameters, providing more degrees of freedom compared with traditional gradient metasurfaces. Given a desired wavefront shaping objective, these structure parameters can be collectively optimized utilizing a hybrid optimized algorithm. To demonstrate the versatility and feasibility of our method, we firstly proposed metasurfaces with deflecting efficiencies ranging from 86.2% to 94.8%, where the deflecting angles can vary in the range of 29°–75.6°. With further study, we applied our concept to realize a variety of high-efficiency, wide-angle, equal-power beam splitters. The total splitting efficiencies of all the proposed beam splitters exceeded 89.4%, where a highest efficiency of 97.6%, a maximum splitting angle of 75.6°, and a splitting uniformity of 0.33% were obtained. Considering that various deflecting angles, and various splitting channels with different splitting angles, can be realized by setting the optical response of metasurfaces as the optimization target, we believe that our method will provide an alternative approach for metasurfaces to realize desired wavefront shaping.