Conformal transformations are used in order to analyze the structure of a given spacetime. One can map a formally infinite spacetime to a compact interval, and study its properties there. This process is referred to as "conformal compactification", and enables one to draw Penrose diagrams. They serve to identify and classify horizons, infinities and singularities and are popular for various spacetimes such as Minkowski space and Schwarzschild black holes.
For example, Minkowski space, given by
can be conformally compactified by a change of coordinates from $(r,t)$ to $(u,v)$ by the transformations
which leads to
Due to the nature of the $\arctan$ function, the coordinates will now take on values on the interval $(-\pi/2,\pi/2)$ and are hence compact.
Another part of GR where conformal invariance plays a role regards curvature: the traceless part of the Riemann tensor, i.e. the Weyl tensor, is conformally invariant.
Further applications of conformal invariance related to general relativity include string theory, which is conformally invariant on the string worldsheet, and the AdS/CFT correspondence, where a string theory on a 5-dimensional AdS space is equivalent to a 4-dimensional (supersymmetric) conformal field theory. In certain coupling limits of this duality, the string theory part reduces to supergravity, which again reproduces standard general relativity once one breaks supersymmetry. Such models are used for example to describe duals of QCD-like theories within holography.