Both countries have been given scores of 76 out of 100 on an overall assessment of open data initiatives, with Australia on 75 and France and South Korea with 72.
It follows a one point increase for the UK compared with the previous edition, while Canada’s ranking increased by eight points. However, the UK score has declined slightly from a high of 81 three years ago.
The barometer is compiled by World Wide Web Foundation and looks at the performance of 30 governments that have made commitments to champion open data, either by adopting the Open Data Charter or signing up to the G20 Anti-Corruption Open Data Principles.
Within the areas used to assess the scores, Britain’s best rankings were for the supporting legislation and public transport timetables, both of which are given 100. In most other areas it gets scores of at least 90, with four exceptions: map data and company registers on 85, national environment statistics on 75 and land ownership data on 70.
On a wider scale, the report shows that the early world leaders are faltering, with fewer than one in five datasets being open, and many governments still treating open data as a side project.
Jeni Tennison, chief executive at the UK’s Open Data Institute, said: "The Open Data Barometer shows that the emphasis put on open data among the 30 open data government ‘leaders’ has decreased over the last five years. At the same time, a new batch of reformers - including Ukraine, Mexico, Colombia, and Argentina - are rising in the ranks.
"While the use of data for artificial intelligence and creating more ethical use of personal data are of growing importance, open data - from both the government and the private sector - is still crucial to the foundation of the data infrastructure that every sector of our societies rely on.
"Countries like the UK, Canada, Australia, France and South Korea recognise this. They are learning how to integrate open data into their overarching national data strategies so that they both build strong foundations and deliver greater transparency, accountability, productivity and innovation.
"These data strategies and open data's role in them need political support and investment to avoid wasting the momentum the open data movement has generated."