7 Open-Source HubSpot Alternatives You Can Self-Host (2026)
HubSpot Marketing Hub Professional costs $800/month for 3 core seats and 2,000 marketing contacts, plus a required $3,000 onboarding fee, and that is before you add Sales Hub or Service Hub. Seven open-source tools cover the same jobs on a server you control. A Liquid Web 8 GB Managed VPS is $100/month (prices checked 2026-09-26).
Is HubSpot open source? No. HubSpot is proprietary, cloud-only software, and there is no self-hosted edition. The open-source route is to replace each HubSpot hub with a separate tool: Twenty CRM for pipeline management, Mautic for email automation, Chatwoot for customer support, Formbricks for surveys, Listmonk for newsletters, Cal.diy for booking links and PostHog for product analytics. Each runs on Docker, and the software itself costs nothing to run.
Is there a free HubSpot alternative? The seven tools below are free software, so you pay for the server and your own time. HubSpot also has a free plan: up to 2 users with the CRM, forms, email and meeting scheduling (hubspot.com/pricing, checked 2026-09-26). If that plan covers what you do, it is cheaper than any VPS, and you should stay on it.
1. Twenty CRM (AGPL-3.0)
Twenty is a modern, open-source CRM built around a flexible data model: contacts, companies, deals, custom objects and pipelines, managed through a React interface with REST and GraphQL APIs. It replaces HubSpot CRM directly and is the strongest self-hosted option for teams who want a Salesforce-style object model without the enterprise price.
- Stars: ~57.5k (GitHub API, 2026-09-26) · License: AGPL-3.0 · VPS recommended: 2 GB is Twenty's documented minimum; plan on 8 GB if other tools share the server
- Self-hosted Twenty CRM guide
2. Mautic (GPL-3.0)
Mautic is the most complete open-source marketing automation platform: drag-and-drop email campaigns, lead scoring, segment automation, landing pages and multi-channel nurture sequences that map onto HubSpot Marketing Hub's core feature set. It also has a REST API. Releases continue (v7.2.1 shipped on 2026-09-23), but the project's funding has been under strain in 2026. Read the funding section of our Mautic guide before you commit to it.
- Stars: ~10.6k (GitHub API, 2026-09-26) · License: GPL-3.0 · VPS recommended: 4–8 GB (PHP + MariaDB; we measured 1.4 GB idle)
- Self-hosted Mautic guide
3. Chatwoot (MIT)
Chatwoot is a multi-channel customer support inbox (live chat, email, WhatsApp, Telegram and more) that replaces HubSpot Service Hub. It ships with an agent UI, canned responses, conversation labels, reports and a public API for custom integrations. It is our default recommendation for self-hosted support.
- Stars: ~37.2k (GitHub API, 2026-09-26) · License: MIT · VPS recommended: 4–8 GB (Rails + Sidekiq; we measured 1.1 GB idle)
- Self-hosted Chatwoot guide
4. Formbricks (AGPL-3.0)
Formbricks is an open-source survey and in-product feedback platform that replaces HubSpot's forms and NPS surveys. It supports web surveys, link surveys, email surveys and in-app micro-surveys, with a no-code builder and response analytics. The AGPL core includes the full API, SDKs and webhooks; features such as teams, contact management and SSO sit in the paid Enterprise Edition.
- Stars: ~13.0k (GitHub API, 2026-09-26) · License: AGPL-3.0 · VPS recommended: No published minimum. Version 5 runs six services, so size generously
- Self-hosted Formbricks guide
5. Listmonk (AGPL-3.0)
Listmonk is a self-hosted newsletter and email marketing server built with Go and PostgreSQL. It handles subscriber management, list segmentation, campaign sending, bounce tracking, analytics and transactional email over an HTTP API. It replaces HubSpot's email marketing module on very modest hardware.
- Stars: ~23.6k (GitHub API, 2026-09-26) · License: AGPL-3.0 · VPS recommended: 2 GB (single Go binary; we measured 512 MB idle)
- Self-hosted Listmonk guide
6. Cal.diy (MIT), formerly self-hosted Cal.com
Cal.diy replaces HubSpot Meetings for one person's booking page. It is what remains of open-source Cal.com: in April 2026 Cal.com moved its commercial product to closed source and renamed the public repository to calcom/cal.diy, relicensed from AGPL-3.0 to MIT (cal.com blog, checked 2026-09-26).
What Cal.diy keeps: the scheduling engine, booking flows, the app store framework and API v2, so calendar and video-conferencing apps remain available.
What it lost, and what matters for a HubSpot replacement:
- No teams. Organizations, Teams, round-robin and collective events were removed, so there is no shared sales-team booking page.
- No workflows. Automated reminder and follow-up workflows are gone, along with Routing Forms, Insights analytics, SAML/SSO and API v1.
- No official production support. The cal.diy site recommends it for personal, non-production use and says that for commercial scheduling you should use Cal.com, not Cal.diy.
- No ready-made Docker image. No image has been published under
calcom/cal.diyon Docker Hub, and the oldcalcom/cal.comimage stopped at v6.2.0 in March 2026, so you build from source with the repo's Docker Compose file.
If your team needs round-robin across sales reps, there is no self-hosted, open-source drop-in today. A paid team plan is the better fit: Cal.com Teams is $12/user/month and Calendly Teams $16/seat/month, both billed annually (cal.com/pricing and calendly.com/pricing, checked 2026-09-26). Cal.diy fits a founder or consultant who wants their own booking link on their own server.
- Stars: ~48.7k (GitHub API, 2026-09-26) · License: MIT · VPS recommended: 4 GB as a starting floor; the current stack is unmeasured and the first run compiles the app
- Self-hosted Cal.diy guide
7. PostHog (MIT)
PostHog is an open-source product analytics platform that replaces HubSpot's analytics and contact activity tracking. It captures pageviews, custom events, funnels, retention cohorts, session recordings and feature flags, and exposes all of it through an API. The MIT license covers the core platform; some enterprise features require the paid cloud tier.
Be realistic about self-hosting it. PostHog's docs call self-hosted deployments "officially unsupported", ask for 4 vCPU and 16 GB RAM, and steer you to Cloud if you expect more than 300k events a month. PostHog Cloud is free for 1M events a month (posthog.com/docs/self-host, checked 2026-09-26), so most small teams are better off on Cloud.
- Stars: ~39.9k (GitHub API, 2026-09-26) · License: MIT (core) · VPS recommended: 16 GB (PostHog's documented minimum)
- Self-hosted PostHog guide
Comparison table
| Tool | Replaces | Best for | Min RAM | API | License | Guide |
|---|---|---|---|---|---|---|
| Twenty CRM | HubSpot CRM | CRM / contacts / pipelines | 2 GB (documented) | REST + GraphQL | AGPL-3.0 | Guide |
| Mautic | Marketing Hub | Email automation / lead scoring | 4 GB | REST | GPL-3.0 | Guide |
| Chatwoot | Service Hub | Live chat / customer support inbox | 4 GB | REST | MIT | Guide |
| Formbricks | Forms and surveys | Forms / NPS / in-product surveys | Not published | REST + SDKs | AGPL-3.0 | Guide |
| Listmonk | Marketing email | Newsletter / bulk email campaigns | 2 GB | HTTP | AGPL-3.0 | Guide |
| Cal.diy | Meetings | One person's booking page (no teams, no workflows) | 4 GB (floor) | API v2 | MIT | Guide |
| PostHog | Analytics | Product analytics / session recording | 16 GB | REST | MIT (core) | Guide |
All seven run on Docker Compose. PostHog wants a 16 GB server of its own. Twenty, Chatwoot and Listmonk fit together on one 8 GB Managed VPS ($100/month, checked 2026-09-26), and adding Mautic moves you to the 16 GB tier ($145/month). The self-hosted CRM and GTM hub has the full cost comparison against HubSpot and Intercom.
Want the full HubSpot replacement? See the Twenty + Mautic + Chatwoot combo guide.
Not sensibly. PostHog's own docs ask for 16 GB RAM for PostHog alone, so give it a separate server or use PostHog Cloud, which is free for 1M events a month. Most teams need three or four tools at most. Twenty CRM, Chatwoot and Listmonk run together on one 8 GB Managed VPS; add Mautic and you should move to 16 GB.
No. HubSpot is proprietary SaaS and has no self-hosted or open-source edition. To self-host, you replace each part separately: Twenty CRM for the CRM, Mautic or Listmonk for marketing email, Chatwoot for the support inbox, Formbricks for forms and surveys, Cal.diy for a personal booking page and PostHog for analytics.
For the CRM itself, Twenty CRM (AGPL-3.0). For marketing automation, Mautic (GPL-3.0) is the only full platform in this list. The software is free, but the server is not: a Liquid Web 8 GB Managed VPS is $100/month (checked 2026-09-26). HubSpot's own free plan, with up to 2 users, CRM, forms, email and meeting scheduling, costs less than that if it covers your needs.
Twenty CRM, which offers both REST and GraphQL APIs over its custom-object data model. Chatwoot, Mautic, Listmonk and PostHog all expose REST or HTTP APIs, and Formbricks includes its full API and SDKs in the free AGPL core. Most teams connect them through webhooks and a middleware tool such as n8n.
For one person's booking page, Cal.diy, the MIT-licensed community edition of Cal.com. It keeps calendar sync, booking flows and API v2, but it has no teams, round-robin, routing forms or workflows, and its maintainers recommend it for personal, non-production use. For a sales team that needs round-robin, a paid team plan such as Cal.com Teams ($12/user/month billed annually) or Calendly Teams ($16/seat/month billed annually) is the better fit.
The code is GPL-3.0 and releases are still shipping (v7.2.1 on 2026-09-23), so it will not disappear. The risk is slower fixes and features while funding is tight. Check the GitHub commit cadence and the project's Open Collective page before committing, and consider Listmonk if you only need newsletters. If you need commercial support, several agencies offer Mautic hosting and professional services.
Not natively in most cases, but they integrate through webhooks and APIs. The most common pattern is n8n (self-hosted) as a middleware layer: when a Chatwoot conversation starts, n8n creates a Twenty contact; when Mautic scores a lead, n8n updates the Twenty deal stage. PostHog can fire webhooks on conversion events to trigger Mautic sequences. See the Twenty + Mautic + Chatwoot stack guide for a worked example.
