If they are crusty and covered in dirt, chip off as much as possible so you don’t end up giving them a mud bath instead of a wash. If they are really soiled, hose them off outside.
Spot-treat any stains with a solution of warm water and gentle detergent, such as Ivory Snow. Use an old toothbrush to scrub stains away.
Remove laces, inserts, and any other removable parts before washing. If the laces are very dirty, throw them in with a regular load of clothes.
Wash on delicate with a gentle detergent. Use cold water—hot could melt the rubber and/or adhesive in the shoes.
Throw in a couple bath towels to balance the load.
If the sneakers are white, add ½ cup vinegar or lemon juice in with the regular amount of detergent to help restore their brightness. Do not use bleach—it may react with the canvas and turn it yellow.