Import JSON and CSV data into your MongoDB collections

Import JSON and CSV data into your MongoDB collections

Humongous offers the ability to easily import data into your MongoDB collections from CSV and JSON files.

First, head over to the collection in which you would like to import your data.

Once you are on the collection page, click on the More button in the collection toolbar and click on Import.

Once the import window opens, choose the CSV or JSON file containing the data you would like to import.

JSON files must be in the JSON array format. Otherwise only one document will be imported.

If you want to replace existing data in your collection, toggle the Replace existing data switch, or the new data will be appended to your collection.

Finally, click on the Import button to import your data.

Was this page helpful?
Yes
No