### HTML Code ```html Top 25 Highest-Grossing Movies

Top 25 Highest-Grossing Movies of All Time

Rank Year Title Total Box Office Earnings
12009Avatar$2.923 billion
22019Avengers: Endgame$2.798 billion
31997Titanic$2.195 billion
42015Star Wars: The Force Awakens$2.068 billion
52018Avengers: Infinity War$2.048 billion
62021Spider-Man: No Way Home$1.921 billion
72003The Lord of the Rings: The Return of the King$1.142 billion
82012The Avengers$1.519 billion
92014Furious 7$1.515 billion
102016Star Wars: Rogue One$1.056 billion
112017Beauty and the Beast$1.264 billion
122010Inception$836 million
132019Frozen II$1.450 billion
142022Top Gun: Maverick$1.495 billion
152006Pirates of the Caribbean: Dead Man's Chest$1.066 billion
162011Transformers: Dark of the Moon$1.124 billion
172013Despicable Me 2$970 million
182015Minions$1.159 billion
191999The Phantom Menace$1.027 billion
202001Harry Potter and the Philosopher's Stone$974 million
212018Jurassic World: Fallen Kingdom$1.310 billion
222014Guardians of the Galaxy$773 million
232017Jumanji: Welcome to the Jungle$962 million
242008The Dark Knight$1.005 billion
252020Wonder Woman 1984$166 million