title: How to export JSON from MongoDB using Robo 3T
body: <p>I am using Robo 3T (formerly RoboMongo) which I connect to a MongoDB. What I need to do is this: There is a collection in that MongoDB. I want to export the data from that collection so that I can save it into a file.</p>
  <p>I used the interface to open the data from the collection as text and did a <kbd>Ctrl</kbd> + <kbd>A</kbd> and pasted into a text file. However, I found that not all data is copied and also that there were many comments in the text data which naturally breaks the JSON.</p>
  <p>I am wondering if Robo 3T has a &quot;Export As JSON&quot; facility so that I can do a clean export.</p>
  <p>Any pointers are appreciated!</p>