Brazil qualified top of Group A with seven points after beating Cameroon 4-1 in Brasilia on Monday and will now face Chile in the round of 16.
Mexico also qualified with seven points but had to settle for second place as a result of an inferior goal difference, despite defeating Croatia 3-1 in Recife.
Miguel Herrera's men will now face Netherlands in the round of 16.
Netherlands emerged as winners of Group B with maximum points after beating rivals Chile 2-0 in Sao Paulo on Monday, booking a round of 16 clash with Group A runners-up Mexico.
Despite their defeat Chile were already assured of qualification, and as Group B runners-up they will now take on hosts Brazil in Belo Horizonte on Saturday.
Colombia wrapped up top spot in Group C with their third consecutive group win, comfortably beating Japan 4-1 in Cuiaba to set up a round of 16 clash with Uruguay at the Maracana on Saturday.
Greece dramatically leapfrogged Cote d'Ivoire into second place by beating the Africans 2-1 in Fortaleza on Tuesday, and they will now face Costa Rica in the round of 16.
Costa Rica emerged as the surprise winners of Group D with seven points, despite being held to a goalless draw with England in Belo Horizonte on Tuesday, and will face Greece in the round of 16.
Uruguay saw off Italy 1-0 in Natal to set up a round of 16 clash with Group C winners Colombia at the Maracana on Saturday, courtesy of Diego Godin's 81st-minute header.
France took just two matches to all-but book their place in the round of 16 in emphatic style, scoring eight goals, and their goal difference makes it hard to see them finishing as anything less than group winners, unless they lost embarrassingly to Ecuador at the Maracana on Wednesday.
The South Americans must at least match the result of Switzerland against already eliminated Honduras to go through as runners-up.
Ottmar Hitzfeld's men have paid the price for their heavy 5-2 defeat to France and their poor goal difference means they must beat Honduras and hope for a favour in Group E's other match.
Group F is already clearly defined, with Argentina through after taking maximum points from their first two matches and Nigeria only a point away from joining them.
The two sides meet on Wednesday in Porto Alegre, with the Super Eagles needing a win to top the group and Alejandro Sabella's men needing a point to do the same. A draw would see both qualify.
Iran still harbour hopes of making the round of 16 but must beat already eliminated Bosnia-Herzegovina while hoping Argentina defeat Nigeria. There also needs to be a two-goal swing in goal-difference in the Asian side's favour.
Every team in Group G is still alive, though Germany and USA face each other in Recife on Thursday knowing that a draw will see both into the last 16.
Germany sit top of the group courtesy of a superior goal difference and know that, even in defeat, a considerable goal swing would be required to prevent them going through as runners-up at worst.
Both Ghana and Portugal will hope for a Germany win, as it would mean a win in Brasilia on Thursday would give either a chance of overhauling USA in the race for second place, though Portugal's poor goal difference counts against them.
Belgium needed just two matches to qualify from the group stage of their first World Cup since 2002, and only an unlikely combination of results can deny them top spot.
Algeria, in second, know a point will likely see them qualify as runners-up but can still go through as winners if they beat Russia and Belgium lose to South Korea.
Russia remain masters of their own destiny but know only a win against Algeria will see them advance, while South Korea need a handsome win against the group leaders and favours elsewhere to stay in the tournament.