Migrating from Algolia to Meilisearch
What transfers, what doesn't, the five steps in order and what you give up. Written for one person who has deployed a server before.
Plan on a few days, and we rate it moderate. Every step follows Algolia's and Meilisearch's own documentation, listed under Sources.
What moves over
- Every record in an Algolia index, exported with Algolia's browse methodtransfers
- Settings with a direct match, such as searchableAttributes and synonyms, under the same namestransfers
- An InstantSearch front end, through the Instant Meilisearch clienttransfers
- Settings in the copy: the script moves records only, so you set them againdoesn’t transfer
- Sorting replicas: Meilisearch uses sortableAttributes and the sort parameterdoesn’t transfer
- A few parameters with no equivalent, such as aroundPrecision and disablePrefixOnAttributesdoesn’t transfer
The five steps
Step 1: Run Meilisearch with a master key
your serverInstall Meilisearch and start it with a master key of 16 bytes or more: one is mandatory in production. Meilisearch then creates a Default Admin API Key.
Step 2: Export the records from Algolia
your codeInstall Algolia's and Meilisearch's client libraries. Create an Algolia client with your Application ID and Admin API Key, then fetch every record with browseObjects.
Step 3: Upload them to Meilisearch
your codeCreate a Meilisearch client with your host and admin API key, send the records with addDocumentsInBatches and run the script. The index is created if missing.
Step 4: Recreate the settings
in MeilisearchRead Algolia's settings with getSettings and apply their matches with updateSettings, using Meilisearch's comparison table. Set sortableAttributes before sorting.
Step 5: Move queries and the front end
your codeRename Algolia's query parameters, such as query to q and filters to filter. For InstantSearch, pass it Instant Meilisearch's searchClient.
Back up your data before you start. These steps follow each product’s own documentation, listed under Sources, as it read on 2026-11-26; products change, so check those pages before you run anything.
Watch out for
There's no importer: you write and run the export script yourself, from Meilisearch's examples in JavaScript, Python or Ruby
The script uses Algolia's Admin API Key, its most sensitive key: keep it confidential, or make a key with only the Browse Index right
Meilisearch guesses the primary key from an attribute ending in id; if it finds two, the upload fails until you set the key yourself
EditorialAleksandar Simovupdated
Check Meilisearch before you commit
- stars
- 60.1k
- gained · 7d
- +90
- growth · 7d
- ▲up 0.1%
- health
- 90/100
- licence
- MIT
Frequently asked
How long does migrating from Algolia to Meilisearch take?
A few days for one person who has run a server before, by our estimate, and we rate it moderate. The steps below follow both products' own documentation.
What comes across from Algolia?
Every record in an Algolia index, exported with Algolia's browse method. Settings with a direct match, such as searchableAttributes and synonyms, under the same names. An InstantSearch front end, through the Instant Meilisearch client.
What doesn't come across?
Settings in the copy: the script moves records only, so you set them again. Sorting replicas: Meilisearch uses sortableAttributes and the sort parameter. A few parameters with no equivalent, such as aroundPrecision and disablePrefixOnAttributes.
What do I need to run Meilisearch?
Single binary, 256 MB RAM minimum, app only, stated in meilisearch.com docs, checked 2026-10-10, by our curated profile, which rates it easy to run. On a server of its own that is about $7.20 a month by our published rule, before your time.
Is Meilisearch open source?
Yes. Meilisearch's source code is published under MIT, a permissive open-source licence approved by the Open Source Initiative. Its LICENSE file: “Part of this work fall under the Meilisearch Enterprise Edition (EE) and are licensed under the Business Source License 1.1, please refer to LICENSE-EE for details.” and “The other parts of this work are licensed under the MIT license.” (https://github.com/meilisearch/meilisearch/blob/main/LICENSE, read 2026-10-24).
Where this comes from
- steps, effort
- By Aleksandar Simov, updated 2026-11-26
- the docs
- meilisearch data
- GitHub API, as of 2026-12-05 00:37 UTC
- self-host
- Checked against Meilisearch's own docs
Found something out of date? Report an error
More migration guides
Tables, records and views, with each view's fields, filters, sorts and groups.
Google Analytics 4 to PlausibleDaily totals of visitors, visits, pageviews and engagement time, up to the day Plausible starts counting.
Missing a switch?Tell us which move you need: the queue is ordered by what people ask for.
Request a guide