Original manuscript September 28, 2011For random collections of self-avoiding loops in two-dimensional domains, we define a simple and natural conformal restriction property that is conjecturally satisfied by the scaling limits of interfaces in models from statistical physics. This property is basically the combination of conformal invariance and the locality of the interaction in the model. Unlike the Markov property that Schramm used to characterize SLE curves (which involves conditioning on partially generated interfaces up to arbitrary stopping times), this property only involves conditioning on entire loops and thus appears at first glance to be weaker. Our first main result is that there exists exactly a one-dimensional family of ran...