Want to import data from CSV file to PostgreSQL ?
Using Withdata software File To DB, a CSV to PostgreSQL converter for Windows, MacOS, and Linux, you can import data from CSV file to PostgreSQL in 4 simple steps.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Convert locally and privately, avoid uploading large or private CSV file(s) to online services.
Download FileToDB
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Import data from CSV file to PostgreSQL in 4 steps
Choose CSV file -> Set PostgreSQL table -> Preview -> Import
Choose PostgreSQL and logon.
Click “Wizard – 1 File To 1 Table” at task dialog.
Select the “CSV” file type.
then show the wizard.
Step #1. Choose a CSV file.
Step #2. Choose a PostgreSQL table and config fields.
Step #3. Preview data and config “Convert Rows”.
Step #4. Import CSV to PostgreSQL.
Import CSV to PostgreSQL in command line
Save “CSV to PostgreSQL” session, then you can:
- Import CSV to PostgreSQL in Windows command line.
- Import CSV to PostgreSQL in Linux command line.
- Import CSV to PostgreSQL in macOS command line.
Set scheduled tasks for importing CSV to PostgreSQL
You can schedule and automate this converting task by:
1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.