We report the design and fabrication of nanoscale resonant gratings which is of interest for narrow bandwidth filtering application. The linear/circular grating structures, of which the grating width is 200nm and the grating height is 260nm, are generated on silicon-on-insulator wafer. Nanoscale gratings are fabricated on the silicon device layer by a combination of electron beam lithography and fast atom beam etching. The silicon handle layer under grating region is removed by deep reactive ion etching, and the buried oxide layer is kept. The reflectance measurements are performed to characterize the optical response of fabricated freestanding nanoscale gratings. The resonant behavior of linear gratings agrees with the theoretical predication, and the polarization-independent responses of circular gratings are also experimentally demonstrated.