All Tools
Categories
XML Tools 64 Email Marketing Tools 55 Import-Export Tools 50 Text Tools 12 JSON Tools 10 Shipping Freight Tools 5 Calculator 4 Marketing Tools 3
About Contact Privacy

Convert Bencode to XML

Decode a Bencode string (BitTorrent encoding) back into a readable XML document with correct nested structure, lists and attributes.

Input
Output

About Convert Bencode to XML

Convert Bencode to XML parses a Bencode string into a nested object and emits it as XML. Dictionaries become elements, lists become repeated elements, integers become numeric text and strings become text or attribute values.

Features

  • Full Bencode parser (d, l, i, strings)
  • Attributes reconstructed from @-prefixed keys
  • Pretty-printed XML output
  • Configurable text key for mixed content
  • Handles deeply nested data
  • How to Use

  • Paste a bencoded string.
  • Choose how @ keys are mapped to attributes.
  • Copy or download the resulting XML.
  • Examples

    A dictionary with two products decodes back to a catalog element with product children.

    Benefits

  • Inspect torrent metadata without a client
  • Round-trip XML ↔ Bencode safely
  • Clear, valid, pretty XML output
  • Frequently Asked Questions

    Is my XML sent to a server?
    No. Everything runs locally in your browser. Your data is never uploaded, stored or logged.
    Can I download the result?
    Yes — use the Download button below the output area, or Print / Save PDF for a printable copy.