This paper presents a compact diplexer with high selectivity. The proposed diplexer employs two sets of triple-mode bandpass filters. Using this approach, the pair of even-mode resonant frequencies can be flexibly controlled by adjusting the characteristic impedance or electrical lengths of the two open-circuited stubs while the odd-mode resonant frequency remains at the fundamental resonant frequency. For a demonstration, a diplexer with two passbands centred at 1.50 and 1.70GHz and the transmission zeros are created close to the passband edges which extremely improve the skirt selectivity. As a result, the proposed diplexer occupies an extremely small area, i.e., approximately 0.30λg × 0.35λg. The measured results are in good agreement with the simulated predictions.