Continuous observation of solar radio bursts (SRBs) throughout the year using the CALLISTO spectrometer generates a huge volume of spectral data. This study introduces a burst-classifier algorithm, which is an automated algorithm, to classify the SRB spectrum into three solar radio bursts, namely Type II (SRBT II), Type III (SRBT III) and Type IV (SRBT IV). The proposed algorithm was designed using four characteristic parameters derived from a collection of training dataset files. The characteristic parameters were derived from the intensity bursts observed on frequency channels and timesteps of the spectrum. This dataset consisted of 50 spectra of SRBT II and SRBT III, along with 40 spectra for SRBT IV, collected during the solar maximum of 2014 (Solar Cycle 24). After observations and analysis of the training dataset, each burst type was set up with a threshold. A training dataset of 80 data spectra from 2013 to 2016 was used to test the algorithm. Accuracy of the proposed algorithm was calculated using the percentage of true positives (TP) and false positives (FP). Findings demonstrate an accuracy of ∼74 % with 57 out of 80 spectra classified as TP and 23 spectra as FP.