To classify spectroscopic measurements it is necessary to have comparable methods of evaluation. In Terahertz (THz) time-domain spectroscopy, as a new technology, neither the presentation of the data nor the peak detection is standardized yet. We propose a procedure for automatic peak extraction in THz spectra of chemical compounds. After preprocessing in the timedomain, we use a variance based algorithm for determining the valid frequency region. We furthermore propose a baseline correction using simulated THz spectra. We illustrate how this procedure works on the example of hyperspectral THz measurements of six chemical compounds. Subsequently we propose to use unsupervised classification on the thus processed data to robustly detect the characteristic peaks of a compound.