Piezoelectric transducer wafers are usually used in pairs to adjust the resonant cavity length of the ring laser gyro. In practice, the paired wafers are required to have similar piezoelectric charge coefficient d31. To handle the pairing operation in-batch, an automatic sorting system was developed on the basis of deformation measurement, which adopted a frame of a Cartesian-coordinate robot. The wafers were self-aligned in the vertical direction, and a vacuum holder was used to pick up, transfer, and then place them on thee testing desk one by one. The excitation voltage was loaded on the wafer by a specifically designed electrode, and the resulting micro deformation was measured by dual opposite inductive micrometers using the relative measurement principle. This particular electrode has the function of attitude self-adjustment and vacuum adsorption, which is conducive to loading the voltage reliably and protecting the wafer from undesired damage. Finally, the wafers were transported to different stock bins based on the measuring results. This system is suited to handle a mass of wafers by continuous processing on site for its high reliability and measurement consistency. The measurement accuracy, validated by laser interferometry, was better than 0.5 μm and the repeatability was superior to 0.1 μm.