---
title: "Migrating from other databases"
description: "Map data and concepts from other databases to SurrealDB using Surreal Sync, the CLI import or SDKs."
canonical_url: "https://surrealdb.com/docs/integrate/migrating/from-other-databases/overview"
section: "Migrating to SurrealDB"
surrealdb_version: "4.x"
last_modified: "2026-11-18T02:09:16Z"
---

> Full SurrealDB documentation index: https://surrealdb.com/docs/llms.txt

# Migrating from other databases

Map data and concepts from other databases to SurrealDB using Surreal Sync, the CLI import or SDKs.

This section details how to map data, queries and concepts you may know from other databases and datatypes into SurrealDB.

All of the sources in this section of the documentation can be automatically imported to SurrealDB using the [Surreal Sync](https://github.com/surrealdb/surreal-sync/) tool.

To migrate from a database that is not yet supported, export the data as [JSON Lines](/docs/integrate/migrating/from-files-and-streams/json-lines.md) and import it with Surreal Sync, or write it out as SurrealQL `INSERT` statements and load the file with [`surreal db import`](/docs/reference/cli/db/commands/import.md), which takes a SurrealQL file. Alternatively, you can use [one of the many available SDKs](/docs/languages.md) to access your existing database and transfer its content directly to a SurrealDB instance.

* [MongoDB](/docs/integrate/migrating/from-other-databases/from-mongodb.md)
* [MySQL](/docs/integrate/migrating/from-other-databases/from-mysql.md)
* [Neo4j](/docs/integrate/migrating/from-other-databases/from-neo4j.md)
* [PostgreSQL](/docs/integrate/migrating/from-other-databases/from-postgresql.md)
* [Snowflake](/docs/integrate/migrating/from-other-databases/from-snowflake.md)
