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 AllTruncate XML
Loop over an XML document and truncate long element names, attribute v...
Prettify XML
Free XML formatter and prettifier. Beautify messy XML with 2-space, 4-...
Use Single Quotes Everywhere
Normalize every XML attribute to single quotes. Double-quoted attribut...
Convert CSV to XML
Free CSV to XML converter that builds valid XML from CSV rows, with co...
Convert XML to PDF
Render XML as a clean, styled document and save it as a PDF in one cli...