The use of array generators has become ubiquitous in various applications such as laser fabrication, face identification, and motion sensing. The Dammann grating, a diffractive optical element, is the mainstream approach for generating uniform spot arrays. However, its limited capability and the contradiction between the performance and the complexity of fabrication hinder its application. To address this issue, an all-in-one collimating splitter based on metasurfaces is theoretically proposed by synthesizing the phase of an inverse-optimized Dammann grating and a collimating lens. Leveraging both the diffraction effect of Dammann grating and the Fourier transformation of the collimating lens, the number of spot arrays can be largely increased with a single lenslet. The proposed design shows a large field of view of 62° × 62° and a high uniformity of 1.29% in generating a spot array of 3 × 3 on a single-fiber platform, confirmed by both the scalar and full-wave simulation. Further, a larger spot array up to 15 × 15 is also derived in the far field by integrating the proposed metasurface on a 5 × 5 fiber array platform, confirmed by the scalar simulation. Our design may be transplanted to the vertical-cavity surface-emitting laser platform, and shows great potential in various applications including face identification and motion sensing.