Data import and export

Last updated:

|Edit this page

Beyond the everyday capture of user events, there are many ways to get bulk data into and out of PostHog.

Import

Sources

Combine data from your database, Stripe, or even a bucket full of CSVs. Join it to your existing person and event data with data warehouse.

Migrations

PostHog offers migration guides to help you move your data from other providers.

Export

Real-time destinations

Export data as it arrives. Easily set up filters to get just the events you’re looking for. Choose from dozens of destinations, customize our webhook destination, or even build your own with a bit of code.

Batch exports

Schedule bulk data exports to select destinations, including Postgres, S3, and more.

Query API

A full-featured query API allows you to programmatically extract data to use in your own applications.

Export to CSV and more

Your insights and data tables within PostHog can be exported to CSV, with additional options like PNG for visualizations.

Questions? Ask Max AI.

It's easier than reading through 620 docs articles.

Community questions

Was this page useful?

Next article

Ingestion warnings

Sometimes PostHog runs into problems during ingestion due to incorrect or suboptimal usage of PostHog. For example, if you capture an event with a generic ID like null , PostHog doesn't ingest it. If this happens, we do our best to still ingest the event and we log an ingestion warning. Note: These warnings are sampled. The actual number of events affected may exceed the total displayed. List of ingestion warnings: Refused to merge with an illegal distinct ID Refused to merge an already…

Read next article