Use pretty() cursor method along with methods like find(). For example, db.users.find().pretty(). This shows a friendly-version of the result. Note it’s the default behavior in modern mongosh. With earlier versions, you need the cursor method to format the result.