A tunable single-and dual-wavelength ytterbium-doped fiber laser, incorporating a 16-channel arrayed waveguide grating is proposed and demonstrated. The side mode suppression ratio from the proposed setup has an average value of 52.97 dB (single-wavelength generation) and 58.19 dB (dual-wavelength generation). The tunable dual wavelength ranged from 1039.98 nm to 1047.48 nm with wavelength spacing ranging from 0.50 nm to 7.5 nm. A stability test from the experiment shows a power variation of 0.8 dB, and a wavelength fluctuation of 0.02 nm indicates the stability and reliability of the proposed work.