The code said to be the first of its kind in the world is expected to be in operation by the middle of this year, BBC reported.
Jo Johnson, the UK’s minister for universities, science, research and innovation, said that the search engines’ “relationships with our world leading creative industries needs to be collaborative”.
“It is essential that (consumers) are presented with links to legitimate websites and services, not provided with links to pirate sites,” he said.