An efficient ex-situ method for the amidation of carboxylic acids mediated by CDI has been disclosed herewith. This metal-free strategy is performed at ambient temperature and can be applied effectively for late-stage modification of amino acids and APIs.