Sometimes you need to copy PostgreSQL data to MongoDB, you can use Withdata DBToMongo as PostgreSQL to MongoDB 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 CLI (Command Line Interface), for Scheduled Tasks and Streams, for Automation.
Start Withdata DBToMongo.
Login to PostgreSQL.

Login to MongoDB.

Click "Convert From Query" at task dialog.

then show the wizard.
1. Enter source PostgreSQL query.

2. Choose destination MongoDB collection and config fields.

3. Set rows options.

4. Export PostgreSQL query results to MongoDB collection.

Click "View", See MongoDB collection data.

Click "Convert From Table" at task dialog.

then show the wizard.
1. Choose source PostgreSQL table.

2. Choose destination MongoDB collection and config fields.

3. Set rows options.

4. Copy PostgreSQL table data to MongoDB collection.

Click "View", See MongoDB collection data.

Click "Convert Similar Tables" at task dialog.

then show the wizard.
1. Select source PostgreSQL tables.

2. Choose a destination MongoDB collection and config fields.

3. Set rows options.

4. Copy data from PostgreSQL to MongoDB.

Click "View", See MongoDB collection data.

Click "Convert All Tables" at task dialog.

then show the wizard.
1. Select source tables.

2. Target collections, choice "Import Type".

3. Map PostgreSQL tables to MongoDB collections.

4. Summary.

5. Batch copy PostgreSQL data to MongoDB.

Click "View", See MongoDB collection data.

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