Ammonia smells in your carpet can come from a couple of sources. Your cat's urine can smell like ammonia, or you may have used ammonia to clean your carpet. Either way, removing the smell as quickly as possible will allow you to enjoy your carpet again. Use natural products that remove odors without adding toxic chemicals to your home environment.
Mix 1 cup of white vinegar with 1 cup water in a spray bottle. Shake the bottle to combine ingredients.
Mist the carpet with the solution. White vinegar is a natural odor neutralizer that is food grade and completely nontoxic.
Blot the area with a clean cloth, and let it dry completely.
Sprinkle baking soda over the area, and let it sit overnight. Baking soda will pull deep smells from the carpet.
Vacuum up the baking soda in the morning.
Repeat the processes as many times as needed to remove the ammonia smell.