Did you know that you can download free music from your local library? Music that you can keep. That's right: not borrow, keep.

It's all possible thanks to a service called Freegal (a portmanteau of free and legal), which gives patrons of participating libraries access to 15 million songs from 40,000 labels, notably including the Sony Music Entertainment catalog. All you need is a library card.

Here's how it works: You can download a few songs a week, and, in many areas, enjoy several hours of streaming, too (the precise number of songs and hours of streaming varies by library). Once you download MP3 files, they're yours. You're free to put them on iTunes, your iPhone, your tablet, and more. You don't have to return them and they don't expire. The counter resets on Mondays at 12:01 a.m. Central Time, so if you hit your limit, you won't have long to wait before you get more downloads. And Freegal has some great stuff: A quick scan of the front page reveals music from Beyoncé, Michael Jackson, Cardi B, Simon & Garfunkel, Childish Gambino, The Avett Brothers, Lykke Li, and Sara Bareilles.

Freegal has been around since 2010 and is offered at libraries worldwide. In the U.S., that includes the New York Public Library, Queens Library, Los Angeles Public Library, West Chicago Public Library, Houston Public Library, and more. In the past few years, libraries have debuted some other amazing free digital services, from classic films streaming on Kanopy to audiobooks and e-books available to borrow on SimplyE and OverDrive. But the thing that's so exciting about Freegal is that you can keep the MP3 files, unlike services that limit you to borrowing.

Freegal's site is easy to navigate: You can browse playlists and make your own, check out the most popular tunes, and save songs to your wishlist for when you get more credits. In the old days, music fans would check out CDs from the library and upload them onto their computers before returning them. But Freegal eliminates the need to go to your local branch, check out an album, and bring it back when you're done.

Freegal

To find out if your local library has Freegal, go to freegalmusic.com and click login, then search for your area. It's important to note: Your library's contract might not have both streaming and downloading privileges. You can use Freegal on the web or as an app available on the App Store, Google Play, and Amazon. Of course, the service doesn't have everything. And sometimes, when it does have an artist, it will only have a few of their most popular albums. But if you frequently buy music on iTunes or elsewhere, checking Freegal first may save you a bit of money.

If you don't yet have a library card, Freegal is just one more reason why you should get one ASAP.