Main Difference
The main difference between Centripetal Force and Centrifugal Force is that the Centripetal Force is a Force that makes a moving body follow a curved path and Centrifugal Force is a type of inertial force

Centripetal Force
A centripetal force (from Latin centrum, “center” and petere, “to seek”) is a force that makes a body follow a curved path. Its direction is always orthogonal to the motion of the body and towards the fixed point of the instantaneous center of curvature of the path. Isaac Newton described it as “a force by which bodies are drawn or impelled, or in any way tend, towards a point as to a centre”. In Newtonian mechanics, gravity provides the centripetal force causing astronomical orbits.
One common example involving centripetal force is the case in which a body moves with uniform speed along a circular path. The centripetal force is directed at right angles to the motion and also along the radius towards the centre of the circular path. The mathematical description was derived in 1659 by the Dutch physicist Christiaan Huygens.

Centrifugal Force
In Newtonian mechanics, the centrifugal force is an inertial force (also called a “fictitious” or “pseudo” force) that appears to act on all objects when viewed in a rotating frame of reference. It is directed away from an axis which is parallel to the axis of rotation and passing through the coordinate system’s origin. If the axis of rotation passes through the coordinate system’s origin, the centrifugal force is directed radially outwards from that axis. The magnitude of centrifugal force F on an object of mass m at the distance r from the origin of a frame of reference rotating with angular velocity ω is:
The concept of centrifugal force can be applied in rotating devices, such as centrifuges, centrifugal pumps, centrifugal governors, and centrifugal clutches, and in centrifugal railways, planetary orbits and banked curves, when they are analyzed in a rotating coordinate system. The term has sometimes also been used for the reactive centrifugal force that may be viewed as a reaction to a centripetal force in some circumstances.