This spring cleaning season, don't forget to tackle your electronics drawer. The old smartphones, tablets, and video games you've been holding on to for years could earn you free online shopping credits if you send them to Walmart.

As Mashable reports, the big box chain's Gadget to Gift Cards plan is giving away e-gift cards in exchange for unwanted electronics. In addition to the items mentioned above, the program accepts MP3 players, video game consoles, and voice-activated assistants. That means old items (like the iPod you retired after you bought you first iPhone) as well as new ones (like the Alexa you unplugged after it started randomly laughing at you) are eligible for trade-in.

But not every item has the same value. Old cellphones for example, can get you $1 to $23 in online gift card money depending on the model, and old gaming consoles can be exchanged for up to $225. To find out what your forgotten gadgets are worth, head over to Walmart's website and select the item you wish to exchange. From there, you can specify the model, any damage it has sustained, the storage capacity if applicable, and whether or not it includes accessories like cables and controllers.

Once you've submitted the product's information, Walmart will offer you the estimated amount it's valued at. To redeem your digital gift card, print out the prepaid shipping label, stick it on a box with all the items you'd like to exchange, and wait for an email with a gift card you can use to purchase any goods from Walmart's online store.

If you have a problem with hoarding unused gift cards instead of electronics, Walmart has a program for that too. You can go to Card Cash to exchange your physical gift cards from various stores and restaurants for a Walmart e-gift card—just don't be surprised when you get less than what the card is worth.

[h/t Mashable]