---
title: Export and import users
project: Code
version: 2.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/code/2-0/guides/transfer-users/
updated: 2026-11-19T04:32:09.378Z
---

# Export and import users

> Move user accounts from one Total.js Code instance to another.

You can copy your users to another Code instance. They keep their passwords.

## Export the users

1. Open **Users** in the main bar.
2. Click **Export / Import**.
3. Copy all the text in **Data**.

Blocked users are not part of the export.

The text holds account data. Treat it like a password: send it over a safe channel and delete your copy when you finish.

## Import the users

1. Sign in to the other instance as an administrator.
2. Open **Users** and click **Export / Import**.
3. Replace the text in **Data** with the text you copied.
4. Click **Import**.

Code adds the users whose ID doesn't exist yet.

## After the import

Access to the DB viewer doesn't travel with the export. Check **Allow to open DB viewer** again for the people who need it.
