YAML to MongoDB - Import Files into Collections in GUI

Sometimes you need to import YAML to MongoDB, you can use Withdata FileToMongo as yaml to MongoDB Converter (Importer / Loader).

"YAML to MongoDB" tool - FileToMongo

Works GREAT on Windows, Mac and Linux.

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.

  1. 1 to 1: Import YAML to MongoDB collection
  2. n to 1: Import multiple YAML files to a single MongoDB collection
  3. n to n: Batch import YAML files to MongoDB collections

Can run in CLI (Command Line Interface), for Scheduled Tasks and Streams, for Automation.



Download Withdata FileToMongo Download FileToMongo



Import YAML to MongoDB in GUI



Start Withdata FileToMongo, connect to MongoDB.

connect to mongodb



1 YAML to 1 Collection

Click "1 File To 1 Collection" at task dialog.

Import file data To MongoDB collection - task window

Select the "YAML" file type.

Import YAML file data To MongoDB collection - select file type

1. Open a YAML file.

Import Data From YAML File To MongoDB collection - open YAML file

The source YAML file like this:

import YAML file to MongoDB collection - source YAML file

2. Choose collection and map columns.

Load Data From YAML File To MongoDB collection - set collection options

3. Preview and set rows options.

Transfer Data From YAML File To MongoDB collection - preview

4. Import YAML to MongoDB collection.

Copy Data From YAML File To MongoDB collection - import data

After importing, you can view imported data in MongoDB collection.

view MongoDB data



N YAML to 1 Collection

Click "N File To 1 Collection" at task dialog.

Import multiple YAML files data To a single MongoDB collection - task window

Select the "YAML" file type.

Import multiple YAML files data To 1 MongoDB collection - select file type

1. Open YAML folder.

Import multiple YAML files to 1 MongoDB collection - set YAML folder

2. Set YAML options.

Import multiple YAML Files To 1 MongoDB collection - config YAML file

3. Choose collection and map columns.

Load multiple YAML Files To 1 MongoDB collection - select table

4. Preview and set rows options.

Transfer multiple YAML Files To 1 MongoDB collection - preview

5. Import YAML to MongoDB collection.

Copy multiple YAML Files To 1 MongoDB collection - import data

After importing, you can view imported data in MongoDB.

Import multiple YAML Files To Single MongoDB Collection - view data



N YAML to N Collections

Click "N File To N Collection" at task dialog.

Batch Import YAML files data To MongoDB collections - task window

then show the wizard.

Select the "YAML" file type.

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

1. Open YAML folder.

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

2. Set YAML options.

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

3. List collesions, set "Import Type".

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

4. Map files to collections.

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

5. Summary.

Batch Transfer Data From YAML Files To MongoDB collections - preview

6. Import YAML data to MongoDB collections.

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

After importing, you can view imported data.

view MongoDB data

FAQ

How long does it take to import YAML to MongoDB?


Is it safe to import YAML to MongoDB using FileToMongo?


Can I import YAML to MongoDB on Linux, Mac OS?


Can I import YAML to MongoDB in command line?


Can I batch import YAML files to MongoDB collections?



Download Withdata FileToMongoDownload FileToMongo