Credit: CC0 Public Domain

Ever had a song stuck in your head that just keeps playing over and over but you can't recall the name or even the words?

Then this may be music to your ears. Google now offers a simple cure for earworms or stuck song syndrome: You can hum, whistle or sing the tune, even off key, and Google will rustle up a short list of possibilities.

On your iOS device, open the Google app or find the Google Search widget. Tap the mic icon and say: "What's this song" or click the "Search a song button." Then hum for 10 to 15 seconds.

On Google Assistant, say "Hey Google, what's this song?" and then hum it. From there, you can listen to the song on a music app, find the lyrics, get information on the song, artist and more.

How does it work? Google's machine learning algorithms scan digitized songs to pick out the potential matches.

Why'd Google create it? Google says it gets asked what is playing almost 100 million times a month.