When shock waves induced by pulsed electrical discharges in dielectric liquids are widely applied in industrial fields, it is necessary to improve the energy transfer efficiency from electrical energy to mechanical energy to improve the shock wave intensity. In order to investigate the effect of the plasma channel length created by the liquid electrical discharge on the shock wave intensity, a test stand of dielectric liquid pulsed electrical discharge is designed and constructed. The main capacitor is 3 μF, and the charging voltage is 0-30 kV. Based on the needle-needle electrode geometry with different gap distances, the intensities of shock waves corresponding to the electrical parameters, the relationship between the plasma channel length and the deposited energy, and the time-resolved observation of the plasma channel development by a high speed camera are presented and compared. The shock wave intensity is closely related to the power and energy dissipated into the plasma channel. The longer plasma channel and the quicker arc expansion can lead to a higher power and energy deposited into the plasma channel, which can activate a stronger shock wave.