Onion Libraries and Archives
Libraries were an early and natural fit for onion services. Reading is the kind of activity people in many countries have good reason to keep private, and an onion address lets you browse and download without your network operator seeing which titles you're interested in.
The Internet Archive runs an onion service, which gives private access to the Wayback Machine and its huge collection of books, audio and software. That's about as uncontroversial as it gets.
Z-Library is more complicated. It's a shadow library that distributes copyrighted books without permission. US authorities seized many of its domains in 2022 and charged two people alleged to run it. It has continued to operate in various forms, including over Tor. Downloading copyrighted material without permission is illegal in many countries, and the enforcement risk varies a lot depending on where you are. We list it because people look for it and because a correct address protects them from the many fake copies that serve malware, not as an endorsement.
Whichever library you use, be careful with downloaded files. E-books and PDFs can contain links or embedded content that call out to the internet when opened, which can reveal your IP if you open them outside Tor. Open them in a disposable or offline environment if your privacy matters. Our article on metadata in documents is useful background, and malicious files on onion sites covers the risks in more detail.