Ora2Pg
The open-source Oracle to PostgreSQL migration toolkit.

A free tool to migrate Oracle (and MySQL) databases to PostgreSQL. It connects to your Oracle database, scans it automatically, extracts its structure or data, and generates SQL scripts you can load directly into PostgreSQL. 25+ years of development. Thousands of successful migrations. Created by Gilles Darold, CTO of HexaCluster and currently being maintained by Gilles and the Team at HexaCluster.
GPL v3
HexaRocket, built by the creators of Ora2Pg, addresses all the conversion challenges that cannot be handled by Ora2Pg and reduces manual efforts. HexaRocket supports Online database migrations with Rollback capabilities.
- 100% automatic schema conversion with validation
- Data Migration with Validation
- CDC for live replication - Online migration with Rollback
- Cutover Prechecks and advanced configuration on UI
Supported Databases

Expert migration help
Stuck with Ora2Pg?
If your migration still needs manual fixes, deeper validation, or production cutover support, HexaCluster can help you move from generated scripts to a migration plan you can trust.
Featured Article
Ora2Pg vs HexaRocket: From the Creator of Ora2PgMigration Capabilities
Choose the engine that fits the migration.
Start with Ora2Pg's proven open-source workflow, or switch to HexaRocket when the project needs enterprise-grade validation, replication, and operational control.
Everything needed for Oracle to PostgreSQL migration.
Ora2Pg focuses on assessment, schema extraction, data export, and SQL conversion for teams that want a powerful, scriptable migration engine.
- Migration Assessment reports
- Schema Conversion
- Oracle PL/SQL to PostgreSQL PL/pgSQL
- Data Migration (Offline, requires downtime)
- Data Validation
Ecosystem
Better together.
The world's leading open-source Oracle to Postgres migration engine, seamlessly integrated with HexaRocket's enterprise platform.

Ora2Pg
Open Source Engine

HexaRocket
Enterprise Platform