In this article, we propose a method to realize the pure shear deformation mode of dielectric elastomer (DE) membranes by tuning two in-plane prestresses. With utilization of carbon grease electrodes, VHB 4905 membranes are prestretched and attached into a retractable device, forming a pure-shear deformation controller. Experimental results demonstrate that, accurate pure shear deformation mode of DEs can be realized by tuning the mechanical loads in the two directions of the deformation controller. Furthermore, large deformation in the direction of free state can be achieved without electromechanical instabilities. The designed deformation controller accurately realizes the specific pure shear deformation mode of DEs and can be utilized to help design the practical soft actuators.