abstract: One considers the general class of conformally invariant critical random curves in the plane. The multifractal distribution for the scaling and winding of the electrostatic potential lines near their boundary is derived from two-dimensional quantum gravity techniques. This applies to the O(N) and Potts models, as well as to the SLE (Stochastic Loewner Evolution).