# Export and Import E2E Room Keys

## Element Web and Desktop

### Export

1. Go to Element `Security & Privacy` settings  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387379910-02-07-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387379910-02-07-pm.png)

1. Click `Export E2E room keys`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387639046-26-17-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387639046-26-17-pm.png)

1. Enter a secure passphrase and click `Export`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387653689-49-03-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387653689-49-03-pm.png)

1. Choose to save the file  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387665732-50-05-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387665732-50-05-pm.png)

1. Select a directory on your computer  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387681142-50-52-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387681142-50-52-pm.png)

### Import

1. Go to Element `Security & Privacy` settings  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387379910-02-07-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387379910-02-07-pm.png)

1. Click `Import E2E room keys`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387639046-26-17-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387639046-26-17-pm.png)

1. Click `Browse`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387798540-52-49-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387798540-52-49-pm.png)

1. Select your export  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387821871-53-11-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387821871-53-11-pm.png)

1. Enter your passphrase and click `Import`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387764980-55-34-pm.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387764980-55-34-pm.png)

## Element iOS

### Export

1. Tap the cog in the top left of Element

1. Tap `Security`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387865840.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387865840.PNG)

1. Tap `Export keys manually`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387875834.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387875834.PNG)

1. Enter a secure passphrase and tap `Export`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387886968.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387886968.PNG)

1. Choose `Save to Files`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387895023.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387895023.PNG)

1. Choose a location then tap `Save`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387909559.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387909559.PNG)

### Import

This is a temporary solution until <a href="https://github.com/element-hq/element-ios/issues/1027" target="_blank" rel="noopener noreferrer">this issue</a> is resolved

1. Tap the ` ` in the bottom right corner  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387924418.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387924418.PNG)

1. Tap `Create room`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387932810.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387932810.PNG)

1. Tap the room name (Empty room) at the top  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387941450.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387941450.PNG)

1. Tap the room name again  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387950774.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387950774.PNG)

1. Under Advances, enable encryption  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387959498.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387959498.PNG)

1. Tab `Done` in the top right  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387970162.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387970162.PNG)

1. Tab the ` ` to send a file  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387979634.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387979634.PNG)

1. Tap `Send file`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387988806.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387988806.PNG)

1. Browse to and select your export  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702387999579.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702387999579.PNG)

1. Tap the file you just sent  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388007898.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388007898.PNG)

1. Tap `Import`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388015135.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388015135.PNG)

1. Enter your passphrase and tap `Import`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388022799.PNG)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388022799.PNG)

## Element Android

### Export

1. Tap your user picture in the top right

1. Tap the cog  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388065936.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388065936.png)

1. Tap `Security & Privacy`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388081154.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388081154.png)

1. Tap `Export E2E room keys`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388094066.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388094066.png)

1. Select a location and a file name, then tap `SAVE`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388106399.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388106399.png)

1. Enter a secure passphrase, then tap `EXPORT`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388117546.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388117546.png)

### Import

1. Tap your user picture in the top right  

1. Tap the cog  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388065936.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388065936.png)

1. Tap `Security & Privacy`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388081154.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388081154.png)

1. Tap `Import E2E room keys`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388094066.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388094066.png)

1. Browse to and select your export  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388194501.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388194501.png)

1. Enter your passphrase and tap `IMPORT`  
[![](https://ems-docs.element.io/uploads/images/gallery/2023-12/scaled-1680-/image-1702388210822.png)](https://ems-docs.element.io/uploads/images/gallery/2023-12/image-1702388210822.png)