Home > Specs > BitTorrent
.torrent Files
These files hold a single BEncoded map that contains entries for trackers, web seeds, and the
torrent info map.
It should be noted that the only part of a .torrent file that is reliable is the info key's value, because it is secured by the info hash ID. All other fields can be arbitrarily set at the time a .torrent file is saved by any client.
Magnet links are a far more efficient way to share a torrent.
Here are the keys in the file:
info
The value of this key is the main
torrent info map. This map is hashed, in BEncoded form, to get the info hash ID that serves as the main identity of the torrent.
announce-list
This is a list of lists of
tracker URLs. The inner lists represent tiers, where only one tracker should be used in each tier.
announce
This is a string that contains a single
tracker URL.
url-list
This is a list of web seed URLs.
comment
This is where a comment can be made by the creator of this .torrent file.
created by
This is the name of who created this .torrent file.
creation date
This is an integer for the unix-style time of creation.