The controlled synthesis of two-dimensional carbon nanomaterials enables their properties to be tailored for potential device applications. Functionalized graphene-like nanosheets with controlled thickness have now been obtained by irradiating monolayers of carbon-rich molecular precursors at room temperature.