Faith in the United States and confidence in its president has collapsed around the world since the election of Donald Trump, new data published by the Pew Research Centre confirms.

The survey, spanning 37 nations, finds a median of just 22 per cent has confidence in Mr Trump to do the right thing in international affairs, compared with 64 per cent that had faith in former president Barack Obama during his final years in office.

In Australia, 29 per cent had faith in Mr Trump to do the right thing, compared with 89 per cent who felt that way about Mr Obama.

Of all the nations surveyed, only in Russia and Israel did faith in the US and its president increase.