A simple integrated deflector and grating structure is proposed for a wavelength filtering. The deflector is composed of a channel waveguide and a slab waveguide with a tapered gap between them to generate a Gaussian light beam in the slab waveguide. The echelle type grating is formed at the end of the slab waveguide. The distance between the grating and the deflector is 100-200µm. The device is designed using diffraction theory. The filter response is verified using bi-directional BPM. Tuning range of 25nm for 5.4 × 10-3 refractive index change and filter passband width of 15nm were attained by a 350µm long device at 1500nm wavelength.