Open source product analytics with replays and flagsAlternative toOpen source alternatives to Microsoft Clarity
3 open source tools do the job of Microsoft Clarity. The most starred is PostHog, with 40.7k stars. Verified on GitHub. About Microsoft Clarity

Microsoft ClarityFree
PostHog40.7k stars · MITGitHubAll 3 alternatives
Questions about alternatives to Microsoft Clarity
What is the best open source alternative to Microsoft Clarity?
By GitHub stars it is PostHog, with 40,775 stars and a commit on 14 Nov. Choose PostHog when you also need funnels, feature flags and experiments next to session replay; its free plan covers 1M events and 5,000 recordings a month, and you can self-host it. Next come Rybbit (13,300 stars) and OpenReplay (13,144 stars).
Is there a free alternative to Microsoft Clarity?
Yes. The code of all 3 is public under MIT or AGPL 3.0, so you can use them with no licence fee. Running one yourself costs the server and your time to look after it, and some makers also sell a hosted plan.
How do I choose between them?
Start from the job you use Microsoft Clarity for. Choose OpenReplay when recordings must stay on your own servers or developers need console and network logs with each session; the self-hosted edition is free. Choose Rybbit when you want cookie-free traffic analytics with funnels and session replays in one dashboard; Pro costs $39 a month for 100,000 pageviews.
Which Microsoft Clarity alternatives can I host on my own server?
All 3: PostHog, Rybbit and OpenReplay. Each tool's page says what it needs to run.
Which ones are still being worked on?
All 3 we track had a commit in the last 30 days, among them PostHog, Rybbit and OpenReplay. A recent commit shows the project is kept up, not that it will stay that way.
What licences do they use?
AGPL 3.0 (2), MIT (1). MIT, BSD and Apache let you change and reuse the code freely. GPL and AGPL ask you to share your changes under the same licence when you give the software to others, and AGPL also counts letting people use it over a network.
What do I lose by leaving Microsoft Clarity?
The hosting. Microsoft Clarity's maker runs the servers for you; with an open source tool the updates, backups, security fixes and support are yours, unless you take the maker's hosted plan. Features differ too, so check what each one imports and exports before you move your data.

