Mining of Massive Datasets is based on Stanford Computer Science course CS246: Mining Massive Datasets (and CS345A: Data Mining). The book is designed for undergraduate computer science students with no formal prerequisites. Most chapters include further reading references for deeper exploration. It has been published by Cambridge University Press. You can get a 20% discount using the code MMDS20 at checkout. The book is available for free download from this page, but Cambridge University Press retains copyright, so please obtain permission and acknowledge authorship for any republication. Feedback on the manuscript is welcome.