# Files

Keep any file next to your notes. MemoMori opens the common kinds in the app,
and you can download anything.

## Upload

- Drag files or whole folders onto the Files page. Folders keep their
  structure.
- Click **Upload**, or press <kbd>U</kbd>.
- Paste or drop a file into a note to upload it and embed it in one go.

One file can be up to **500 MB**. Text files up to
64 MB open in the editor and keep version history. Larger text files stay
as downloads. See [limits](/docs/plans#limits).

If a name is taken, choose **Replace**, **Keep both** or **Skip**. Replacing a
text file adds a version; replacing a binary file does not keep its old bytes.
If the replacement changes between text and binary, the old file moves to
the graveyard.

## Open files in the app

| Kind          | Formats                                   |
| ------------- | ----------------------------------------- |
| Images        | PNG, JPEG, GIF, WebP, AVIF, BMP, ICO, SVG |
| Video         | MP4, MOV, WebM, Ogg                       |
| Audio         | MP3, M4A, AAC, Ogg, Opus, WAV, FLAC       |
| PDF           | PDF, with an outline, find and zoom       |
| Ebooks        | EPUB, MOBI, AZW, AZW3, FB2, FBZ, CBZ      |
| Tables        | CSV, TSV, sorted by clicking a column     |
| Maps          | GeoJSON                                   |
| Code and text | Most languages, with syntax colors        |

Anything else, such as HEIC, TIFF, ZIP or Office files, shows a **Download**
button.

## Read books and PDFs

Turn pages with <kbd>←</kbd> <kbd>→</kbd> and find text with <kbd>⌘</kbd>
<kbd>F</kbd>. MemoMori remembers your page on each device.

In an ebook, **Reader settings** sets the text size, spacing, margins, font, and
pages or scroll. Select a passage and pick **Quote to note** to collect it in a
note named after the book.

To read one inside a note, embed it. See
[PDFs and books](/docs/markdown#pdfs-and-books).

## Move, copy and star

- Drag rows onto a folder, or press <kbd>M</kbd>.
- **Duplicate** copies a note or text file.
- **Star** a file to keep it on the Starred page.
- Press <kbd>X</kbd> to select rows, then move, download or delete them
  together.

## Download a folder

Select files or folders and click **Download**. MemoMori builds the ZIP in
your browser.

- Select as many files and folders as you like. Folders include their files.
- If the browser window cannot stream downloads, a ZIP can hold at most 2 GB.
  Download smaller groups if you reach that limit.
- The ZIP holds each file's current content and last changed time. It leaves
  out version history, stars and settings.
- Deleted files stay out unless you download them from the graveyard.
- Drawings include their images and open in Excalidraw.

Keep a download of work you need outside MemoMori. A ZIP is an export of your
files, not a full account backup.
