Filing for Chapter 7 bankruptcy protection is one way to eliminate most consumer debts. To qualify for Chapter 7, you must pass a “means test” that looks at your income and expenses. If your income is low enough, you can file Chapter 7 and have all of your unsecured debts discharged (eliminated).
There are other requirements too, such as not having filed for bankruptcy in the past eight years and not having had a bankruptcy dismissed within the past 180 days. You can find more information about eligibility and the process on the website of the United States Courts.