Included in SSIS PowerPack

SSIS MongoDB Source

Read MongoDB collections in SSIS with a familiar SQL query, or with native MongoDB queries and aggregation pipelines.

Query MongoDB with SQL-style syntax or the native query language, run aggregation (Group By) pipelines, and flatten nested arrays with JSONPath such as $.Orders[*].OrderItems[*]. Output columns or raw JSON documents, connect with SSL or X509 certificates, and read MongoDB views (SSIS 2014 or higher).

The trial includes MongoDB Source and every other PowerPack component

SSIS MongoDB Source querying a collection with SQL and a JSONPath filter
MongoDB Source: query data using SQL, filter nested data using JSONPath

Trusted by data teams worldwide

MicrosoftIBMOracleDell TechnologiesHPCiscoAT&TVerizonDHLFedExUPSWalmart

Also rated on Capterra★★★★★ , Trustpilot★★★★★ and BBBA+ — see why teams trust ZappySys

At a glance

What MongoDB Source can do

MongoDB Source reads data from MongoDB collections into the SSIS data flow using SQL-style or native queries, and turns nested documents and arrays into rows and columns.

SQL-style queries

Query MongoDB with a familiar SQL style query language instead of a proprietary query syntax.

  • AccessMode: Table or Query
  • Filter on nested fields with ArrayName.ElementName
  • SQL is translated to a native query behind the scenes

Component help

Native MongoDB queries

Use native MongoDB query syntax for the full capability of db.collection.find(...).

  • Comparison, logical, geospatial, evaluation, array and bitwise operators
  • Header options such as MaxRows, Columns, Hint and Timeout

Native query syntax

Aggregation (Group By)

Run aggregation framework pipelines, the MongoDB equivalent of Group By queries.

  • Method: Find, Aggregate or Distinct
  • AllowDiskUse lets a pipeline exceed the 100MB RAM limit

Aggregation queries guide

Extract nested arrays

Extract data from nested arrays and sub documents with a JSONPath filter.

  • EnableJsonPath + Filter (e.g. $.Orders[*].OrderItems[*])
  • IncludeParentColumns adds parent attributes to each row
  • IncludeParentColumnsWhenChildMissing works like a LEFT OUTER JOIN

Read data from arrays

Raw JSON output

Output raw JSON documents instead of columns.

  • OutputMode: Columns, RawDocuments or RawDocumentsShellMode
  • IndentOutput makes the JSON easy to read

Component properties

Flatten & skip attributes

Control which attributes become columns and how deep the scan goes.

  • EnableArrayFlattening with MaxArrayItemsToFlatten
  • ExcludedProperties and MaxLevelsToScan
  • MetaDataScanMode controls data type and length detection

Component properties

Date parsing & filters

Parse MongoDB dates the way you need and filter documents by date.

  • DateParseHandling: keep as string, DateTime or DateTimeOffset (keeps time zone)
  • DateFormatString for custom date formats

Query MongoDB by date / ISODate

SQL Server 2012–2025 & ADF

Runs in your environment on SQL Server 2012–2025 and Azure-SSIS.

  • SQL Server 2025, 2022, 2019, 2017, 2016, 2014, 2012 (32/64-bit)
  • Azure Data Factory (SSIS IR)
  • Design packages in Visual Studio 2017, 2019, 2022, or 2026
  • Windows only (64-bit OS): Windows 7–11 or Windows Server 2012–2025

Compatibility and requirements

SSL & X509 authentication

Multiple authentication methods, including SSL and client X509 certificates.

  • Compatible with MongoDB 2.x, 3.x, 4.x and higher
  • Read MongoDB View data (SSIS 2014 or higher)

Configure MongoDB SSL connection

See all features
  • Fast data read/extract from MongoDB using a familiar SQL style query language
  • Native MongoDB query language for advanced query operations
  • Aggregation framework (Group By) support, plus Distinct
  • Extract data from nested arrays using JSONPath (e.g. $.Orders[*].OrderItems[*])
  • Option to include parent attributes when inner documents are extracted with JSONPath
  • Output raw JSON documents rather than columns (with indent option)
  • Advanced options to skip attributes by name or depth
  • Deep array flattening into columns (EnableArrayFlattening)
  • Date parsing options (DateTime, DateTimeOffset or string) and custom date formats
  • Multiple authentication methods, including SSL and client X509 certificate
  • Compatible with MongoDB 2.x, 3.x and 4.x (and higher)
  • Read MongoDB View data (requires SSIS 2014 or higher)
  • Error output for bad values and truncation
  • Support for SQL Server 2025, 2022, 2019, 2017, 2016, 2014, 2012 (32/64-bit) and Azure Data Factory

Runs in your environment ·

SQL Server 2012–2025

and Azure-SSIS · Read the FAQ

How it works

From the toolbox to your first run.

Write a query, choose how nested data is filtered, pick the columns, then run the data flow.

Query MongoDB with SQL.

Set Access Mode to Query and write SQL such as SELECT * FROM Employees WHERE LocationDetails.Country = 'Denmark'. Use ArrayName.ElementName for nested fields and square brackets for collection names with special characters, e.g. [Employees-OldData]. The SQL is translated to a native MongoDB query for you.

  • Table or Query access mode
  • Native JSON query and aggregation pipelines too
  • MaxRows, Columns, Hint, Timeout options in native mode
SSIS MongoDB Source SQL query example

Inside the UI

Key settings, as they appear in SSDT.

Real screens from the MongoDB Source product page. Step through them, or open any shot at full size.

MongoDB Source – Query data using SQL

Write a SQL query against a collection; the WHERE clause can use nested fields such as LocationDetails.Country.

Compatibility and requirements

Designed to stay inside your SSIS runtime.

  • SQL Server 2012 through 2025, 32-bit and 64-bit
  • Windows only, 64-bit OS required. SQL Server Express and Web editions do not include SSIS
  • Azure Data Factory SSIS Integration Runtime
  • Self-hosted: credentials and data stay in your environment (external API calls still reach that service)
  • Fully functional 30-day trial of SSIS PowerPack

FAQ

Questions teams ask before they drop MongoDB Source on the canvas.

What is MongoDB Source?

MongoDB Source is an SSIS data flow source that reads data from MongoDB collections using SQL-style or native MongoDB queries, including aggregation pipelines, and outputs rows and columns or raw JSON documents.

Do I need to learn the MongoDB query language?

No. You can write SQL such as SELECT * FROM Employees WHERE LocationDetails.Country = 'Denmark' and it is translated to a native query. For advanced cases you can still use native syntax with query operators, or Method: Aggregate / Distinct.

How do I read data from a nested array?

Enable the JSONPath filter and enter an expression such as $.Orders[*].OrderItems[*]. You can include parent columns, and keep parents without children (LEFT OUTER JOIN behavior). See Read MongoDB data from an array.

Can I extract two different arrays in one data flow?

MongoDB Source has one output, so one filter. Read raw documents once, send them to a Multicast, and parse each array with its own JSON Parser Transform filter. See Extract multiple arrays from MongoDB.

Which MongoDB versions are supported?

MongoDB 2.x, 3.x, 4.x and higher. Reading MongoDB views requires SSIS 2014 or higher.

Which SQL Server versions can I run it on?

SQL Server 2025, 2022, 2019, 2017, 2016, 2014, and 2012 (32- and 64-bit), plus Azure Data Factory with an SSIS Integration Runtime (packages must target SQL Server 2017). See Compatibility and requirements.

Independent ratings

Trusted by data teams, recognized by the industry

See why teams trust ZappySys (opens in new tab)

What customers say

  • Customer story

    ZappySys has been a fantastic way to bring our small company into the world of APIs, automation, and systems integration by providing tools within an easy-to-use framework.

    Ben KingeryOxspring Paul
  • Customer story

    At Synchronous Customers, we need to connect various types of data quickly. The super handy ZappySys connectors and great documentation let us do it without writing a lot of code.

    Joel ConnerSynchronous Customers
  • Customer story

    I looked everywhere for a product that could integrate to a web portal backend API via JSON. After many attempts, ZappySys was the only solution that gave me all the options I needed in a quick & clean interface within SSIS.

    Maz DunicSave the Children Australia
  • Customer story

    We have worked with the ZappySys support team for over a year and have consistently found them extremely helpful — resourceful and creative in offering multiple solutions to our challenges.

    Senthil SekarPublicis Groupe
  • Trustpilot

    I’ve been using ZappySys for over 6 years — it makes development faster, and I introduced it to my current company.

    Anna JohnsonTrustpilot review
  • Trustpilot

    I’m integrating data from APIs into database tables with SSIS/ZappySys — very easy to use, fast, and highly efficient without writing complex code.

    Carolyn S.Trustpilot review
  • Customer quote

    I submitted a support request and had someone logged in and fixing things within 2 hours.

    Barry Wilson
  • Customer quote

    The REST source is very powerful — the only thing I found I could use after trying components from major vendors.

    Jes KirkupKTC
  • Customer quote

    Whenever we run into an obstacle, ZappySys has a solution for us. We are so glad that we chose ZappySys PowerPack.

    Kevin ChenBerricle

Start your free trial today

Install SSIS PowerPack and drag MongoDB Source onto the Data Flow.

Read MongoDB collections, aggregations and nested arrays into SQL Server or any SSIS destination.

  • Data Flow Source in SSISMongoDB Source appears in the toolbox after you install PowerPack.
  • Fully functional 30-day trialSSIS PowerPack, running in your environment.
  • Live supportHelp during your trial and after purchase.

New purchases may be eligible for refund review within 30 days. See the refund policy.

Talk to an engineer before or during your trial.

1 / 9