If used with the proper attachments, you can often clean a carpet with a shop vac. However, most shop vacs don't have roller brushes specifically for high-pile carpets, so the job may take longer.