In urban solid waste management, the scientific and reasonable disposal and utilization of sewage sludge is becoming more and more important. It can be said that the pollution status and chemical properties of sewage sludge in urban sewage treatment plants can provide a basis for the scientific disposal and utilization of sludge. In this study, the characteristics of pH, moisture content, Cd, Cr, Cu, Zn, Pb, As, Hg, Ni, mineral oil, volatile phenol, PAHs, organic matter, nitrogen, phosphorus, and potassium were evaluated in sewage sludge collected from 49 sewage treatment plants in a certain city. The pollution status of heavy metals and organic pollutants, the frequency distribution of pollutant concentrations, and changes in the nutrient content were analyzed. The Nemero index and Hakanson potential ecological hazard index were used to assess the potential ecological risks of heavy metals in the agricultural utilization process of sludge. The results showed that under the condition of neutral pH values and high moisture content, the order of heavy metal content was Zn > Cu > Cr > Pb > Ni > As > Hg > Cd. The principal component analysis (PCA) results indicated that Cd, Pb, Hg, Ni, and As constituted the main load factors of the first main component of heavy metal sources. The most concentrated contents of 8 heavy metal frequency distributions among the 49 samples were 38.9-1380.0, 62.6-182.7, 63.6-181.3, 0.0-97.8, 19.3-68.4, 0.8-29.2, 0.3-8.7, and 0.01-0.96 mg·kg-1. In addition, the most concentrated frequency distribution of mineral oil, volatile phenol, and PAH concentration were 87.0%, 87.9%, and 77.6%, respectively. Moreover, the nutrient content of sludge was higher than the average level in China, and the organic matter content was 67.4%, 75.9%, and 92.5% of that of pig manure, cow dung, and chicken manure, while the content of nitrogen, phosphorus, and potassium was not very different. The Nemero index and Hakanson ecological hazard index results showed that the sludge of urban sewage treatment plant in the city has certain ecological risks. However, four sewage treatment plants were heavily polluted or highly ecologically hazardous among the 44 plants in this study, which were in line with the Standards for pollutant control of agricultural sludge. In summary, there are certain potential ecological risks for the agricultural utilization of sludge in the city, and it is necessary to reduce the heavy metal content before resourcing. More importantly, on the premise that the sludge meets the agricultural standards, a comprehensive ecological risk assessment is required to select a reasonable sludge recycling method.