pgdbf
« Back to VersTracker
Description:
Converter of XBase/FoxPro tables to PostgreSQL
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: database postgresql foxpro xbase converter migration
Install: brew install pgdbf
About:
Pgdbf is a command-line utility that converts XBase and FoxPro database files (DBF) into PostgreSQL-compatible SQL scripts. It intelligently maps field types and handles character encoding issues to ensure data integrity during migration. This tool streamlines the process of moving legacy database records into a modern PostgreSQL environment.
Key Features:
  • Direct conversion from DBF to PostgreSQL SQL
  • Automatic handling of character encodings
  • Preserves table structure and data types
  • Command-line interface for scripting and automation
Use Cases:
  • Migrating legacy database systems to PostgreSQL
  • Importing data from older business applications
  • Automating data conversion in ETL pipelines
Alternatives:
  • pgloader – More versatile loader that supports many formats, but pgdbf is specialized for XBase/FoxPro
  • mdbtools – Focuses on Microsoft Access databases, not XBase/FoxPro files
Version History
Detected Version Rev Change Commit