Hydrogels have a three-dimensional network structure and high-water content, are similar in structure to the extracellular matrix, and are often used as wound dressings. Natural polymers have excellent biocompatibility and biodegradability and are commonly utilized to prepare hydrogels. Natural-polymer-based hydrogels can have excellent antibacterial and bioactive properties by loading antibacterial agents or being combined with therapeutics such as phototherapy, which has great advantages in the field of treatment of microbial infections. In the published reviews of hydrogels used in the treatment of infectious wounds, the common classification criteria of hydrogels include function, source of antibacterial properties, type of antibacterial agent, etc. However, there are few reviews on the classification of hydrogels based on raw materials, and the description of natural-polymer-based hydrogels is not comprehensive and detailed. In this paper, based on the principle of material classification, the characteristics of seven types of natural polymers that can be used to prepare hydrogels are discussed, respectively, and the application of natural-polymer-based hydrogels in the treatment of infectious wounds is described in detail. Finally, the research status, limitations, and prospects of natural-polymer-based hydrogels are briefly discussed.