The most popular open-source alternative to Mixpanel is PostHog, with 41.2k GitHub stars.
Other open-source alternatives to Mixpanel are Umami, Rybbit, GrowthBook and OpenPanel (3 more below).
Most Mixpanel alternatives here are Web & Product Analytics tools, some are Marketing & Customer Engagement.
The first 3 say in their own README or website that they can replace Mixpanel (the quote is shown under each one); the other 5 do the same job, shown with their own description.
Stars and activity updated 27 November 2026.
Questions about Mixpanel alternatives
Is there an open-source alternative to Mixpanel?
Yes. 8 open-source projects can replace Mixpanel, for example PostHog, Umami and Rybbit. 3 of them say so in their own documentation; the other 5 do the same job.
What is the best open-source alternative to Mixpanel?
PostHog (41.2k GitHub stars) is the most popular open-source alternative to Mixpanel on GitHub. To run it on your own server, look at PostHog, Umami and Rybbit, which are self-hostable. The best choice depends on your needs: compare them side by side, for example PostHog vs Umami.
Are the open-source alternatives to Mixpanel free?
All of the 8 projects listed here are free to use under an open-source license, with no license fee: 4 permissive (such as MIT), 4 copyleft (such as AGPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.