Facing an increasing number of requests for its users’ information, Google began charging law enforcement and other government agencies this month for legal demands seeking data such as emails, location-tracking information and search queries.

Google’s fees range from $45 for a subpoena and $60 for a wiretap to $245 for a search warrant, according to a notice sent to law enforcement officials and reviewed by The New York Times. The notice also included fees for other legal requests.

A spokesman for Google said the fees were intended in part to help offset the costs of complying with warrants and subpoenas.

Federal law allows companies to charge the government reimbursement fees of this type, but Google’s decision is a major change in how it deals with legal requests.

Some Silicon Valley companies have forgone such charges, which can be difficult to enforce at a large scale and could give the impression that a company aims to profit from legal searches. But privacy experts support such fees as a deterrent to overbroad surveillance.

Google has tremendous amounts of information on billions of users, and law enforcement agencies in the United States and around the world routinely submit legal requests seeking that data. In the first half of 2019, the company received more than 75,000 requests for data on nearly 165,000 accounts worldwide; 1 in 3 of those requests came from the United States.

Google has previously charged for legal requests. A record from 2008 showed that the company sought reimbursement for a legal request for user data. But a spokesman said that for many years now, the tech firm had not systematically charged for standard legal processes.

The money brought in from the new fees would be inconsequential for Google. Just last week, the valuation of its parent company, Alphabet, topped $1 trillion for the first time. Alphabet is scheduled to report its latest financial results Monday.

The new fees could help recover some of the costs required to fill such a large volume of legal requests, said Al Gidari, a lawyer who for years represented Google and other technology and telecommunications companies. The requests have also grown more complicated as tech companies have acquired more data and law enforcement has become more technologically sophisticated.

“None of the services were designed with exfiltrating data for law enforcement in mind,” said Gidari, who is the consulting privacy director at Stanford’s Center for Internet and Society.

Gidari said it was good that the fees might result in fewer legal requests.

“The actual costs of doing wiretaps and responding to search warrants is high, and when you pass those costs on to the government, it deters from excessive surveillance,” he said.

In April, the Times reported that Google had been inundated with a new type of search warrant request, geofence searches.

Drawing on an enormous Google database called Sensorvault, they provide law enforcement with the opportunity to find suspects and witnesses using location data gleaned from user devices.

A Google spokesman said that there was no specific reason the fees were announced this month and that they had been under consideration for some time.

Reports put out by the company show a rise of more than 50% in the number of search warrants received in the first half of 2019 compared with a year earlier. The volume of subpoenas increased 15%. From last January through June, the company received nearly 13,000 subpoenas and more than 10,000 search warrants from U.S. law enforcement.

Google will not ask for reimbursement in some cases, including child safety investigations and life-threatening emergencies, the spokesman said.