Skip to content
Test versionSearch

Developer tools

Magnet link generator from an infohash

Create a magnet link from your own metadata infohash, with an optional name and tracker addresses. No content, peers or trackers are contacted.

How it worksFAQRelated tools

Content reviewed:

Enter your known metadata infohash and optional name and tracker addresses, then calculate. Native exports and report exports are separate; reloading removes temporary scenarios.

A metadata infohash is not an ordinary file checksum. No torrent parsing, hashing, hybrid links, automatic public tracker list, content lookup, availability or access-right verification. Up to 20HTTP/HTTPS/UDP trackers, UDP requires an explicit port 1–65535, credentials and fragments refused. Input/output limits are explicit. Default zeros are fabricated and do not identify supplied content.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Convert v1 hexadecimal 40 or unpadded Base32 length 32 to 20 bytes; v2 accepts hexadecimal 64 or its1220multihash prefix. Encode exact-topic, name and repeated tracker parameters as UTF-8 percent-encoded values. Normalize and deduplicate explicitly supplied tracker URLs. A metadata infohash is not an ordinary file checksum. No torrent parsing, hashing, hybrid links, automatic public tracker list, content lookup, availability or access-right verification. Up to 20HTTP/HTTPS/UDP trackers, UDP requires an explicit port 1–65535, credentials and fragments refused. Input/output limits are explicit. Default zeros are fabricated and do not identify supplied content.

Worked example

The example metadata infohash contains only zeros and is fictional.

Frequently asked questions

How do I create a magnet link from an infohash?

Enter a known metadata infohash, optionally add a name and tracker addresses, then calculate. The magnet link generator encodes the exact topic, name and repeated tracker parameters as UTF-8 percent-encoded values and produces an inert URI draft.

Which infohash formats does the magnet link generator accept?

Version 1 accepts a 40-character hexadecimal infohash or an unpadded Base32 string of length 32, both converted to 20 bytes. Version 2 accepts a 64-character hexadecimal value or the same value with its 1220 multihash prefix.

How many trackers can I add to a magnet link?

Up to 20 HTTP, HTTPS or UDP trackers can be added. UDP trackers need an explicit port from 1 to 65535, tracker URLs containing credentials or fragments are refused, and the supplied URLs are normalised and deduplicated.

Does the magnet link generator connect to trackers or peers?

No. The magnet link generator only drafts a URI; no content, peer or tracker is requested, and there is no content lookup, availability check or access-right verification.

Is a magnet infohash the same as a file checksum?

No. A metadata infohash is not an ordinary file checksum, and the generator does not parse torrent files or hash any content. It also does not build hybrid links or add an automatic public tracker list.

What does the all-zero example infohash mean?

The default infohash made of zeros is fictional. It is fabricated for the example and does not identify any supplied content.