The ed2k links are used by the eDonkey 2000 family of P2P programs, such as eDonkey 2000 itself, eMule, Hybrid, MLDonkey and others. These links are primarily used to provide a unique identifier for file without referring to a specific location, like in ftp and HTTP links. This is done by using the hash function on the file to calculate its checksum. The file is spread into 9.28Mb chunks and hash is calculated for every one of them. The resulting hash table is hashed once again and the final value is used as a part of the ed2k link.

The typical ed2k link also includes the filename and the filesize. An example (a link to the 15Mb Purist Edit trailer) is provided below:

ed2k://|file|The_Two_Towers-The_Purist_Edit-Trailer.avi|14997504|
965c013e991ee246d63d45ea71954c4d|/

The ed2k links can also include a reference to the IP address and port of the specific client that shares a file. This is done by adding a list of sources after the main part of the link.

ed2k://|file|The_Two_Towers-The_Purist_Edit-Trailer.avi|14997504|
965c013e991ee246d63d45ea71954c4d|/|sources,202.89.123.6:4662|/

The "file" part indicates that this is a file link, as opposed to server link. A server links is a reference to the eDonkey 2000 server. Clicking on such links typically adds it to the server list.

ed2k://|server|207.44.222.51|4242|/

After installing one of the eDonkey 2000 clients the ed2k:// protocol is registered in Microsoft Windows (and perhaps, other OSes), so that clicking on it in the browser automatically starts the download.