Productivity

Download Any SoundCloud MP3 With A Bookmarklet

Music-hosting service SoundCloud makes it easy to share your voice, music or any other audio with a few clicks. It’s great, but sometimes you’re desperate to actually download and save a track from SoundCloud. This handy bookmarklet, courtesy of github user pheuter, adds a Download MP3 link to any track on SoundCloud.

To install the bookmarklet, first drag and drop the link below to your browser’s bookmark toolbar:

Bookmarklet

Right-click the bookmark and select Edit (Chrome) or Properties (Firefox). Copy and paste the text below into the URL field (Chrome) or Location field (Firefox):

javascript:(function(b){var a=b.createElement(“a”);a.innerText=”Download MP3″;a.href=”http://media.soundcloud.com/stream/”+b.querySelector(“#main-content-inner img[class=waveform]“).src.match(/\.com\/(.+)\_/)[1];a.download=b.querySelector(“em”).innerText+”.mp3″;b.querySelector(“.primary”).appendChild(a);a.style.marginLeft=”10px”;a.style.color=”red”;a.style.fontWeight=700})(document);

Click Save and your SoundCloud bookmarklet is ready to roll. Next time you’d like to download any piece of audio from SoundCloud but downloading isn’t enabled, just click your handy bookmarklet and a red Download MP3 link will magically appear in the player. Don’t abuse it, and everyone wins.

Bookmarklet that generates download link for a Soundcloud upload [github]

(Apologies for the extra bookmarklet installation steps beyond just dragging and dropping — our publishing platform mungs up the code in bookmarklet links.)