This work focuses on carbon foams, whose peculiarity is a predominant open macroporous cellular network that can be provided with tailored texture and morphology by the modification of the preparation process. The goal was to obtain macroporous carbonaceous structures capable of being activated by following a simple thermo-foaming procedure using a few reagents. With this purpose in mind, carbon foams with different textural properties were synthesized from sucrose using two foaming processes: at atmospheric pressure and in a pressurized reactor. Iron and silver nitrates added to sucrose gave rise, after carbonization, to materials with iron oxides and elemental silver particles nano-dispersed in the carbon matrix and promoted microporosity in both cases and mesoporosity in the case of iron nitrate. Iron nitrate also catalyzes the graphitization of the carbon material during carbonization. All these findings show the potential of sucrose thermo-foaming process as a viable and sustainable path to produce versatile carbon materials, capable of being used in various applications.