Uruguay international Federico Valverde has extended his contract with Real Madrid until 2031, the Spanish club said on Friday.