The absorbency of a wet carpet can lead to a harmful unhealthy scenario more absorbent than any other floor type carpet has the greatest potential for damage from an overflowing toilet because of the ability of water and its pollutants to destroy your flooring.
Toilet overflowed carpet.
If a clog is the culprit of the overflow grab a toilet plunger and try plunging it free.
Then go over it several times using hottest tap water which is close to steam.
Be sure to wash and disinfect all surfaces that were dampened by the toilet water.
It is typically necessary to remove carpet that has been exposed to toilet water altogether.
Use towels to clean up a small amount or a shop vac to help with larger spills or to soak water out of carpet and other fabrics.
Whether it s from a simple toilet overflow or a full blown backed up sewer system having your carpet contaminated with sewage is a potentially serious threat to you and your family s health.
The padding is a lost cause just get rid of it i agree with ballengerb that whether the carpet can be saved is a crap shoot there is a chance no matter how well you clean it some odor may still remain.
Toilet overflowed on carpet.
I would start by pulling up the carpet and removing the pad then let the subfloor dry out completely a floor fan could speed this up some.
Toilet water that has soaked into your carpets or flooring is considered a biohazard because it is full of microparticles that could quickly develop into mold or fungus if not properly sanitized.