How to Replace an Extension Cord Plug

- Always ensure the extension cord is disconnected from power before replacing the plug.
- A suitable replacement plug should match the cord's amperage and voltage ratings.
- Strip insulation carefully to avoid damaging the wire and creating hazards.
Extension cords frequently experience damage from regular use, like being dragged or run over, leading to issues such as exposed wires when the plug is yanked and the outer jacket stretches. The ground prong may become loose due to wear. In these situations, replacing the plug is essential to maintain safety and functionality.
Repairing Extension Cords
Replacing a plug is the only repair you should ever make to an extension cord. Cords with damaged sheathing, exposed wires, or other damage to the cord itself should be replaced or cut off to a point where the bad section is eliminated and a new plug is added to the shortened cord. Just wrapping the damaged cord with electrical tape isn't good enough. You don't know how much damage the cord has suffered, and electrical tape provides unreliable protection against shock.
Extension cords come in many forms, as do the replacement plugs used to fix them. Make sure to choose a plug that is suited for the cord—a grounded three-prong plug if the cord has a ground wire, a two-prong polarized plug for simple household extension cords, etc.
The project demonstrated here shows how to replace the plug on a typical medium-duty grounded extension cord.
Source: https://www.thespruce.com/replace-extension-cord-plugs-1152328