We herein report a novel hierarchically porous ceramic foams derived from boehmite gel foams, which possess both high porosity and superior strength. The gel foams show excellent printability due to its predominant stability, high yield stress and storage modulus, which endows such foam material ideal ink for 3D printing lightweight and complex-shape materials via direct ink writing approach. The 3D printed ceramic foams possess programmable architecture assembled by porous filaments, uniform macro-pores with tunable size in the range of 4 similar to 70 mu m, as well as nanoscale pores in cell wall, after sintering at relatively low temperature of 1200-1300 degrees C. In this way, ceramic foams with high strength were achieved, attributed to the tiny grains, large amount of grain boundaries, uniform pores and hierarchical pore structure. Notably, the foams sintered below 1200 degrees C have significant advantage on specific surface area, which could reach up to 300-400 m(2)/g.