Diamond features a unique combination of outstanding physical properties perfect for numerous x-ray optics applications, where traditional materials such as silicon fail to perform. In the last two decades, impressive progress has been achieved in synthesizing diamond with high crystalline perfection, in manufacturing efficient, resilient, high-resolution, wavefront-preserving diamond optical components, and in implementing them in cutting-edge x-ray instruments. Diamond optics are essential for tailoring x-rays to the most challenging needs of x-ray research. They are becoming vital for the generation of fully coherent hard x-rays by seeded x-ray free-electron lasers. In this article, we review progress in manufacturing flawless diamond crystal components and their applications in diverse x-ray optical devices, such as x-ray monochromators, beam splitters, high-reflectance backscattering mirrors, lenses, phase plates, diffraction gratings, bent-crystal spectrographs, and windows.