Google made a victory in a long-running legal battle, throwing out a lawsuit claiming the internet giant was violating copyright laws by scanning books without the writers’ permission to create the world’s largest digital library.

The 28-page decision by US District Judge Denny Chin in New York is the latest twist in a circuitous journey that began nine years ago when Google set out to make digital copies of all the books in the world.

The ambitious project prompted the Authors Guild to sue Google in a Manhattan federal court in 2005, claiming the California-based company was not making “fair use” of copyright material by offering searchable snippets of works in its online library.

The lawsuit was seeking $750 for each of the more than 20 million copyright books that Google has already copied. Google had estimated its damages could have surpassed $3 billion – a significant blow even to a company with more than $56 billion in the bank.

Judge Chin’s ruling does not necessarily close the book on the case. The Authors Guild plans to appeal, opening the next chapter in a legal saga that some experts believe will ultimately land in the US Supreme Court. If the decision stands, Google’s internet search engine will be in a better position to become an even deeper reservoir of human knowledge. As it expands its stockpile of digital books, Google’s search engine is likely to be seen as an even more indispensable resource.

Although Google does not display ads next to the excerpts from digital books, anything that spurs people to think of its search engine as the best place to find information usually boosts the company’s profits.

“In my view, Google Books provides significant public benefits,” Judge Chin wrote. “It advances the progress of the arts and sciences, while maintaining respectful consideration for the rights of authors and other creative individuals, and without adversely impacting the rights of copyright holders.”

“Google made unauthorised digital editions of nearly all of the world’s valuable copyright-protected literature and profits from displaying those works,” said Paul Aiken, the executive director for the Authors Guild, in a statement vowing to appeal.

In its statement, Google said it was delighted with the decision.

“As we have long said, Google Books is in compliance with copyright law and acts like a card catalogue for the digital age giving users the ability to find books to buy or borrow,” the company said.

Google had previously negotiated a truce as part of a $125 million settlement. But that deal unravelled in 2011 after the US Justice Department and other critics persuaded Judge Chin that the terms of the deal would give the already influential company too much power in the still-developing market for digital books.

After the settlement came apart, the Authors Guild renewed its push to extract even more money from Google for alleged copyright infringement.

Google’s current collection of more than 20 million books consists mostly of out-of-print titles. It includes material from the New York Public Library, Library of Congress and several major universities.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.