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
How to Use
Examples
A dictionary with two products decodes back to a catalog element with product children.
Benefits
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.
More XML Tools
View AllConvert PDF to XML
Extract text from a PDF file and output it as structured XML. Paste PD...
Extract All XML Comments
Extract only the comments from an XML document — every annotation in o...
Convert IXML to XML
Parse invisible-XML (IXML) style notation and rebuild a valid, pretty-...
Replace XML Keys
Replace XML keys (element and attribute names) that match a pattern wi...
Find XML Nesting Depth
Find how many levels deep your XML goes. Get max depth, deepest path, ...