The letter stated that the tech companies were helping local authorities in the country spread information about the coronavirus through information panels and alerts.
Google has also launched a microsite, which will appear when anyone searches for the coronavirus.
The website draws its content from the government's Covid-19 portal, it added.
The online platforms are also combating misinformation and online abuse by showing authoritative sources in top results.
"We will continue to quickly remove videos...that discourage people from seeking medical treatment or claim harmful substances have health benefits," the letter read.
Outlining resources for learning and working-from-home amid the coronavirus pandemic, the letter said that Google has created "Grow with Google Pakistan" -- containing resources for "all kinds of remote workers" and "Teach from Home" -- containing resources for educators.
It has also created other learning resources for children and professionals.
The letter added that Google was also publishing community mobility reports, using data collected through Google Maps.
"We hope that the reports can help public health officials in Pakistan, and governments elsewhere, respond to the coronavirus," it said.
The letter also offered cooperation with the Pakistani government in creating a "credible and globally consistent digital policy and regulatory framework".
Prime Minister Imran Khan met with the YouTube CEO in January this year on the sidelines of the 50th World Economic Forum (WEF) annual meeting in Davos, Switzerland.
The two leaders held discussions on utilizing digital platforms for building Pakistan's image. The Pakistani entourage had also discussed the possibilities of promoting tourism, education and attracting investment through digital platforms.