Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Compass
Created by Guest
Created on Jul 29, 2021

Allow customers to copy a pretty print formatted json

Currently when copying a document from MongoDB compass, the copy button will put the stringified json onto your clipboard. However, the text that is copied omits whitespace. As such, if I want to make the json more human parsable, I need to visit a website like jsonformatter, paste the document, then recopy the cleaned json doc. Would be nice if we could specify whether to copy w/ or w/o whitespace formatting.
  • ADMIN RESPONSE
    Aug 8, 2025
    A little late to update the portal, but the copy button started including whitespace to enabling pasting pretty print formatted JSON a long time ago. I hope that the users who upvoted this item have found that improvement to be helpful! Please let us know if you have any more feedback.
  • Attach files