Migrate MS SQL Server (T-SQL) to PostgreSQL Online
Modernize proprietary Microsoft SQL Server databases into open-source PostgreSQL scripts.
Convert MS SQL Server to PostgreSQL / PSQL / PGSQL
activeConvert MS SQL Server (MDF, BAK, T-SQL) into PostgreSQL schema definitions, data dumps, and constraints.
Choose Files or Drag & Drop here
Accepts formats: MDF, BAK, SQL (Max 100 MB per file)
How to Convert Convert MS SQL Server to PostgreSQL / PSQL / PGSQL Online
Upload MSSQL backup or T-SQL
Generate PostgreSQL schema
Download .sql file
Frequently Asked Questions about Convert MS SQL Server to PostgreSQL / PSQL / PGSQL
How are square brackets ([Column]) handled?
Square brackets are converted into standard PostgreSQL double quotes ("Column").
Related Data & Code
Convert CSV to Excel (XLSX)
Convert CSV and TSV spreadsheets to Microsoft Excel workbook format (.xlsx, .xls) with cell formatting and headers.
Convert CSV to MySQL / MariaDB
Convert CSV data into MySQL and MariaDB CREATE TABLE definitions and batch INSERT INTO statements.
Convert CSV to SQLite
Convert CSV files into SQLite database dumps and DDL schema scripts with typed column mappings.
Convert CSV to PostgreSQL / PSQL / PGSQL
Convert CSV data into PostgreSQL DDL schema definitions, COPY commands, and INSERT statements.
