In a victury for privacy activists, Google Inc. will start making its records about users’ searches anonymous after 18 to 24 months under a policy announced Wednesday.

Until now, the dominant search company has indefinitely retained a log of every search, with identifiers that can associate it with a particular computer. The new policy, to be implemented within the next year, is intended to better protect users’ privacy, two executives wrote in a Google Blog entry posted Wednesday.