Let R be a commutative Noetherian ring. We introduce the notion of localization functors λ W with cosupports in arbitrary subsets W of Spec R; it is a common generalization of localizations with respect to multiplicatively closed subsets and left derived functors of ideal-adic completion functors. We prove several results about the localization functors λ W , including an explicit way to calculate λ W by the notion ofČech complexes. As an application, we can give a simpler proof of a classical theorem by Gruson and Raynaud, which states that the projective dimension of a flat R-module is at most the Krull dimension of R. As another application, it is possible to give a functorial way to replace complexes of flat R-modules or complexes of finitely generated R-modules by complexes of pure-injective R-modules.2010 Mathematics Subject Classification. 13D09, 13D45, 55P60.