Convert BSON to XML
Decode a base64 BSON (Binary JSON / MongoDB) string back into a readable XML document with correct types and nesting.
Input
Output
About Convert BSON to XML
Convert BSON to XML parses a base64-encoded BSON document and rebuilds it as XML. Strings, integers, doubles, booleans, arrays and embedded documents are all decoded and converted to a clean, pretty-printed tree.
Features
How to Use
Examples
A MongoDB-style document with a products array decodes to a catalog 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 AllRemove All XML Comments
Delete all comments from an XML file in one click — clean, valid XML w...
Convert XML to a Table
Draw a clean HTML table from repeating XML records. Auto-detect rows a...
Convert XML to SQL
Generate INSERT SQL queries from an XML file. Repeated records become ...
Find XML Values
Find certain values in an XML file — text content and attribute values...
Change XML Syntax
Replace angle braces and quotes in XML with other characters — square ...