The wavelength stability of free-electron lasers (FELs) is one of the important parameters for various applications. In this paper we describe two different methods to diagnose the wavelength stability of a mid-infrared (MIR) FEL. The first one is based on autocorrelation which is usually used to measure the pulse duration, and the second one is based on frequency upconversion through sum-frequency mixing (SFM).