Turbulent flows are observed in low-Reynolds active fluids, which display similar phenomenology to the classical inertial turbulence but are of a different nature. Understanding the dependence of this new type of turbulence on dimensionality is a fundamental challenge in non-equilibrium physics. Real-space structures and kinetic energy spectra of bacterial turbulence are experimentally measured from two to three dimensions. The turbulence shows three regimes separated by two critical confinement heights, resulting from the competition of bacterial length, vortex size and confinement height. Meanwhile, the kinetic energy spectra display distinct universal scaling laws in quasi-2D and 3D regimes, independent of bacterial activity, length, and confinement height, whereas scaling exponents transition in two steps around the critical heights. The scaling behaviors are well captured by the hydrodynamic model wedevelop, which employs image systems to represent the effects of confining boundaries. The study suggests a framework for investigating the effect of dimensionality on non-equilibrium self-organizedsystems.