Batch import TXT files to MongoDB collections without programming

by

Want to batch import data from TXT files to MongoDB collections?

Using Withdata software FileToMongo, a MongoDB TXT importer for Windows, MacOS, and Linux, you can bulk import data from TXT files to MongoDB collections easily and fast.

Download FileToMongo Download FileToMongo

Bulk import data from TXT files to MongoDB collections

Login to MongoDB -> Choose TXT files -> Set MongoDB collections. -> Import TXT files into MongoDB collections

Start FileToMongo, connect to MongoDB.

Import multiple TXT files data to 1 MongoDB collection - connect to mongodb

Click “N File To N Collection” at task dialog.

Batch Import TXT files data To MongoDB collections - task window

then show the wizard.

Select the “TXT” file type.

Batch Import TXT files data To MongoDB collections - select file type

1. Open a folder contains TXT files.

Batch Import Data From TXT Files To MongoDB collections - set TXT folder

2. Set TXT options.

Batch Import Data From TXT Files To MongoDB collections - config TXT file

3. List collesions, set “Import Type”.

Batch Load Data From TXT File To MongoDB collections - select table

4. Map files to collections.

Batch Load Data From TXT File To MongoDB collections - select table

5. Summary.

Batch Transfer Data From TXT Files To MongoDB collections - preview

6. Import TXT data to MongoDB collections.

Batch Copy Data From TXT Files To MongoDB collections - import data

After importing, you can view imported data.

Bulk Import Data From TXT Files To MongoDB collections - view data

Bulk import TXT to MongoDB in command line

Save “TXT to MongoDB” session, then you can:

Set scheduled tasks for bulk importing TXT to MongoDB

You can schedule and automate this “TXT to MongoDB” conversion task by:

1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.

2) Set scheduled task.

FAQ