What's inside

  • Connects to Mixpanel Export API
  • Handles pagination for large datasets
  • Outputs clean CSV format
  • Configurable date ranges and event filters

Format: Jupyter Notebook (.ipynb)

Get the Mixpanel Event Exporter

Enter your email and we'll start the download immediately.

Why export raw Mixpanel event data?

Mixpanel's interface is built for exploring events inside Mixpanel — but sooner or later you need the raw data somewhere else. Maybe you want to join event data against revenue in a warehouse, build a model in a notebook, hand a clean CSV to a finance team, or keep a backup before a project migration. Mixpanel's native CSV exports are capped and awkward for anything beyond a single report, so most teams end up writing the same API script over and over.

This Jupyter notebook does that work for you. It authenticates against the Mixpanel Export API with your project credentials, paginates through the full date range you specify — handling the rate limits and large result sets that break naive scripts — and writes a single clean CSV with one row per event and a column per property. Everything runs locally on your machine, so your raw event data and API secret never touch a third-party server.

Drop in your project token and API secret, set your date range and the events you care about, and run the cells top to bottom. The output is analysis-ready for pandas, BigQuery, Snowflake, Excel, or whatever you load it into next.

Is it free, and is my data safe?

Yes — the notebook is completely free. It runs entirely on your own machine and talks directly to the Mixpanel API, so your events and credentials are never sent to Datalyze or any other third party.

What do I need to run it?

Python with Jupyter (or Google Colab), plus your Mixpanel project token and API secret from Project Settings. No paid plan or special access is required.

How large an export can it handle?

It paginates through the Export API, so it works for small tests and multi-million-event date ranges alike. Larger ranges simply take longer to download.

Want a custom tool?

Tell us about your analytics workflow and we'll build a custom tool tailored to your team.

Request a custom tool
← All tools