The Berlin Codex (also known as the Akhmim Codex), given the accession number Papyrus Berolinensis 8502, is a Coptic manuscript from the 5th century AD, unearthed in Akhmim, Egypt. In Cairo, in January 1896, Carl Reinhardt bought the codex, which had been recently discovered, wrapped in feathers, in a niche in a wall at a Christian burial site. It was a papyrus bound book (a codex), dating to early 5th century (or possibly late 4th century) that was written in Sahidic dialect of Coptic, which was in common use in Egypt during that time.
It was taken to Berlin for the Berliner Museen, where it was brought to the notice of the Royal Prussian Academy of Sciences by Carl Schmidt, July 16, 1896. Schmidt edited the Act of Peter in 1903, but the gnostic contents of the Berlin Codex were not finally completely translated until 1955. Few people paid attention to it until the 1970s, when a new generation of scholars of early Christianity took an increased interest in the wake of the discovery of the more famous group of early Gnostic Christian documents found at Nag Hammadi in 1945.
The "Berlin Codex" is a single-quire Coptic codex bound with wooden boards covered with a leather that neither resembles tanned leather, nor does it resemble parchment or alum-tawed skin (i.e. skin that has been dressed with alum to soften and bleach it).
Four texts are bound together in the Berlin Codex. All are Greek works in Coptic translations. The first, in two sections, is a fragmentary Gospel of Mary, for which this is the primary source manuscript. The manuscript is a Coptic translation of an earlier Greek original. Though the surviving pages are well-preserved, the text is not complete and it is clear from what was found that the Gospel of Mary contained nineteen pages, assuming that the codex begins with it; pages 1–6 and 11-14 are missing entirely.