If you are a frequent torrent user, you will come across magnet link. Magnet link has been around for quite some time, but it is only recently when the Pirate Bay confirmed that it would switch to DHT, PEX and magnet links that makes people start to wonder what magnet link is all about. You can read about the full explanation of DHT, PEX and Magnet Links here. In short, it is a method for you to download files without having to first download the .torrent file. You can start the download with just a link (or URL).
Magnet link makes it very convenient for all of us to download file. However, when you click on the magnet link in the browser, you will probably see the error message below.

So how can we open magnet links in the browser in various OS?
Note: Not all Bit-torrent clients support magnet links. Vuze, uTorrent and Transmission are several clients that support magnet links.
In Linux (Gnome)
If you are using Ubuntu Karmic, the default transmission does not support magnet link. You have to upgrade to the latest version (1.9 as of this post).
sudo add-apt-repository ppa:transmissionbt/ppa sudo apt-get update && sudo apt-get upgrade
Alternatively, you can also install Vuze
sudo apt-get install vuze
Next, we are going to add an entry to your gonf. In your terminal:
gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "/usr/bin/transmission %s" gconftool-2 -s /desktop/gnome/url-handlers/magnet/needs_terminal false -t bool gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true
If you are using Vuze, change the /usr/bin/transmission to the filepath of the Vuze application (usually is /usr/bin/vuze).
That’s it.
Note: If you are using Swiftfox or Opera, the magnet link will not work with the above trick.
In Windows
Download and install uTorrent, Vuze or Transmission.
Open NotePad and type the following in it:
REGEDIT4 [HKEY_CLASSES_ROOT\Magnet] @="URL:magnet Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\Magnet\shell] [HKEY_CLASSES_ROOT\Magnet\shell\open] [HKEY_CLASSES_ROOT\Magnet\shell\open\command] @="\"C:\\Program Files\\uTorrent\\uTorrent.exe\" \"%1\""
If you are using Bit-torrent client other than uTorrent, replace the last line C:\Program Files\uTorrent\uTorrent.exe with the filepath of your Bit torrent application.
Save the file as “magnet.reg“, then double-click it to insert into the Windows registry. You will see some warning windows as shown below.

Click Yes to proceed.
Once the import is completed, you can click on the magnet link in your browser and then select the application that you want to use.

In Mac
There is no configuration required in Mac. If you install Transmission, Vuze or uTorrent, it will automatically add the protocol handler to the system. You can simply click on the magnet link and choose your application from the popup window.

Thanks for your information. It's very useful. I don't know what i'm doing is right or wrong. I'm using uTorrent and I just click “Add Torrent from URL” from File menu. And the paste the magnet link on the box appeared. It's starts download. :)
Yes. You are doing it correctly. Instead of copy/paste, the above method allows you to open the link directly from your browser.
Interesting.
Does it accept BitComet
If bitcomet supports magnet links, it should work as well.
this works… thanks
Okay, but for Mac, how do you change the application to another one?
I have problem. I have win7, chrome and utorrent.
I make this registry file, added to registry, reebot and still i cant open magnet links. I try in FF too, but I see that same error like on top the article. Any ideas?
However my friend, who use that same aplications haven’t problem and it works all the time.
The solution in Windows 7 is to edit the registry entry for magnet links. Open regedit and change the value of HKEY_CURRENT_USERSoftwareClassesmagnetshellopencommand to match the program you want to use to open magnet links, the associated icon is defined in HKEY_CURRENT_USERSoftwareClassesmagnetDefaultIcon
sorry mate. im not that good to understand you. can you guide me pls. i did went to regedit and say this….”C:Program FilesuTorrentuTorrent.exe” “%1”
is there anything that i need to do
Ex:
HKEY_CURRENT_USERSoftwareClassesmagnetshellopencommand
edit:C:Program Files (x86)uTorrentutorrent.exe %1
HKEY_CURRENT_USERSoftwareClassesmagnetDefaultIcon
edit: C:Program Files (x86)uTorrentutorrent.exe
I have forgot that i use portable utorrent. I installed it now and it works ;)
i did what the instructions said correctly, but i still cant open the magnet link, please help, i have windows 7 if that makes any difference, and its utorrent im trying to get the magnet links for, the magnet links used to work for frostwire but i deleted taht and got utorrent.
Make sure your last line is
C:Program Files (x86)uTorrentuTorrent.exe
No, not working with Windows XP SP3 and Firefox 6.0
I have windows 7 and utorrent i did exactly what you sayd but it still doesnt work… can you plz help me?
thanks works good in chrome
I downloaded the current version of Opera and the Magnet Links work fine with Transmission on my Mac running Lion. Not so however for both Firefox or Chrome, in which nothing at all happens. Any suggestions?
try dragging the link from the website and into transmission, like if you were to drag a pic from website to your desktop to save it on your computer… I have literally never bothered with magnet links bc i couldnt figure them out.
dragging the magnet link to vuze/azureus works like a charm ! I’m using Ubuntu 10.10.. :)
Click delete in regedit.
The “instructions” for Mac are baloney, as far as I can see. I’m using Chrome and Transmission and neither seems to understand what to do with this link (in fact Chrome doesn’t even respond, and there is no way to specify file handlers. Google: Doh.). Can’t even open the copied magnet link from within Transmission.
same here! Nothing, nada, zip, ziltch. I have to copy paste TPB url into firefox (slow!!!) to grap the magnet link. groan
And neither does Safari or Firefox, for that matter. Even when I am graced with a dialog, it gives me no option to tell the stupid effin program which app to use.
My. Oh. My.
So, here is what i did and worked: I made the .reg file and stuff and clicked it. I ‘ve realised that it didn’t work with Chrome. Then i tried with Internet Explorer and asked me to choose a program to open the file. Then i ‘ve selected the Azureus.exe and ticked the box to always open that kind of files with this program and voila!! The best part comes here: I tried again to open the .magnet file with Chrome (it was not working before) and guess what, it worked because the file was associated with Azureus from my last download attempt with I.E.!!
Damien
I tried to add to the registry – however still could not link the magnet with uTorrent.
I use windows – i checked the file path, but its not working.
can you please check the last line of the reg edit with all the hash and ” s
cheers
the code for windows is not correct. its misssing backslashes the correct code is
REGEDIT4[HKEY_CLASSES_ROOTMagnet]@=”URL:Magnet Protocol””URL Protocol”=””[HKEY_CLASSES_ROOTMagnetshell][HKEY_CLASSES_ROOTMagnetshellopen][HKEY_CLASSES_ROOTMagnetshellopencommand]@=””C:\Program Files\uTorrent\uTorrent.exe” “%1″”
thanks
Dr.Who Teh code is perfect
Hello I have transmission gui to use popcornhour box my client dose not understand magnet links. I have assoicated .torrent files with transmission but I can’t with .magnet links any suggestions
Worked FIRST TIME>…you rock!
Can’t believe this actually worked the first time, thanks man! :D
can anyone help pls. I tried the ntepad code, upgrading torrent client but still doesnt work. i tried wt chrome and IE. I am running windows 7. pls help. thx
Sara
Dragging the link onto Vuze from Chrome worked. Doesn’t permanently change how chrome handles these links but its easy enough to remember to drag them in…
Thanks, I have ubuntu 10.04, this info worked great ;)
Much appreciated
Thank you soooo much for the Help!! :D
I did the notepad registry, but it didn’t work… when I open a magnet link from thepiratebay it sends me to an error:
File not found
Firefox can’t find the file at magnet:?xt=urn:btih:c137daabc3f626cfd589c427c6f86556a1156e70&dn=The+Big+Bang+Theory+S05E24+HDTV+x264-LOL+[eztv]&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.publicbt.com:80&tr=udp://tracker.ccc.de:80.
I was using a different tixati before this problem, but it was super slow so I changed to utorrent and this started to happen…
Please help
Thank you very much, worked instantly!
Kudos,
-Windows user
Thanks!!!!!!
Thank you!
After trying server different solutions, this one actualy solved the problem :)
I did the steps and it didn’t work. I saved the path for magnet links to Vuze and then found out that Vuze couldn’t do magnet links without the DHT working (don’t ask, I’m not turning it back on). So now I need to put the magnet links on another client which I want to use uTorrent but even after your step the magnets won’t switch over. I could delete both Vuze and uTorrent and restart my torrents but I REALLY don’t want to go that route! Please help!