Analog spatial differentiator is an important optical computational device that can be potentially used in the field of high‐speed edge detection and optical image processing. In the current stage, a general method is still required to robustly design compact devices for various spectrum or complex situation. In this work, a dielectric metasurface method is proposed and experimentally demonstrated to build optical spatial differentiators. This is physically realized by a high‐quality magnetic resonance mode that is hybridized with the classic bounded surface wave via grating coupling. Experimentally, a well‐defined first‐order differentiation effect is observed at oblique light incidence. The application potential of this device is evaluated by inputting various figures. It is shown that it can perform an optical processor to trace the profiles of the figure content with a resolution better than 30.8 µm. This work may pave a robust way to build ultracompact optical computation devices for real‐time image processors, which can be freely extended to various frequencies.