Raniero Capocci, also known as Ranieri, Rainier, or Rainerio da Viterbo (c. 1180-1190 – 27 May 1250) was an Italian cardinal and military leader, a fierce adversary of emperor Frederick II.