Single-shot grating-based phase-contrast imaging techniques offer additional contrast modalities based on the refraction and scattering of X-rays in a robust and versatile configuration. The utilization of a single optical element is possible in such methods, allowing the shortening of the acquisition time and increasing flux efficiency. One of the ways to upgrade single-shot imaging techniques is to utilize customized optical components, such as two-dimensional (2D) X-ray gratings. In this contribution, we present the achievements in the development of 2D gratings with UV lithography and gold electroplating. Absorption gratings represented by periodic free-standing gold pillars with lateral structure sizes from 5 µm to 25 µm and heights from 5 µm to 28 µm have shown a high degree of periodicity and defect-free patterns. Grating performance was tested in a radiographic setup using a self-developed quality assessment algorithm based on the intensity distribution histograms. The algorithm allows the final user to estimate the suitability of a specific grating to be used in a particular setup.