Hypericum perforatum L. (St. John's Wort) is a widely distributed herbaceous perennial plant which has been well known as a medicinal plant since antiquity. In recent years, H. perforatum has received increasing attention for the treatment of depression and other neuralgic disorders. The main constituents of H. perforatum extract include flavonoids, naphthodianthrones, phloroglucinols, essential oils and xanthones. The present work reports the analysis of naphthodianthrones and phloroglucinols in H. perforatum extracts by means of high performance liquid chromatography (HPLC) coupled simultaneously to a diode array detector (DAD) and electrospray mass spectrometry (ESI-MS). Hypericin, pseudohypericin, hyperforin and adhyperforin were separated and identified on the base of their on-line UV and mass spectra. Quantitative analysis of hypericin derivatives in different extracts of H. perforatum using DAD and MS detectors was performed. In addition, direct infusion ESI-MS of H. perforatum extracts was applied to obtain rapid mass fingerprints of constituents present in the sample.