It doesn’t take long for cookies to go from an irresistible golden brown to a dispiriting black (especially if you're baking at a high altitude). But before you toss them in the trash and start rummaging around in your pantry for a store-bought snack, we have a few suggestions for saving that imperfect batch.

1. Grate off the burnt bits of cookie with a zester or cheese grater.

As PureWow explains, all you have to do is slide the cookie along your cheese grater to get rid of the burnt layer on the bottom. The smaller the holes, the better, so a lemon zester works well for this, too.

2. Scrape the burned part of the cookie off with a knife.

If you don’t have a cheese grater, you can get the same results with a regular knife—it just might take you an extra minute or two. Instead of slicing off the entire bottom of the cookie, hold your knife blade perpendicular to the bottom of the cookie and carefully scrape away the burnt crumbs.

3. Store the burned cookies in a jar with a piece of bread.

Even after you’ve shaved off the blackened evidence of your culinary blunder, your cookies might still be crispier than you’d prefer. Store them in an airtight container with a slice of bread—they’ll soak up the moisture and soften right up.

4. Make ice cream sandwiches with your burned cookies.

Snobby snackers won’t scoff at your grated cookies if they can’t even see the bottoms. Slather one with a nice, thick layer of ice cream, slap another one on top, and roll the edges in your favorite topping for a treat that’s better than any cookie—burnt or not.

5. Transform your burned cookies into a cookie crust.

For charred, crunchy cookies that seem beyond salvation, you can completely cut off the burnt bottoms, crush the remains, and turn them into a cookie crust for a pie or cheesecake. Here’s a simple recipe from the Pioneer Woman that calls for three ingredients: cookie crumbs, butter, and sugar.