MS SQL to PostgreSQL

[FAQ]  [About Migration]  [Tutorial]  [Release Notes]  [Download]  [Buy]
Latest version 4.3 released 07/01/2019

MSSQL-to-PostgreSQL is a program to migrate databases from SQL Server to PostgreSQL. The program has high performance: 2,5 GB MS SQL database is migrated to PostgreSQL server within less than 20 minutes on an average modern system. Command line support allows to script, automate and schedule the conversion process.

  • SQL Server to PostgreSQL converter supports all versions of PostgreSQL starting from v9.0
  • Verified support for Heroku
  • All versions of Microsoft SQL are supported (including Azure SQL)
  • Fast conversion engine
  • Existing PostgreSQL database can be overwritten, merged or synchronized with MS SQL data
  • MS SQL to PostgreSQL tool allows selecting tables to convert
  • Option to filter data using SELECT-queries
  • Converts indexes and foreign keys with all necessary attributes
  • Option to customize field mapping (modify name, type, default values for every column)
  • Converts MS SQL views into PostgreSQL format
  • Option to export into PostgreSQL script file
  • Command line support
  • Quick Launch
  • Stores conversion settings into profile
  • Support for Unicode
  • The product can be customized according to customer requirements
  • Unlimited 24/7 support service
  • 1-year subscription for updates


  • Does not convert stored procedures/functions and triggers (our specialists can convert these objects manually as Database Migration Service)
  • Demo version converts only 50 records per table
  • Demo version does not convert foreign keys and views
Video Demonstration

Download trial version of MS SQL to PostgreSQL converter


Quick Launch

Once you stored conversion settings into profile you can run the program in Quick Launch mode. Just launch Windows Explorer and double-click on the profile description (.m2p) file with left mouse button. This will cause SQL Server to PostgreSQL converter to load the necessary settings from the specified profile. Then you will be taken right to the screen with progress indication without entering all conversion settings.


MS SQL to PostgreSQL converter implements synchronization as combination of insert Microsoft SQL records that are missing in PostgreSQL table and update existing PostgreSQL records with MS SQL data. For synchronization purpose source and destination tables must have identical structures and have primary key or unique index defined.

If you need more options to configure the synchronization or want to reduce duration of the process via "incremental" technique, take a look at MSSQL-PostgreSQL Sync, special product to synchronize MS SQL and PostgreSQL databases.

Customize table structure

This feature can be accessed by double click on the corresponding table name in "Selected tables" list of "Step 4 of 5" wizard page.

This will cause the following dialog box to appear:

To customize type mapping select the appropriate item in the listview on the left and specify new name, type and default value for the field using "Field info" group of controls. Please note that listview on the left contains column attributes of the original types mapping, new custom types and attributes will be displayed in "Field info" controls when the corresponding item is highlighted in the listview.


MSSQL-to-PostgreSQL converts about 90% of syntax constructions involved into MS SQL "CREATE VIEW" statements. Some of the conversion rules are described into this whitepaper.

PostgreSQL script file

MSSQL to PostgreSQL converter allows users to migrate Microsoft SQL database into PostgreSQL format even when there is no connection to PostgreSQL server available for some reason. Following this way, the program converts SQL Server data into a local PostgreSQL script file instead of migrating it to PostgreSQL server directly. The resulting file contains PostgreSQL statements to create all tables and to fill them with the data. Click here to learn how to import dump file into PostgreSQL database.

Try before you buy

Still not sure the program fits your needs? Try free demo version with limited features. It will allow you to convert only five records for each database table, it does NOT convert queries/views and foreign keys. Test the quality of the demo and come back to place an order if satisfied with the results.

Download trial version of SQL Server to PostgreSQL converter


Intelligent Converters software is distributed through downloading from our server only. For online credit card purchasing select the desired software package in the table below and click the corresponding ORDER NOW link. To learn about alternative payment options please visit our Ordering Page.


MS SQL to PostgreSQL (single user license)
Click here for more information about licensing
MSSQL-PostgreSQL Sync
bi-directional incremental syncronization between MS SQL and PostgreSQL
MS SQL Migration Toolkit
software pack to convert any data source to Microsoft SQL
and vice versa
PostgreSQL Migration Toolkit
software pack to convert any data source to PostgreSQL
and vice versa