Federer claimed his last grand slam title at Wimbledon in 2012 and has featured in just one grand slam final since then.
However, having dispatched of world number one Novak Djokovic with some ease in the final of the Dubai Tennis Championship late last month, Federer reminded the tennis community what he is capable.
"I feel like I am playing very well," Federer said ahead of this week's BNP Paribas Open at Indian Wells.
"I am serving as good as I ever have, I am playing very good attacking tennis and I am playing very committed, which is maybe something I haven't always done throughout my career."
Federer believes that he's playing with more confidence than he did when he was younger.
"(Ten years ago) I felt like I was more insecure with my game, I was more worried about a bad day.
"Today I don't feel like I have that many bad days any more. Maybe sometimes you just come out and it's just not working. That sometimes happens and it happened very few times in the years when I was very dominant."
Federer heads to this week's event in Indian Wells looking to add to the four titles he has won at the event, including three in a row from 2004-2006.