Depends on what they're dirtied by. Just dirt, one of those tubes hooked to the garden hose that you pull the rope through...here's one, there are many similar out there.
http://www.cmcrescue.com/equipment/pmi-bokat-rope-washer/
This stuff for pitch or other bad gunk...