Eight drug-trafficking convicts from several countries were executed by an Indonesian firing squad in the early minutes of Wednesday, local media said, but a Filipina who was on death row with them was unexpectedly spared at the last minute.

There was no immediate official confirmation from Indonesia that the eight men had been executed, though a lawyer for two Australians among the group said they had both been shot dead.

The Brazilian government also confirmed one of its citizens had been killed as well, saying it was shocked by the second execution of a Brazilian in Indonesia in three months despite President Dilma Rousseff's personal humanitarian appeals.