Uniform carbon spheres with hollow core and porous shell structures were controllably fabricated through carbonizing fine core/shell particles of polystyrene/cross-linked poly(cyclotriphosphazene-co-4,4'-sulfonyldiphenol), obtained by a simple template approach.