# Import from JSON file

{% hint style="info" %}
Currently, this is the only method in which you can import multiple accounts simultaneously.
{% endhint %}

### If you are currently using SubWallet <a href="#if-you-are-currently-using-subwallet" id="if-you-are-currently-using-subwallet"></a>

**Step 1**: On the SubWallet homepage, hit the account name to access the account selection tab.

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FElsp4PE6h8SYy9zJZdUD%2FScreenshot_16.png?alt=media&#x26;token=37739d5f-e02a-45ae-aeb2-b3ed721227a0" alt="" width="270"><figcaption></figcaption></figure>

**Step 2**: In the account selection tab, press the <img src="https://docs.subwallet.app/~gitbook/image?url=https%3A%2F%2F631687399-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Lh39Kwxa1xxZM9WX_Bs%252Fuploads%252FpGiUsKS7LQbuF7fcmC5Q%252FScreenshot_232.png%3Falt%3Dmedia%26token%3D93a80930-8762-47f2-8c58-c48721795f7e&#x26;width=40&#x26;dpr=4&#x26;quality=100&#x26;sign=37584144&#x26;sv=2" alt="" data-size="line"> icon at the bottom of the screen.

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FTsBmFFg4wEWJMgQVqO50%2FScreenshot_22.png?alt=media&#x26;token=6d9c0abf-c85a-4e74-aa96-52e96c19ec32" alt="" width="272"><figcaption></figcaption></figure>

**Step 3**: Choose "**Import from JSON file**" as the chosen method to import your account.

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FIh2h5yxV86QW3pkOu7Fp%2FScreenshot_14.png?alt=media&#x26;token=bc4042d8-702d-4200-89ad-3edd9335481f" alt="" width="272"><figcaption></figcaption></figure>

**Step 4**: Tap the import field to choose a file from your device, or drag and drop your JSON backup file to import.

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FJCivlKxqJuFF32mHDT1X%2FScreenshot_23.png?alt=media&#x26;token=73f38552-62ff-4676-b72c-0c1dc3fbc1bf" alt="" width="272"><figcaption></figcaption></figure>

**Step 5**: Enter the file's password (created when you set up the wallet for the first time) and hit "**Import by JSON file**".

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FaSq7WiMzFlW96hN1WRfR%2FScreenshot_24%20(1).png?alt=media&#x26;token=b54b3bf3-fa6f-452d-8624-082f64c188c2" alt="" width="272"><figcaption></figcaption></figure>

**Step 6**: Select the accounts you wish to import, then press "**Import by JSON file**".

<div><figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FTcS9VIXmqH7b44zintmy%2FScreenshot_25.png?alt=media&#x26;token=1e204033-4d90-427e-ba5c-088db1237386" alt="" width="272"><figcaption></figcaption></figure> <figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2F3n3pxkStyl0Z4qIIBRFl%2FScreenshot_27.png?alt=media&#x26;token=1da4d115-c364-4961-87e9-7ce33c345105" alt="" width="272"><figcaption></figcaption></figure></div>

{% hint style="info" %}
If there is more than 1 account that has the same account name in the JSON file, a popup will appear, informing you that the wallet will automatically add suffixes for these accounts to differentiate them. Hit "I understand" to proceed.

You can change the account name later.

![](https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FsBpjStFJe8TYfDND5agG%2Fimage.png?alt=media\&token=14a32fd9-0604-404b-ab25-41bb8b2bd5a9)
{% endhint %}

You've successfully imported your accounts from a JSON file!

### **If you have not had any accounts with SubWallet**

**Step 1**: Open the SubWallet app. On the welcome screen, choose "**Import an account**".

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FFoxXh0rimczJ1tS42s0b%2FScreenshot_7.png?alt=media&#x26;token=7df7744c-e6c2-457f-9024-bfcdbb2fcb38" alt="" width="272"><figcaption></figcaption></figure>

**Step 2**: Choose "**Import from seed phrase**" to import account.

<figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2Fh7hkjWXEaq64XhpZLgnK%2FScreenshot_8.png?alt=media&#x26;token=69c9f14b-0938-4fa6-a906-715629a5eaa6" alt="" width="272"><figcaption></figcaption></figure>

**Step 3:** Create a master password with at least 6 characters and tick "**I understand that SubWallet can't recover the password**". Once done, hit "**Continue**".

<div><figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FgjD3mXN3qHMGtYRmzpc6%2Fspaces_-Lh39Kwxa1xxZM9WX_Bs_uploads_YfZD15XrQMcFMhoD9n3x_Screenshot_8.webp?alt=media&#x26;token=b355648c-6fa6-4840-b215-6ff5d3d69425" alt="" width="270"><figcaption></figcaption></figure> <figure><img src="https://631687399-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh39Kwxa1xxZM9WX_Bs%2Fuploads%2FWCm177W4VPYJJAmbaHTP%2Fspaces_-Lh39Kwxa1xxZM9WX_Bs_uploads_jGuadvrKVkyLZGsYxjKN_Screenshot_9%20(1).webp?alt=media&#x26;token=06b9f528-e0be-4942-899b-3913ee625357" alt="" width="270"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
SubWallet is non-custodial, so you will be the only person who knows your password; we can't help you restore it once it is lost. Make sure that your password is well-kept.
{% endhint %}

Once you create a master password, you can follow the importing procedure provided in [If you are currently using SubWallet](https://app.gitbook.com/o/CyPU0v2iA12ILmupTKub/s/-Lh39Kwxa1xxZM9WX_Bs/~/changes/708/mobile-app-user-guide/account-management/import-accounts/import-from-json-file#if-you-are-currently-using-subwallet), starting from **Step 3.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.subwallet.app/main/mobile-app-user-guide/account-management/import-accounts/import-from-json-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
