The earliest church on this location in Tofta was probably built during the end of the 12th century. The oldest part of the presently visible church is the tower. The nave and choir both date from the middle of the 14th century. The church walls display fragments of medieval frescos that were found during a restoration in 1958-1959. A few medieval stained glass windows are likewise preserved in the church.
Of the furnishings, the baptismal font is the oldest, dating from the 12th century and richly sculpted. It was probably made for the earliest church. The high altar has a retable from the 14th century, probably made in Lübeck. Two other wooden sculptures from the same century are also preserved in the church, one of the Virgin Mary and one of St. Olaf. An unusually well-preserved medieval bench also stands in the church. In the floor of the choir is a gravestone, made for a farmer and his son who were beaten to death in 1340. The pewsand the pulpit date from the Baroque era.
In 2004, an extremely well-preserved mail coif was discovered in a room in the tower during cleaning of the church. Reputedly it is one of the most well-preserved mail coif ever found in Europe, second only to a similar one displayed at the National Museum of Scotland. It may be connected to a civil war that was fought on the island in 1288. The mail coif is now displayed inside Tofta church.
Visby Cathedral (also known as St. Mary’s Church) is the only survived medieval church in Visby. It was originally built for German merchants and inaugurated in 1225. Around the year 1350 the church was enlarged and converted into a basilica. The two-storey magazine was also added then above the nave as a warehouse for merchants.
Following the Reformation, the church was transformed into a parish church for the town of Visby. All other churches were abandoned. Shortly after the Reformation, in 1572, Gotland was made into its own Diocese, and the church designated its cathedral.
There is not much left of the original interior. The font is made of local red marble in the 13th century. The pulpit was made in Lübeck in 1684. There are 400 graves under the church floor.