Kevin Kelly's Unsolicited Advice

The best way to untangle a knotty tangle is not to “untie” the knots, but to keep pulling the loops apart wider and wider. Just make the mess as big, loose and open as possible. As you open up the knots they will unravel themselves. Works on cords, strings, hoses, yarns, or electronic cables.

Source: https://kk.org/thetechnium/99-additional-bits-of-unsolicited-advice/

Random

Also available as an API