# Import Text File (.csv, .xls, .tsv)

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2FiUkx8lvx84X0XZdz92NR%2FImport-Keeper-CSV.jpg?alt=media&#x26;token=fb35ab21-7e7d-4326-b0a2-47aba849067d" alt=""><figcaption></figcaption></figure>

## Import Instructions

Keeper can import your logins and passwords from a text file (.csv, .xls., .tsv).

1. To begin, from the **Account Dropdown Menu**, click **Settings**.

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2FSAyF0pTOwpYisXvU9x1P%2FScreenshot%202026-01-23%20at%202.39.35%E2%80%AFPM.png?alt=media&#x26;token=4308988e-a53e-4428-8589-4aa6c29819e3" alt=""><figcaption><p>Account Dropdown Menu > Settings</p></figcaption></figure>

2. Click **Import > Import** (next to "Use Another Source").

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2F7n5Oy6CfK0yiGJkb8h2N%2FSettings%20(8).png?alt=media&#x26;token=683a792a-6267-4c5a-a794-dcb2f4d883c4" alt=""><figcaption><p>Import From a File or Password Manager</p></figcaption></figure>

3. From the dropdown menu, select **Text File (.csv, .xls, and .tsv)**, then click **View Instructions**. Keeper's CSV import method supports advanced structure including folders, subfolders, shared folders and any number of custom fields.

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2FEBjTP8UbMloy7HsEZ6oN%2Fimage%20(6).avif?alt=media&#x26;token=262d18f6-f4e3-4eef-a43f-164e43c6f082" alt=""><figcaption><p>Import from Text File</p></figcaption></figure>

4. Once you have created the export file per the instructions, drag-and-drop the file onto Keeper's "Drop a File Here" window or browse for the file on your computer. Check the box if your file includes column headers, otherwise, the first row will be treated as data.

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2FJj50L1DIgox9PRB02Oxb%2Fimage%20(7).avif?alt=media&#x26;token=6ea6e723-a847-4782-b13c-96010402e333" alt=""><figcaption><p>File Uploaded</p></figcaption></figure>

5. Once you have imported your credentials using one of the methods above, you can customize how you would like the information to appear in your vault in the field mapping screen. Here you'll see standard field names across the top that “map” to the data below for each Keeper record.

To adjust these mappings:

* Click any field to open a dropdown menu
* Select the appropriate field name from the list. Repeat this process across each column as needed
* Click **Next** to finalize your selections.

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2F7UwenNtpvzaOuRfF1Cq7%2Fimage%20(3).avif?alt=media&#x26;token=cbee3e5d-8a41-4c76-8325-e12efdb22878" alt=""><figcaption><p>Review &#x26; Edit the Imported Information</p></figcaption></figure>

6. Next, a summary screen will display a preview of your vault, showing the folder structure of your imported records. Here you can adjust the folder structure and click into individual records to preview their details before finalizing the import. Click **Confirm Import** to complete the import process.

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2FcXq2B3rTEEpXGA5KqvP3%2Fimage%20(4).avif?alt=media&#x26;token=102408a1-7d6b-412b-9e3d-41db8cbc080a" alt=""><figcaption><p>Summary of Import</p></figcaption></figure>

Once the import is complete, we highly recommend that you delete any unencrypted password files from your computer and disable any old password managers.

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2FN075CmhLSNQKkV2EcjIw%2Fimage%20(5).avif?alt=media&#x26;token=181747ac-5b71-431f-beec-0e23a6a5884d" alt=""><figcaption><p>Successful Import</p></figcaption></figure>

## Troubleshooting

* If you only wish to share some of the folders, you will need to split the CSV file into two separate files prior to importing each accordingly.
* If you are getting corrupted characters in the import, ensure that the CSV file was saved/exported using UTF-8 or Unicode encoding.

***

## Advanced Field Mapping

Keeper's CSV import method also supports advanced structure including **Folders**, **Subfolders, Shared Folders, and any number of Custom Fields (CustomFieldName,CustomFieldValue).**

{% code title="Order of fields in CSV File" overflow="wrap" fullWidth="true" %}

```
Folder,Title,Login,Password,Website Address,Notes,Shared Folder,CustomField1Name,CustomField1Value
```

{% endcode %}

<table data-full-width="true"><thead><tr><th width="185">Folder</th><th width="97">Title</th><th width="191">Login</th><th width="217">Password</th><th width="171">Website Address</th><th>Notes</th><th width="139">Shared Folder</th><th width="159">Custom Field1 Name</th><th width="186">Custom Field1 Value</th><th>Custom Field2 Name</th><th>Custom Field2 Value</th><th>Custom Field3 Name</th><th>Custom Field3 Value</th><th width="73">Custom Field4 Name</th><th>Custom Field4 Value</th></tr></thead><tbody><tr><td>Folder1\subfolder</td><td>Google Account</td><td>user@example.com</td><td>liu.W241Q&#x3C;q$RGl9r;N1</td><td><a href="http://www.google.com/">www.google.com</a></td><td>main google account</td><td>TeamFolder</td><td>$oneTimeCode</td><td>otpauth://totp/?secret=ABC123ABC123ABC123ABC123ABC123</td><td>$type</td><td>login</td><td>$host</td><td>10.0.0.1</td><td>$url</td><td><a href="http://www.example.com/">www.example.com</a></td></tr></tbody></table>

• To specify Subfolders, use backslash "\\" between folder names\
• To make a Shared Folder specify the name or path to it in the 7th field

Here is a list of some record types (you may have more if you have custom record types, or less if you are restricting some record types):

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2FfutxI0asR1RJ7Fstu6uV%2FWindowsTerminal_wOnQKBPAAK.png?alt=media&#x26;token=3ee232a4-a43f-4257-8d9b-0714c034c137" alt=""><figcaption><p>Record Type can be defined using custom field name $type</p></figcaption></figure>

Here is a list of all possible field types (including custom fields):

<figure><img src="https://914511346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSGVtOTYUIkVBoYtFvK%2Fuploads%2FVIGQh9gDy9se7w9sL1aW%2FWindowsTerminal_myNZzFQtif.png?alt=media&#x26;token=f9324c06-f8c7-460d-98ea-22f2043d92a0" alt=""><figcaption><p>All Field Types</p></figcaption></figure>

**Example 1: Create a regular folder at the root level with 2 custom fields**

```
My Business Stuff,Twitter,marketing@company.com,123456,https://twitter.com,These are some notes,,API Key,5555,Date Created,2018-04-02
```

**Example 2: Create a shared subfolder with edit and re-share permission, inside a regular folder**

```
Personal,Twitter,craig@gmail.com,123456,https://twitter.com,,Social Media#edit#reshare
```

**Example 3: Create a shared folder with edit and re-share permission on the outside and a nested folder tree underneath.**

```
Personal\Financial\Home,Chase,craig@gmail.com,123456,https://chase.com,,Family Records#edit#reshare
```

In this 3rd example, the outer shared folder is called "Family Records" and underneath is a folder tree. The record is added to the nested folder 3 levels down.

To preview the import structure, drag and drop the file into the Import screen and click **Next**.

## Notes for Managing Folders and Subfolders

A Folder, Subfolder (nested folder) and Shared Folder are objects that are created independently of records. Folders are often used to categorize records of a similar type.

Keeper's implementation of folders is powerful and flexible and includes ease-of-use functionality such as drag-and-drop.

* A folder is a container of records and record references (shortcuts).
* A shared folder is a container of records, with flexible user and team sharing capability.
* A folder can be made up of personal records, shared records or other regular subfolders.
* Subfolders can be either shared or personal.
* You can create an unlimited number of folders and shared folders.
* A shared folder can be made up of an unlimited number of subfolders, each subfolder beneath a shared folder retains the permissions of the parent.
* There is no limit to the folder tree depth.
* Folders and subfolders contained within shared folders will inherit the permission of the shared Folder.
* A shared folder with just one user (nothing shared to anyone) is still a Shared Folder.
* A shared folder does not have to be shared with anyone else.

## Record Permissions

The permissions of records within a Shared Folder can be individually controlled with the following two permissions:

* **Can Edit -** when this permission is enabled, the record can be edited by **any user** with the shared folder.
* **Can Share** **-** when this permission is enabled, records can be shared by **any user** with the shared folder.

Keeper also supports advanced JSON structured file formats. We recommend using JSON files for import and export of structured data instead of CSV files. This is described in the [JSON Import page.](https://docs.keeper.io/en/user-guides/import-records-1/import-json)

## Commander CLI Import

The [Keeper Commander CLI](https://docs.keeper.io/keeperpam/commander-cli/command-reference/import-and-export-commands/import-export-commands) supports more advanced import capabilities with CSV and JSON files.
