Narrative:

At 4;500 feet; the engine had a sudden loss of RPM and subsequent roughness. Carb heat was applied and mixture was set to full rich; was unsuccessful at troubleshooting. The engine continued to run rough and I made a 180 degree turn to head to ZZZ airport to land. Advised ATC and landed safely.

Google
 

Original NASA ASRS Text

Title: C172 pilot reported engine roughness and a loss of RPMs led to a diversion.

Narrative: At 4;500 feet; the engine had a sudden loss of RPM and subsequent roughness. Carb heat was applied and mixture was set to full rich; was unsuccessful at troubleshooting. The engine continued to run rough and I made a 180 degree turn to head to ZZZ airport to land. Advised ATC and landed safely.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.