Torrent File Parser
Drop in a .torrent file to read what is inside it without a BitTorrent client. The parser decodes the bencode metadata and shows the torrent name, total size, every file and its size, the piece length and piece count, the announce trackers, the creating program, and the creation date. The file is decoded entirely in your browser and is never uploaded, so there is no download and no peer connection.
How to read a .torrent file
- Drag a .torrent file onto the box, or click to browse for one.
- Read the summary: name, total size, file count, piece info, and trackers.
- Scan the file list to confirm the contents and sizes before you download.
Examples
A multi-file album torrent
album.torrent describing a folder of 12 tracks
Name: My Album, 12 files, 84.2 MB total, 256 KB pieces, 1 tracker
Frequently asked questions
Is my torrent file uploaded anywhere?
No. The .torrent file is read and decoded entirely in your browser using JavaScript. Nothing is sent to a server, no tracker is contacted, and no peers are connected to, so the file stays on your device.
Does this download the actual files in the torrent?
No. A .torrent file only contains metadata: names, sizes, piece hashes, and tracker URLs. This tool reads that metadata so you can see what a torrent points to. It cannot fetch any of the content, which still requires a BitTorrent client.
What is bencode and how does the parser read it?
Bencode is the simple encoding BitTorrent uses for metadata, with four types: integers, byte strings, lists, and dictionaries. The parser decodes those bytes directly, then reads the well-known fields from the top dictionary and the nested info dictionary.
How is the piece count worked out?
The info dictionary stores a pieces field that is a run of 20-byte SHA-1 hashes, one per piece. The tool reads only the byte length of that field and divides by 20 to get the piece count. The raw hash bytes are never shown as text.
What is the difference between a single-file and multi-file torrent?
A single-file torrent stores one length in its info dictionary and describes one file. A multi-file torrent stores a files list, each with its own length and path segments, which are joined with a slash. The total size is the sum of every file.
What does the private flag mean?
Some trackers mark a torrent private by setting the info private flag to 1. That tells clients to use only the listed trackers and skip peer exchange and DHT. The tool surfaces this flag when it is set so you know the torrent is tracker-only.
Related tools
File Type Identifier
Find out what a file really is from its magic bytes, not its extension. Detects images, audio, video, archives, fonts, and more in your browser. Private.
Strings Extractor
Extract readable text from any binary file in your browser, like the Unix strings command. See each printable run with its byte offset, set a minimum length.
File Checksum Verifier
Verify a download's checksum in your browser. Drop in a file, get its SHA-1, SHA-256 and SHA-512, and paste the expected hash to confirm a match. Private.
Base64 File Encoder
Encode any file to Base64 and a data URI in your browser. Drop a file to get the raw Base64 and a ready data: URI to copy. Nothing is uploaded.
CBOR Decoder
Decode a CBOR file (RFC 8949) to readable JSON in your browser. Handles integers, byte strings, arrays, maps, tags, and floats. Nothing is uploaded.
CSV File Inspector
Inspect a CSV file in your browser: detect the delimiter, encoding and BOM, count rows and columns, guess the header, and preview sample rows. Private.