Working with Data
Import and Export Data
Import and export MongoDB data in various formats
Import and Export Data
Import data from external sources and export MongoDB collections in various formats.
Export Data
Supported Formats
Export collections or query results in:
- JSON - Standard MongoDB Extended JSON
- CSV - Flat spreadsheet format
- BSON - Binary MongoDB format
Exporting Collections
Open a collection in the Data Explorer
Click Export in the toolbar
Choose options:
- Format - JSON, CSV, or BSON
- Filter - Export all or filtered results only
- Fields - Select specific fields or all
Click Download to save the file
Export Limits
Export size limits by plan:
- Free - Up to 1,000 documents per export
- Team - Up to 10,000 documents
- Business - Up to 100,000 documents
- Enterprise - Unlimited
For large exports, use filters to break the data into smaller batches.
Import Data
TeamSupported Import Formats
- JSON - Array of documents or newline-delimited JSON
- CSV - With automatic type detection
- BSON - Native MongoDB format
Importing Data
Navigate to the target collection
Click Import in the toolbar
Upload file and configure:
- Format - Auto-detected from file extension
- Duplicate handling - Skip, overwrite, or error on duplicates
- Batch size - Documents per batch (default: 1000)
Click Import to begin
Import Progress
Monitor import progress:
- Documents imported count
- Errors encountered
- Estimated time remaining
- Pause/cancel option
Large imports can take time. The import runs in the background - you can navigate away safely.
CSV Import Options
Type Detection
MongoDash automatically detects field types from CSV data:
- Numbers (integers and floats)
- Booleans (true/false, yes/no)
- Dates (ISO 8601 format)
- Strings (default)
Header Row
- First row is header - Field names from first row
- No header - Auto-generate field names (field1, field2, etc.)
Duplicate Handling
Configure how to handle documents with duplicate _id values:
- Skip - Keep existing document, skip import for that row
- Overwrite - Replace existing document
- Error - Stop import and report error