LONDON—Amazon.com Inc. agreed to buy U.K.-based online book retailer Book Depository International for an undisclosed sum.

Amazon's move to buy Book Depository came six months after the U.S. company acquired European movie-rental site Lovefilm International Ltd.

Book Depository's founder, Andrew Crawford, said in a prepared statement Monday...