# Exporting Messages

**Note**: If you are an EMS server admin and wish to export your entire EMS server, please see [Migrate From EMS to Self-Hosted](migrate-from-ems-to-self-hosted).

Using your Element client you can export your Room's message history in HTML, Plain Text or JSON format - including attachments.
1. Open the room you wish to export message history
 	
    [![](https://ems-docs.element.io/uploads/images/gallery/2022-12/scaled-1680-/image-1670515303653.png)](https://ems-docs.element.io/uploads/images/gallery/2022-12/image-1670515303653.png)

2. Access 'Room Info' using the icon in the top right
 	
    [![](https://ems-docs.element.io/uploads/images/gallery/2022-12/scaled-1680-/image-1670515250670.png)](https://ems-docs.element.io/uploads/images/gallery/2022-12/image-1670515250670.png)

3. Select 'Export Chat', then confirm your desired settings for export

    [![](https://ems-docs.element.io/uploads/images/gallery/2022-12/scaled-1680-/image-1670515221868.png)](https://ems-docs.element.io/uploads/images/gallery/2022-12/image-1670515221868.png)

4. Finally click 'Export' - once the export has completed you will be prompted to save an archive of the export.

    [![](https://ems-docs.element.io/uploads/images/gallery/2022-12/scaled-1680-/image-1670515128841.png)](https://ems-docs.element.io/uploads/images/gallery/2022-12/image-1670515128841.png)