A synthesis method to obtain porous platinum-based macrotubes and macrobeams with a square cross section through chemical reduction of insoluble salt-needle templates is presented.