Open Source Alternatives to Hotjar

Updated 5 December 2026 · 1 alternatives · Analytics & BI

Hotjar provides session recordings, heatmaps and on-site surveys. Here is 1 open source alternative, all of them self-hostable.
Top pickPostHogMIT · ★ 41.4k
Best self-hostedPostHogMIT · ★ 41.4k
Hosted optionPostHogMIT · ★ 41.4k
Hotjar is made byContentsquareProprietary

Hotjar alternatives compared

Project Licence Type Self-host Cloud option GitHub stars
PostHog MIT Self-hosted ✓ Yes ✓ Yes ★ 41.4k

The 1 open source alternatives to Hotjar

1

PostHog

MIT · Self-hosted · ★ 41.4k on GitHub · since 2020

Visit site ↗

PostHog combines product analytics, session replay, feature flags, A/B testing, surveys and a data warehouse in one platform. It is used mainly as a cloud service with a generous free tier.

Note: The core is MIT-licensed; enterprise features are under a separate licence. Self-hosting is supported for hobby use only.

  • Product analytics and funnels
  • Session replay and heatmaps
  • Feature flags and experiments
  • Generous free cloud tier
Self-hosted Cloud option Source code ↗ Also replaces Mixpanel, Amplitude

How to choose an open source alternative to Hotjar

Check session replay, heatmaps, privacy masking of form fields and where recordings are stored.

If you want your data on your own server, look at PostHog. Don't want to run a server? PostHogoffers an official hosted version.

Not sure where to start? Browse all analytics & bi projects.

Hotjar alternatives: FAQ

What is the best open source alternative to Hotjar?

PostHog is the most complete open source alternative to Hotjar on our list. The best choice depends on what you need: Check session replay, heatmaps, privacy masking of form fields and where recordings are stored.

Is there a free alternative to Hotjar?

Yes. Every alternative listed here is open source, so the software itself is free to use. Some, such as PostHog, also sell an optional hosted version if you don't want to run it yourself.

Can I self-host an alternative to Hotjar?

Yes: PostHog can be installed on your own server, so your data stays on infrastructure you control.

Why switch from Hotjar to open source software?

Hotjar is proprietary software owned by Contentsquare: you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as MIT, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.

Other popular alternatives

Browse 350+ open source alternativesSearch by product, category or licence