Co single atoms anchored on ultrathin two-dimensional nitrogen-doped carbon (Co SAs/2D N-C) were in situ derived from 2D metal-organic frameworks (MOFs). These ultrathin nanosheets functionalized by the isolated Co atoms possess a high density of active sites and accessible surfaces, exhibiting an exceptional catalytic performance in the oxidation of silanes.