Use Withdata MongoToDB as MongoDB to DB2 Copier (Converter / Transferor).
Works GREAT in 2025.
Support Windows, Linux, and macOS.
Support all MongoDB deployment types: standalone, replica set, sharded cluster, and MongoDB Atlas.
Can run in GUI mode, Step by Step, just a few mouse clicks.
Can run in CLI (Command Line Interface), for Scheduled Tasks and Streams, for Automation.
Start Withdata MongoToDB.
Login to MongoDB.

Login to DB2.

Click "Import From Query" at task dialog.

then show the wizard.
1. Enter MongoDB query.

2. Choose destination DB2 table and config fields.

3. Preview data.

4. Copy MongoDB data to DB2.

Click "View", See DB2 table data.

Click "Import From Collection" at task dialog.

then show the wizard.
1. Choose source MongoDB collection.

2. Choose destination DB2 table and config fields.

3. Preview data.

4. Copy MongoDB collection data to DB2.

Click "View", See DB2 table data.

Click "Import Similar Collections" at task dialog.

then show the wizard.
1. Select MongoDB Collections.

2. Choose destination DB2 table and config fields.

3. Preview data.

4. Copy MongoDB data to DB2.

Click "View", See DB2 table data.

Click "Import All Collections" at task dialog.

then show the wizard.
1. Select MongoDB collections.

2. Target DB2 tables, choose "Import Type".

3. Map MongoDB collections to DB2 tables.

4. Summary.

5. Batch copy MongoDB data to DB2.

Click "View", See DB2 table data.

After coping MongoDB data to DB2 in GUI, and Saving "MongoDB to DB2" session, then you can:
After coping MongoDB data to DB2 in Command Line, then you can schedule and automate "MongoDB to DB2" conversion task by: