Infrastructure & Operations · Search Engines
Typesense
Fast, typo tolerant search for applications and sites
Typesense is an open source, in memory search server for catalogs, documentation, marketplaces, and applications. Its server uses GPL-3.0, while client libraries use Apache-2.0. Teams can self host without a software subscription or use Typesense Cloud, which bills dedicated clusters by runtime resources and bandwidth.
Key facts
- License
- GPL-3.0 server, Apache-2.0 client libraries
- Main language
- C++
- Maintainer
- Typesense Inc.
- First released
- 2017
- Latest release
- v30.2, April 19, 2026
- GitHub stars
- 27,017, October 2026
- Hosted option
- Typesense Cloud, dedicated resource based pricing
What Typesense is
Typesense is an in memory search server created and maintained by Typesense Inc. Its repository was created in 2017 and lists 27,017 GitHub stars, with contributors led by kishorenc, happy-san, krunal1313, ozanarmagan, and jasonbosco. Typesense Cloud serves more than 10 billion searches per month, and the project says its Docker images have passed 12 million downloads. The service targets application search, catalog browsing, documentation, ecommerce discovery, semantic retrieval, and recommendation features. Its positioning is deliberately narrower than a general analytics platform: the README describes it as an open source alternative to Algolia and Pinecone, and as an easier to use alternative to Elasticsearch.
How it works
A typical workflow creates a collection schema, imports JSON documents, and queries the collection over HTTP or through a client library. Search supports typo tolerance, prefix matching, filtering, sorting, grouping, distinct results, faceting, highlighting, synonyms, geosearch, curation, joins, federated search, vector retrieval, semantic search, hybrid search, conversational search, natural language search, image search, and voice search. Scoped API keys restrict access for multi tenant applications. Official clients cover JavaScript, PHP, Python, and Ruby, while HTTP access supports other languages. The InstantSearch.js adapter provides a route into interfaces with filtering, sorting, and pagination. The result is a focused workflow that keeps schema, indexing, ranking, and querying in one service.
Architecture and recent releases
Typesense is built in C and C++, uses a native single binary, and stores its search data in memory with a persistent data directory. It has no runtime dependency on PostgreSQL, Redis, or an external object store. Deployment options include official Docker images, Linux DEB and RPM packages, Linux binaries, macOS binaries, Homebrew, and community Kubernetes contributions. The server exposes port 8108 by default and provides health and debug endpoints. Version 30.2, published April 19, 2026, fixed numeric not equals filters, highlighting, union search races and deduplication, reference faceting, vector results, scoped API keys, conversation search errors, cache collisions, JSON escaping, health checks, and asynchronous import teardown.
License and pricing
The Typesense server is licensed under GPL-3.0, while its client libraries use Apache-2.0. Commercial use is permitted, and internal modifications can remain private when modified software is not distributed. Distributing modified server software brings GPL obligations. Typesense Cloud is a hosted service with dedicated clusters, no record or search operation charges, and billing based on cluster runtime resources plus bandwidth. The pricing calculator lists 0.5 GB RAM as the minimum recommended configuration and recommends at least four vCPUs above 20 requests per second. The billing page describes pay as you go hourly cluster fees and bandwidth charges, with bandwidth usually about $0.09 to $0.12 per GB depending on region.
Limitations and how it compares
Memory use grows with indexed data, and the project publishes examples ranging from 165 MB for one million Hacker News titles to about 14 GB for 28 million books. Teams needing petabytes of logs, broad analytics, or extensive data processing may prefer Elasticsearch or OpenSearch. Meilisearch offers a similarly approachable search API with an MIT licensed core, while Algolia provides a proprietary hosted service with personalization and server based search analytics that Typesense does not currently provide. Typesense is the better fit for teams wanting typo tolerant, faceted, vector capable application search with control over deployment and a resource based hosted option.
Main features
- Typo tolerant search. Handles typographical errors and prefix queries for user facing discovery across catalogs, documentation, and application content.
- Facets and filters. Supports faceting, filtering, sorting, grouping, distinct results, and numeric range queries for structured browsing experiences.
- Vector and hybrid search. Indexes embeddings and combines semantic retrieval with keyword search for similarity, recommendations, and hybrid discovery workflows.
- Curation controls. Synonyms, pinned hits, scoped keys, and curation rules tune ranking and access without changing indexed documents.
- Federated search. Federated and multi search APIs combine requests across collections through a single HTTP request within the project deployment controlled by its operator.
- Collection joins. Reference fields connect related collections and allow joined filtering, sorting, and related document counts at query time.
Self-hosting Typesense
Run the official Docker image with a persistent data directory, install a DEB or RPM package, download a Linux or macOS binary, or use Homebrew on macOS. Community Kubernetes operators and Kompose integrations are also documented. Typesense requires persistent local storage and adequate memory, but PostgreSQL, Redis, and external object storage are not required. The service uses port 8108 by default. The Cloud calculator lists 0.5 GB RAM as the minimum recommended configuration and recommends four vCPUs above 20 requests per second. Back up the data directory before upgrades, review release changes, and verify readiness through the health endpoint.
Strengths
- Typo tolerant search, facets, joins, vectors, and curation ship in one service.
- The single native binary has no PostgreSQL or Redis runtime dependency.
- Self hosting avoids software subscription charges and per search billing.
- Dedicated cloud clusters use resource based billing without record limits.
Drawbacks
- The in memory index makes memory sizing important as collections grow.
- Distributed modifications to the GPL server bring licensing obligations.
- Typesense lacks some Algolia features, including server based search analytics and personalization.
What teams replace with it
Teams usually evaluate Typesense when they want to move off Algolia, Elasticsearch, Amazon CloudSearch.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Typesense
Frequently asked questions
Is Typesense free?
The self hosted server is available without a software subscription under GPL-3.0, although operators pay for their own infrastructure. Typesense Cloud is separate and bills dedicated clusters by runtime resources and bandwidth. It does not charge by records or search operations. The pricing calculator lists a 0.5 GB RAM minimum recommended configuration.
Can businesses use Typesense commercially?
Yes. GPL-3.0 permits commercial use of the server. A company can run modified server software internally without distributing those modifications. Distribution of modified server software brings GPL obligations. Typesense client libraries use Apache-2.0, which is intended for integration into application code. Teams should assess their distribution model before shipping modified server software.
How do you self host Typesense?
Use the official Docker image, DEB or RPM packages, downloadable Linux or macOS binaries, or Homebrew on macOS. Persistent storage is required for the data directory, and memory grows with indexed data. PostgreSQL, Redis, and external object storage are not required. The default service port is 8108, and the health endpoint checks readiness.
How does Typesense compare with Meilisearch?
Both provide approachable search APIs and typo tolerant discovery. Typesense uses GPL-3.0 for its server and includes joins, federated search, curation, vector retrieval, semantic search, and scoped API keys. Meilisearch uses an MIT licensed core. The stronger choice depends on licensing requirements and the specific retrieval features needed by the application.
Is self hosted Typesense data private?
Self hosting keeps indexed data inside infrastructure controlled by the operator, rather than placing it in Typesense Cloud. Privacy still depends on network controls, API key management, host security, access policies, and backups. Typesense documents scoped API keys and provides a persistent local data directory, but operators remain responsible for securing and managing the deployment.
Similar projects to compare
- MeilisearchMIT (Community); BUSL-1.1 (Enterprise, source-available)Meilisearch is a Rust search engine for full text, semantic, and hybrid search in applications and websites. Its Community Edition is MIT licensed and free for commercial self hosting, while Enterprise features use BUSL 1.1. Meilisearch Cloud is managed, includes a 14 day trial, and starts at $20 per month.
- OpenSearchApache-2.0OpenSearch is an Apache 2.0 search and analytics suite for application search, log analytics, observability, and vector workloads. The Linux Foundation hosts its community foundation, while Amazon OpenSearch Service provides managed clusters and Serverless deployments with usage-based billing. It includes a distributed search engine and a browser interface for dashboards and operational analysis.
- ElasticsearchElastic License 2.0 for default distributions, with AGPLv3, SSPL 1.0, and ELv2 source optionsElasticsearch is a distributed search and analytics engine for application search, logs, metrics, security data, and vector retrieval. Elastic maintains its default distribution under Elastic License 2.0, with AGPLv3 and SSPL 1.0 options for significant source portions. Elastic Cloud offers hosted and serverless deployments, including a 14-day trial.
- QuickwitApache-2.0Quickwit is a Rust search engine for observability data, including logs and distributed traces. It is maintained by the Quickwit open-source community after joining Datadog, and uses Apache-2.0. The software is free to self-host, while Elestio offers managed deployments starting at $16 per month. Operators control deployment and administration.
- Manticore SearchGPL-3.0-or-laterManticore Search is an open-source search database for full-text, vector, hybrid, and conversational search. It supports SQL and HTTP, real-time indexing, distributed deployments, and several ingestion paths. The core uses GPLv3 or later, while Manticore Search Studio is a developing search-app service with a free plan and paid plans starting at $20 per month.
- SearXNGAGPL-3.0SearXNG is a free, community-maintained metasearch engine for privacy-conscious users and operators. It aggregates results from many search services without tracking or profiling, uses the AGPL-3.0 license, and can be self-hosted or accessed through public community instances. No official paid hosted plan is published. Operators control deployment and administration.