Mass spectrometry is emerging as a versatile analytical tool for profiling glycan and glycopeptide structures. While the interpretation of MS data remains a challenging and difficult task, substantial efforts have been made to develop informatics tools to alleviate MS data interpretation. Here, we present a web-based tool, GlycoPep DB, designed to facilitate compositional assignment for glycopeptides by comparing experimentally measured masses to all calculated glycopeptide masses from a carbohydrate database with N-linked glycans. GlycoPep DB is an advance over current tools to assign N-linked glycans because it uses a concept of "smart searching", where only biologically relevant carbohydrate compositions are searched, when matching carbohydrate compositions with the MS data making glycopeptide compositional assignment more efficient. This is in contrast to currently used tools, where many implausible glycan structures are present in the search output, but fewer biologically relevant glycan motifs are predicted. The utility of GlycoPep DB is illustrated in the analysis of glycopeptides derived from a proteolytic digest of follicle stimulating hormone.