Carbonaceous polymer networks with tunable porosity were found to behave as exceptional adsorbents toward large organic molecules such as organic dyes.