Prime Minister Scott Morrison has gained an agreement from world leaders to put new pressure on Facebook and other social media giants to halt the spread of violent terrorism online in the wake of the Christchurch attacks in March.

The declaration at the G20 summit in Japan is a significant victory for Mr Morrison and the Australian government in demanding faster action by all companies to take down violent terror content.

The Osaka summit ended on Saturday afternoon with a warning to the social media companies to lift their standards, a message backed by all members including US President Donald Trump after months of Australian diplomatic effort.

Prime Minister Scott Morrison has persuaded world leaders to back his plan to crackdown on social media companies hosting violent terror-related material. Credit:Alex Ellinghausen

The statement from the G20 puts pressure on the companies to act immediately when contacted by authorities to remove terrorist content such as the live video of an attack or other violent posts that seek to spread terror or recruit followers.