Pick up loose pieces of crayon. Apply an ice cube placed in a plastic bag over soft pieces of crayon to freeze them and make them easier to remove. Scrape up pieces of crayon that stick to the carpet with a butter knife. Vacuum the area to remove as much of the smashed crayon as possible.
Fold a brown paper bag several times and place it over the stain. Run a warm iron over the paper bag, replacing the bag when its underside becomes saturated with crayon. Continue to iron the paper bag until you remove as much of the crayon as possible.
Apply a dry-cleaning solvent to a damp cotton towel. Blot the crayon stain to remove it from the carpet. Add more dry-cleaning solvent to the towel to continue to blot the area. Switch to a clean towel when the previous one is saturated with crayon.
Soak a clean towel in warm water. Blot the area to rinse the carpet of dry-cleaning solvent.
Treat the area with rubbing alcohol if a stain remains. Apply the rubbing alcohol to a washcloth to dampen it. Blot the crayon stain with the washcloth. If the spot remains only on the surface, rub the washcloth in one direction to remove the stain.
Treat a really stubborn stain with a solution of dish soap. Combine 1/4 teaspoon dish soap that does not contain lanolin or bleach with 1 quart warm water. Soak a washcloth in this cleaning solution and wring out excess liquid. Blot the area with the washcloth to remove the stain.
Rinse the area with a different washcloth dampened with clean water. Vacuum the area once it air dries.