Ozil won nine trophies during his club career including four FA Cups and the Spanish La Liga title in 2012.
He also won 92 caps for Germany and was part of the team that lifted the 2014 World Cup in Brazil.
“It has been an amazing journey filled with unforgettable moments and emotions,” Ozil said in a statement on social media