Paste a JSON or Extended JSON document to estimate its BSON size in bytes and see how much of MongoDB's 16 MB document limit it uses. Your document is parsed locally and never uploaded.
MongoDB stores documents as BSON (Binary JSON), a binary encoding of your JSON-like data. BSON is not the same size as the JSON text: each field carries a type byte and a length prefix, and values are stored in fixed binary widths. This tool estimates that encoded size.
A single BSON document cannot exceed 16 MB. Hit that ceiling and writes fail, so it's worth watching for documents with large arrays or embedded blobs. If you're approaching the limit, reference large sub-documents in a separate collection or store binary payloads in GridFS.
VisuaLeaf
VisuaLeaf's visual schema designer helps you spot unbounded arrays and oversized embeds before they become a problem, alongside a full MongoDB and SQL client with query builders and charts.