You can export MongoDB and acquire human readable text file. Data is exported in json format by default, but you can also export MongoDB in csv format. If you want to export data from MongoDB then you can use the command mongoexport.
Example: Lets export restaurants information from newdb database. It can be done by typing:
--out for the file in which the data will be saved.
Following is the output of mongoexport
Output of mongoexport
2016-04-17T03:39:00.143-0500 connected to: localhost
2016-04-17T03:39:03.145-0500 exported 26000 records
The above output shows that 26000 documents have been imported.
If you want to export data for only some part of your collection then you need to connect to the database again. Here we will export all the restaurants which satisfies the following criteria to be situated in Bronx borough and to have Chinese cuisine.