Want to export MongoDB collection to XML file?
Using Withdata software MongoToFile, a MongoDB XML exporter for Windows, MacOS, and Linux, you can export MongoDB collection to XML file easily and fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Support all MongoDB deployment types: standalone, replica set, sharded cluster, and MongoDB Atlas.
Download MongoToFile
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Export MongoDB collection to XML file
Login to MongoDB -> Choose MongoDB collection -> Set XML options -> Export MongoDB to XML
Start MongoToFile, connect to MongoDB.
Then click “Export From Collection” at task dialog.
Select “XML” file type.
1. Choose a MongoDB collection to export.
2. Set XML options.
3. Summary.
4. Export MongoDB collection to XML file.
After exporting, you can view output XML file.
Export MongoDB collection to XML in command line
Save “MongoDB to XML” session, then you can:
- Export MongoDB collection to XML in Windows command line.
- Export MongoDB collection to XML in Linux command line.
- Export MongoDB collection to XML in macOS command line.
Set scheduled tasks for exporting MongoDB collection to XML
You can schedule and automate this “MongoDB to XML” conversion task by:
1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.