Skip to content
100% local

Magnet link parser

Break a magnet link into its parts, or build one from a hash, name and trackers.

Input
Output

Magnet link parser

Paste a magnet: link and this tool breaks it into readable fields — the BitTorrent info hash, display name, file size, trackers and any other parameters it carries. Use it to inspect a link before opening it in a torrent client, to check which trackers it announces to, or to see exactly what a magnet link is actually pointing at.

The info hash (xt) is decoded and shown in both forms torrent clients use: 40-character hex and 32-character base32, converted automatically between the two so you always have whichever one you need. The display name (dn) is percent-decoded back to readable text, the file length (xl) is converted to a human-readable size like "1.46 GB", and every tracker (tr) and web seed (ws) is listed one per line. The keyword topic (kt), when present, is decoded too. Switch direction to Build to go the other way: enter a hash and, optionally, a name, size, trackers and web seeds as one field per line, and the tool assembles a valid magnet: link. Turn on batch mode to process many links (or many field blocks, separated by a blank line) in one pass, one per line of output.

Real-world magnet links sometimes carry parameters no client recognizes, or the same field twice by mistake — the tool flags both as warnings without failing the whole link, so a single bad parameter in a batch never hides the links around it. Malformed input, such as a link with an invalid hash or a missing scheme, is reported clearly instead of guessed at.

Everything runs locally in your browser — the magnet link, hash and file names never leave your device or reach a server. When you're done, copy the result, download it as a .txt file, or send the output back to the input to parse the next link.

FAQ

What does the info hash actually identify?
It is a SHA-1 hash of the torrent's metadata (the BTIH), which is how peers and trackers find the same file without a central server. The hash never encodes the file content itself.
Why does the tool show the hash in two formats?
Torrent clients and older links use either 40-character hex or 32-character base32 for the same hash. Showing both, and converting one from the other, means you can use whichever a given client expects.
Can I turn a plain hash back into a working magnet link?
Yes — switch direction to Build, enter "xt: btih:" followed by the hash (hex or base32), and add optional lines for dn, xl, tr, ws or kt to include a name, size, trackers, web seeds or keywords.
What happens with parameters the tool does not recognize?
They are listed as a warning under the result instead of being silently dropped, so you can see exactly what a link contains even if part of it is non-standard.
Is my magnet link uploaded anywhere?
No. Parsing and building both run entirely in your browser — links, hashes and file names are never sent to a server.