The conversion of carbon-based solids, like non-recyclable plastics, biomass, and coal, into small molecules appears attractive from different points of view. However, the strong carbon–carbon bonds in these substances pose a severe obstacle, and thus—if such reactions are possible at all—high temperatures are required1–5. The Bergius process for coal conversion to hydrocarbons requires temperatures above 450 °C6, pyrolysis of different polymers to pyrolysis oil is also typically carried out at similar temperatures7,8. We have now discovered that efficient hydrogenation of different solid substrates with the carbon-based backbone to light hydrocarbons can be achieved at room temperature by ball milling. This mechanocatalytic method is surprisingly effective for a broad range of different carbon substrates, including even diamond. The reaction is found to proceed via a radical mechanism, as demonstrated by reactions in the presence of radical scavengers. This finding also adds to the currently limited knowledge in understanding mechanisms of reactions induced by ball milling. The results, guided by the insight into the mechanism, could induce more extended exploration to broaden the application scope and help to address the problem of plastic waste by a mechanocatalytic approach.