Sn3O4 with hierarchical 3D nanostructures was synthesized for the first time by a facile template-free solvothermal method. The heterovalent photocatalyst is highly efficient and stable in the degradation of azo dyes under visible light.