Credit Repair 101

Does revolving credit card debt hurt my credit more than a loan? I have a few high interest credit cards, and i’m wondering if a student loan would be better on my credit score than all the CC’s.