Analytics

Free and open-source Hotjar alternatives

Hotjar (Heatmaps, session recordings and user feedback) is a commercial product. These 2 tools do the same job and are free to use or to self-host.
Short answer: the best free alternatives to Hotjar are OpenReplay and PostHog. Self-hosting is free; you pay only for the server (a small VPS is about $4–6/mo). Licenses and prices checked 2026-10-01.
  1. 1
    OpenReplay

    Open-source session replay and product analytics

    Session replay and product analytics you can self-host.

    Open source (AGPL-3.0 (core)) ·★ 13k GitHub stars · last commit 2026-10-07 · details

  2. 2
    PostHog

    Product analytics, session replay and feature flags

    Product analytics with session replay; ee/ code is separately licensed.

    Open source (MIT (core)) ·★ 40k GitHub stars · last commit 2026-10-07 · details

Want paid options too? See all Hotjar alternatives or the full free alternatives list.

FAQ

Is there a free alternative to Hotjar?+

Yes. OpenReplay and PostHog do the same job for free; OpenReplay and PostHog are open source.

What is the best open-source alternative to Hotjar?+

PostHog is the most starred on GitHub (40k stars). Product analytics with session replay; ee/ code is separately licensed.

Open source: OSI-approved license. Free to self-host: the code is public and free to run yourself, with limits in the license.