To decode a bencoded file (mostly *.torrent file), you can either drag and drop the file to the editor below or press the "Open file..." button and select your file.
To encode, paste JSON representation of the structure to the editor below and press the "Save (bencode it)" button.


References:
1. Bencode - Wikipedia
2. JSON.org