Both teams were already assured of progress and the game lacked intensity until Fer produced a prodigious leap to head home Daryl Janmaat’s angled cross two minutes after coming on.
Depay then ran on to a telling Arjen Robben pass to complete the win in stoppage-time,
The Netherlands, beaten finalists in 2010, will now play the runners-up from Group A, Mexico, while Chile, who finished second on six, will play the Group A winners, Brazil.
There were some nice moments for Australia, but, in general, they were far outclassed by a Spain side that won the 2010 World Cup and was expected to be a contender this year. It wasn’t meant to be, however, as Spain had a disastrous opener against Holland and followed that with a loss to Chile.
Spain finishes third in Group B, ahead of Australia but behind the Netherlands and Chile.