European citizens are more concerned about a so-called Brexit than the British people themselves, a survey shows.

The news comes two months before Britain votes on whether to leave the European Union. 

The survey of five European countries by TNS found 78% of Germans, more than two-thirds of Spaniards and almost six out of 10 French wanted Britain to stay in the EU. 

That far outstripped the 38% of Britons who backed staying in the union, only slightly more than the 34% who want to leave, according to TNS. Some 28% were still undecided.

The question will be put to a referendum on 23 June, when the British public will vote on whether to stay part of the 28 member European Union or strike out alone. 

The issue has split the UK government, with Prime Minister David Cameron facing fierce opposition from senior figures in his own party such as Justice Secretary Michael Gove and London Mayor Boris Johnson.

47% of Germans, 48% of Spaniards and 44% of Poles predict Britain will avoid an exit from the European Union. 

Only in France did more people expect Britain to go than not, with 52% predicting a Brexit and 48% saying the referendum will back staying. 

Asked about the consequences of of leaving, only a tenth of people in the UK said the EU's economy would improve while 38% said it would deteriorate and 21% said nothing would change. 

Their continental counterparts were less hopeful, however. Two-thirds of Germans, 43% of Spaniards, 39% of Poles and 33% of French predicted a Brexit would hurt the EU's economy. 

The survey, carried out by TNS between April 4-14 simultaneously in France, Germany, Spain, Poland and Britain, was published in French media.