The Abbey library of St. Galllen (German: Stiftsbiblothek St. Gallen) is a library in St. Gallen, Switzerland. It was attached to the abbey of St. Gallen. This abbey had a great importance in the Middle Ages. Today, there are about 2,100 manuscripts from the Middle Ages, about 1 650 Inucabula (books and sheets printed before 1501) and early printings before 1520, as well as about 160,000 books. The library is the oldest library in Switzerland. The manuscript B of the Nibelungenlied is kept here.