The Barcelona star claims the current Bayern Munich boss is "on another level" to any other coach he has worked with after he was transformed into a centre-back under the Spaniard
Mascherano joined Barca from Liverpool in the summer of 2010 and went on to clinch the Liga title and the Champions League in his first season at the club under the guidance of the Spanish coach.
The Argentina international has developed into an effective centre-back at Camp Nou after initially being converted to the role by Guardiola, and he feels indebted to the current Bayern Munich head coach for the impact on his career.
"I've rarely seen a group managed in the same way he pursued," he said in an article for canchallena.com.
"He reinvented me. I discovered a role I never thought I could play. As a coach, he is more than special, he is distinct, unforgettable. I'm conscious that, were it not for Guardiola, I would never have managed to play for Barca.
"I've had some very prestigious coaches. But Pep is on another level. He spreads his way of living football to you."