(CNN) US President Donald Trump inspires less trust around the world than many other international leaders, including autocrats like Russia's Vladimir Putin and China's Xi Jinping, according to a new global survey.

The poll of people in 25 countries found that just 27% of all respondents, on average, have confidence in Trump to "do the right thing in world affairs."

The most trusted international leader, by contrast, was German Chancellor Angela Merkel, who claimed the confidence of 52% of all respondents. Xi Jinping scored 34% and Vladimir Putin, 30%.

The survey was conducted among 26,112 respondents in 25 countries from May 20 to August 12 by the Pew Research Center, a nonpartisan, Washington-based think tank.

The research found overall ratings for the US role in international affairs are much lower than during Barack Obama's presidency.

Read More