Alternatives / HubSpot

13 Best Open Source HubSpot Alternatives in 2026

Looking for an open source HubSpot alternative? We compared 13 open source CRMs, marketing automation tools, and business suites by license, self-hosting, customization, AI features, and pricing. They range from modern customizable CRMs to a dedicated marketing automation platform and full ERP suites.

Maxime DERAME's profile

Written by Maxime DERAME

Last updated:

Best HubSpot alternatives at a glance

AlternativeBest forLicense
TwentyClosest modern open-source CRMAGPL-3.0 + commercial files
MauticMarketing automation and campaignsGPL-3.0+
ErxesMarketing, sales, and support in oneAGPL-3.0 + EE
EspoCRMMature, proven CRMAGPL-3.0
Frappe CRMAvoiding per-seat pricingAGPL-3.0
Krayin CRMSales tracking with marketing toolsMIT
CRM (trycompai)AI agents that fill the CRMMIT
Macro DocsCRM with email, chat, and docsAGPL-3.0
RelaticleAI agents and MCP toolsAGPL-3.0
OdooERP with CRMLGPL-3.0 (Community)
ERPNextFull open-source ERPGPL-3.0
Ever GauzyERP, CRM, HR, and projectsAGPL-3.0 (Community Edition)
Atomic CRMBuilding a custom CRMMIT

How we chose these HubSpot alternatives

We looked for open-source tools that overlap with HubSpot's core: a CRM for contacts, companies, and deals, plus marketing automation and customer communication. We verified each project's license, recent activity, stars, and self-hosting in its repository. HubSpot bundles CRM, marketing, sales, and service hubs, so we separate focused CRMs from marketing automation and ERP suites, and flag open-core and commercially restricted licenses. See our methodology for the full criteria.

Important: HubSpot is CRM plus marketing, and most alternatives cover one side

Mautic is a dedicated marketing automation platform with email campaigns, forms, and lead nurturing, but it is not a sales CRM. Twenty, CRM, Relaticle, Krayin, Frappe CRM, EspoCRM, and Macro are CRMs. Odoo, ERPNext, Erxes, and Ever Gauzy are broader business suites, and Atomic CRM is a developer toolkit. Teams often combine Mautic with a CRM to approach HubSpot's scope.

Closest to HubSpot

Erxes comes closest to HubSpot's bundled approach, unifying marketing, sales, and customer service, and Krayin combines sales tracking with marketing automation. Twenty is the closest modern CRM, with customizable data models, no-code workflows, and an MCP server, and Mautic covers the marketing hub.

License details

Mautic is GPL-3.0 or later. Twenty is mostly AGPL-3.0, with some files under a commercial license. Odoo Community is LGPL-3.0, while Enterprise is proprietary. Erxes is AGPL-3.0 outside its enterprise directory and forbids offering it as a competing SaaS. ERPNext is GPL-3.0, Frappe CRM, EspoCRM, Relaticle, and Macro are AGPL-3.0, and CRM, Krayin, and Atomic CRM are MIT.

Email and deliverability

Marketing automation depends on reliable email sending. Self-hosting Mautic or any CRM that sends campaigns means configuring an SMTP provider or API such as Amazon SES, and managing sender reputation, bounces, and consent yourself.

Maintenance status

All thirteen projects were updated within weeks of this update. Relaticle is young, so check its maturity before relying on it.

Why look for a HubSpot alternative?

HubSpot is a proprietary platform with a free CRM and costly paid hubs priced per seat and per contact, with customer data stored in HubSpot's cloud. Open-source alternatives let you self-host customer data, avoid per-seat and contact-tier pricing, customize data models, and connect AI agents through APIs and MCP, at the cost of running the system and fewer built-in integrations.

#1

Twenty

Self-hostable modern CRM with fully customizable data models.

Twenty is a CRM for technical teams with customizable data models, no-code workflows, and an MCP server, positioned as an alternative to Salesforce and HubSpot. It is mostly AGPL-3.0, with some files under a commercial license. It can be self-hosted or used as a managed cloud.

57.8K9.4KAGPL-3.0 + commercial filesSelf-hosted

Pricing: Free self-hosted; cloud from $9 per user per month.

  • Custom data models and no-code workflows
  • MCP server and AI support
  • Large and active community
  • Some files are under a commercial license
  • Self-hosting requires maintenance
#2

Odoo

Modular business suite with CRM, accounting, inventory, and more.

Odoo is a modular business suite covering CRM, accounting, inventory, eCommerce, HR, manufacturing, and project management. The Community edition is LGPL-3.0, while the Enterprise edition is proprietary and priced per user.

54.8K33.9KLGPL-3.0 (Community)Self-hosted

Pricing: Free Community edition; paid per-user Enterprise edition and hosting.

  • Huge range of integrated business apps
  • Very large ecosystem and community
  • Self-hostable Community edition
  • Some modules are Enterprise only
  • Heavy for teams that only need a CRM
#3

ERPNext

Open-source ERP with accounting, CRM, HR, and manufacturing.

ERPNext is an open-source ERP with modules for accounting, inventory, HR, CRM, manufacturing, and project management, with customizable workflows, mobile access, and integrations, for startups through enterprises.

39.7K13KGPL-3.0Self-hosted

Pricing: Free and open source; hosted plans and support are paid.

  • Comprehensive modules in one system
  • Customizable workflows and doctypes
  • GPL-3.0 license
  • Complex to set up and administer
  • Heavy if you only need CRM
#4

Krayin CRM

Laravel-based open-source CRM for sales teams.

Krayin is an open-source Laravel CRM with lead tracking, deal management, sales forecasting, marketing automation, VoIP and live chat integrations, and analytics, suited to B2B and real estate teams.

24K1.6KMITSelf-hosted

Pricing: Free and open source; paid extensions and support.

  • Lead and deal tracking with forecasting
  • MIT license
  • Laravel stack that is easy to extend
  • Fewer modern AI features
  • Some extensions are paid
#5

CRM (trycompai)

AI-powered CRM with agents that automate data entry.

CRM is an open-source AI CRM that reads team inboxes to create contact and company records automatically, enriches them with industry data and logos, schedules its own follow-ups, and builds new workflows from natural-language descriptions, with Slack integration. It is built with Next.js and designed to be customized and self-hosted, for example on Vercel.

11K1.6KMITSelf-hosted

Pricing: Free and open source.

  • Inbox-driven record creation and company enrichment
  • Agent builder from plain-language descriptions
  • MIT license
  • Young project aimed at developers who customize it
  • Depends on AI services for its agents
#6

Mautic

Open-source marketing automation platform.

Mautic is an open-source marketing automation platform for managing leads and running campaigns, with lead management, email marketing, campaign automation, landing pages and forms, analytics and reporting, many integrations, and translations in 35+ languages. It is licensed under GPL-3.0 or later and can be self-hosted for free, with hosted and trial options from Mautic's partners.

10.7K3.5KGPL-3.0+Self-hosted

Pricing: Free to self-host; paid hosting and services are offered by Mautic and its partners.

  • Mature marketing automation with campaigns and lead nurturing
  • Email marketing, forms, and analytics
  • Large community and integrations
  • Marketing-only: it is not a sales CRM on its own
  • Self-hosting and email deliverability need maintenance
#7

Ever Gauzy

Open business management platform with ERP, CRM, HRM, ATS, and projects.

Ever Gauzy is an all-in-one open business management platform combining ERP, CRM, HRM, applicant tracking, and work and project management modules. The Community Edition is open source under AGPL-3.0, while commercial editions are available under a separate license.

8.1K1.2KAGPL-3.0 (Community Edition)Self-hosted

Pricing: Free Community Edition; commercial editions and support are paid.

  • ERP, CRM, HRM, ATS, and project management in one platform
  • Actively maintained with a large community
  • Self-hostable Community Edition
  • Much broader and heavier than a task manager
  • Open core with separate commercial editions
#8

Macro Docs

Collaborative Markdown-native workspace for documents, tasks, communication, and AI agents.

Macro is an AGPL-3.0 collaborative workspace that combines Markdown-native documents with tasks, communication, email, document properties, mentions, comments, version history, and AI agents.

4.5K436AGPL-3.0Self-hosted

Pricing: Open source under AGPL-3.0 with self-hosting available; hosted and commercial services may be offered separately.

  • Markdown-native collaborative documents
  • Tasks, communication, document properties, and AI agents in one workspace
  • Self-hosting supported
  • Younger ecosystem than Notion
  • Broader workspace approach may be unnecessary for simple note-taking
#9

Erxes

All-in-one growth platform for marketing, sales, and support.

Erxes unifies marketing, sales, and customer service in one platform with a 360-degree customer view, customizable workflows, and automation. The core is AGPL-3.0, enterprise plugins are under a separate license, and hosting it as a competing SaaS is not permitted.

4.1K1.3KAGPL-3.0 + EESelf-hosted

Pricing: Free self-hosted; enterprise features and hosted plans are paid.

  • Marketing, sales, and support in one
  • Customizable workflows
  • Self-hostable
  • Enterprise plugins under a separate license
  • Hosting it as a competing SaaS is not allowed
#10

Frappe CRM

Simple customizable CRM from the Frappe team.

Frappe CRM manages contacts, deals, and customer relationships with email and call integration, customizable workflows, automation, reporting, and ERPNext integration, with no per-user pricing.

3.7K1.5KAGPL-3.0Self-hosted

Pricing: Free and open source; Frappe Cloud hosting is paid.

  • Simple, modern interface
  • Integrates with ERPNext
  • Customizable workflows and automation
  • Younger than the full ERPNext ecosystem
  • AGPL-3.0 license
#11

EspoCRM

Mature open-source CRM for contacts, accounts, and opportunities.

EspoCRM manages contacts, companies, projects, and opportunities with sales pipelines, flexible deployment, customizable workflows, and an intuitive interface, either self-hosted or in the cloud.

3.4K986AGPL-3.0Self-hosted

Pricing: Free self-hosted; paid cloud hosting and extensions.

  • Mature and refined
  • Flexible deployment and customization
  • Active development
  • Interface looks more traditional than Attio
  • Some extensions are paid
#12

Relaticle

Self-hosted CRM with a built-in AI assistant and MCP tools.

Relaticle is a self-hosted CRM with an AI chat assistant, an MCP server with 37 tools for external agents, custom fields, role-based permissions, a REST API, and voice input, with no per-seat pricing.

1.7K211AGPL-3.0Self-hosted

Pricing: Free and open source.

  • Native AI assistant and 37 MCP tools
  • Custom fields, roles, and REST API
  • No per-seat pricing
  • Young project
  • AGPL-3.0 license
#13

Atomic CRM

Open-source toolkit for building a customized CRM.

Atomic CRM is a developer toolkit from Marmelab for building a custom CRM, with contact organization, task management, a Kanban board, email-to-note conversion, and API integration, built with React, TypeScript, Supabase, and Postgres.

1.3K832MITSelf-hosted

Pricing: Free and open source.

  • Fully customizable code base
  • Modern React, TypeScript, and Supabase stack
  • MIT license
  • Requires development work
  • Not a turnkey product

Compare HubSpot alternatives

AlternativeTypeLicenseSelf-hostedBest for
CRM (trycompai)AI CRMMITYesAutomatic record creation
Macro DocsCollaborative CRMAGPL-3.0YesTeams with email and docs
OdooERP suiteLGPL-3.0 (Community)YesIntegrated business apps
TwentyCRMAGPL-3.0 + commercial filesYesTechnical teams
ERPNextERP suiteGPL-3.0YesComprehensive business management
Krayin CRMCRMMITYesSales and marketing tools
MauticMarketing automationGPL-3.0+YesCampaigns and lead nurturing
Ever GauzyBusiness platformAGPL-3.0 (Community)YesERP, CRM, HR, and projects
Frappe CRMCRMAGPL-3.0YesNo per-user fees
ErxesGrowth platformAGPL-3.0 + EEYesMarketing, sales, and support
EspoCRMCRMAGPL-3.0YesMature CRM
Atomic CRMCRM toolkitMITYesDevelopers
RelaticleAI CRMAGPL-3.0YesData control and MCP

Which one should you choose?

Want the closest modern open-source CRM

Twenty offers customizable data models, no-code workflows, role-based permissions, an API-first design, and an MCP server, with a paid cloud option.

Twenty

Want marketing automation and email campaigns

Mautic manages leads, email marketing, forms, landing pages, and campaign automation, free to self-host under GPL-3.0.

Mautic

Want marketing, sales, and support in one platform

Erxes unifies marketing, sales, and customer service with a 360-degree customer view and workflows, with enterprise features under a separate license.

Erxes

Want sales tracking with marketing tools

Krayin offers lead and deal tracking, marketing automation, VoIP and live chat integrations, and analytics under MIT.

Krayin CRM

Want a proven, mature CRM

EspoCRM offers contacts, accounts, opportunities, pipelines, and workflows with self-hosted or cloud deployment.

EspoCRM

Want AI agents to fill and enrich your CRM

CRM reads team inboxes to create contacts and companies, enriches them, and builds agents from plain-language descriptions.

CRM (trycompai)

Want a CRM that external AI agents can use

Relaticle has a built-in AI assistant, 37 MCP tools, a REST API, and custom fields, with no per-seat pricing.

Relaticle

Want a full ERP with CRM

ERPNext covers accounting, inventory, HR, CRM, manufacturing, and projects under GPL-3.0.

ERPNext