For an extension cord wiring repair, you only need is a new plug. For $5, you can attach a replacement plug. So, you don’t have to throw away that old extension cord, even if one of its prongs is broken.
When you accidentally cut your extension cord or power tool cord, fix it by installing a new plug and receptacle to the two pieces – safer than doing a splice.
Replacing a cord is unnecessary, and you can save money simply by repairing it. Rather than splicing, stick a new plug on the cord.
Do not splice to repair an extension cords. Even to solder the wires, wrap each wire with electrical tape and encase the whole splice in heat shrinkable tubing won’t protect against abrasion resistance of a new cord. And it’s not safe per the National Electrical Code.
Make two cords if both sections are long enough. Ensure the new ends are rated to carry the load as the old cord. Bent prongs on extension-cord plugs are easily straightened with pliers. But if it snaps off, just replace the plug.
Cut off the old plug, cut open the insulation jacket, and strip the end of each wire. Attach the wires to the terminals: green wire to the green (ground), white (neutral) to the silver, and black (“hot”) to the brass.