# Import and export

> Bringing notes in from Apple Notes, Markdown, Evernote and Canto files, and sending them out as Markdown, HTML, PDF or encrypted Canto files, or every note as a folder of Markdown files.

Applies to Canto 1.0 beta 9 · Updated Oct 27, 2026 · https://lonelyduck.io/docs/canto/import-export

Generated from Canto 1.0.0-beta.11's code: `src/main/menu.ts`.

Your notes aren't locked in. Canto reads the common formats in, writes plain Markdown, HTML and PDF out, and has two file formats of its own for moving notes between copies of Canto, with or without a password. Exporting to Markdown is free on every plan, and none of this sends anything off your Mac.

## Bring notes in

| From | Where | What comes in |
|---|---|---|
| Apple Notes | **Settings › Connections › Import › Apple Notes**, or ⌘K's **Connect Apple Notes…** | The folders you choose, with formatting, links, attachments, folders and dates |
| Markdown files | **File › Import › Markdown Files…** | `.md`, `.markdown`, `.mdown`, `.mkd` and `.txt` files, from Obsidian, Bear, iA Writer or any folder |
| A folder of Markdown files | **Settings › Connections › Import › A folder of Markdown files** | A whole folder, such as an Obsidian vault, with its subfolders |
| Evernote | **File › Import › Evernote Export (.enex)…** | An `.enex` export |
| A Canto file | **File › Import › Canto File (.canto)…** (`⇧⌘I`) | One note with its tags and attachments |
| A Canto workspace | **File › Import › Workspace (.cwsp)…** | Everything in an exported vault |
| A Canto 0.x notebook | **File › Import › Notebook Backup (.cnb)…** | One notebook, as one note |

The same imports are in **Settings › Connections › Import**, and setup's step 5 offers Apple Notes, a Markdown folder, Evernote or a Canto file.

**Markdown.** Checklists, tags and note links come along, dates written as `📅 2026-10-23` become [date chips](https://lonelyduck.io/docs/canto/tasks#give-a-to-do-a-date), Obsidian-style callouts (`> [!WARNING]`) become callouts, and figures and charts in the files become figures right away. Importing a whole folder brings its subfolders too, up to 5,000 files of up to 10 MB each. A folder that is a Canto export of this vault comes back as updates; see [Bring edits back](https://lonelyduck.io/docs/canto/import-export#bring-edits-back).

**Canto files with a password** ask for it: "This file has a password". Without it, the file can't be opened.

**Notebooks.** Canto 1.0 turned 0.x notebooks into notes and saved each one as a `.cnb` file and as Markdown in your Backups folder, under "Notebooks (before 1.0)". Import a `.cnb` file to bring one back as a note. See [Upgrading from Canto 0.10](https://lonelyduck.io/docs/canto/upgrade#notebooks).

## Apple Notes

Apple Notes import is a connection you can refresh, not a one-time copy.

1. **Connect…** Canto asks macOS for permission to control Notes, and only when you press it. It uses that permission to list the accounts and folders you choose and to read the notes you select. It never changes or deletes anything in Apple Notes, and it doesn't sync in the background.
2. **Choose folders…** Nothing is selected at first. Choose **Include common attachments** and **Include shared notes (read-only copies)** if you want them. Locked notes are counted but never opened, and Recently Deleted is left out.
3. **Preview, then import.** You see how many notes are new, already here, locked or shared before anything is written. You can close the window while it imports.

Locked notes, pins and Smart Folders stay in Apple Notes. Imported notes are ordinary Canto notes.

Once connected:

- **Refresh** reads your chosen folders again and brings changes in. If you also changed a note in Canto, it goes to **Needs review** instead of being overwritten, where you choose **Keep Canto and stop pulling this change**, **Replace Canto with Apple Notes**, or **Keep both as separate Canto notes**.
- **Formatting › Repair…** reads imported notes again with Canto's newest converter, saving each note's history first. Notes you changed in Canto go to review.
- **Disconnect…** stops refreshing. The notes Canto brought over stay as ordinary notes.

If macOS doesn't let Canto use Notes, turn it on in **System Settings › Privacy & Security › Automation**, then **Check again**. People upgrading from 0.10 see this prompt once more, because 1.0 is a new app to macOS.

## Send notes out

| As | Where | What you get |
|---|---|---|
| Markdown | **File › Export › Markdown…** (`⇧⌘E`), or **Share › Export as Markdown** | A `.md` file of the note |
| All your notes as Markdown | **File › Export › All Notes as Markdown…** | A folder of `.md` files; see [Your notes as Markdown files](https://lonelyduck.io/docs/canto/import-export#your-notes-as-markdown-files) |
| HTML | **File › Export › HTML…**, or **Share › Export as HTML** | A web page of the note |
| PDF | **File › Export › PDF…**, or **Share › Export as PDF** | A PDF, with a preview first |
| A Canto file | **File › Export › Canto File (.canto)…** | One note with its tags and attachments, to open in Canto on any Mac |
| A Canto workspace | **File › Export › Workspace (.cwsp)…** | Everything in your vault, in one file |
| References | **File › Export › References…**, or **⋯ › Export references…** in the note's header | The note's cited files as BibTeX, RIS or CSL JSON, for Zotero or a LaTeX paper |

Exports start with the note's title as a heading. Figures, charts and smart tables are drawn in HTML and PDF, and so are pictures you expanded in the note, with their descriptions as alt text; in Markdown, charts are kept as ` ```chart ` blocks and figures as their fences, so they come back as figures when you import them. A research note's hidden copy of the original chat answer is left out.

A Markdown file starts with front matter: the note's title, its dates, its id and, for a research note, its sources. Tables stay Markdown tables, callouts stay callouts, inline math is written as `$…$`, a date chip is written as `📅 2026-10-23`, and citations link to their sources. Canto exports the note as the editor shows it, including the last few keystrokes.

**PDF** opens **Export as PDF**: a preview with **Paper size** (A4 or US Letter), **Scale**, and **Preview zoom**.

**A chat's answers** can be exported too: under an answer, **⋯ › Export as Markdown** saves that answer or the entire chat.

**References** export only the files whose author and year you confirmed, so a guess never lands in a bibliography; the sheet says how many it left out. To bring authors and years in from Zotero instead, see [Citations](https://lonelyduck.io/docs/canto/writing#citations).

## Your notes as Markdown files

To take every note with you, or a copy for Obsidian or any Markdown app, use **File › Export › All Notes as Markdown…**, ⌘K's **Export all notes as Markdown…**, or **Settings › Sync & storage › Take your notes with you › Export as Markdown…**. A folder's menu, a tag's page and a selection in the sidebar or [All notes](https://lonelyduck.io/docs/canto/organize#all-notes) start it for just those notes. It's free on every plan, and nothing leaves your Mac.

The sheet, **Export notes as Markdown**, asks:

- **What to export**: **Everything**, **A folder** (with its subfolders), **Selected notes** or **A tag**. It counts the notes, canvases and attachments before anything is written. The Trash is left out.
- **Links between notes**: standard Markdown links, or Obsidian-style `[[wiki links]]`. Either way they point at the exported files.
- **Also include**: canvases as Obsidian `.canvas` files; chats, in `_chats`; unfiled captures from the Inbox, in `_inbox`; version history, in `_history`; and **Make one .zip file**. Chats and captures are ticked when you export everything.
- **Save in**: the folder to write into, with **Choose…**.

Your folders become folders and attachments are copied into `_attachments`. When it's done, `Canto export report.md` in the export lists anything that didn't convert cleanly.

**These files aren't encrypted.** The sheet says so before anything is written, and that Apple syncs them if the folder is in iCloud Drive. It warns you before you export into Canto's data folder or a folder Canto links to.

### Update an export

Choose a folder you exported to before and press **Update it instead**, or press **Update export…** under **Settings › Sync & storage › Take your notes with you**, and Canto brings that export up to date instead of making a new one. It shows what changed first, such as "3 changed, 1 new, 2 removed", and writes only that:

- notes you renamed or moved move their files,
- files Canto wrote for notes you deleted are removed,
- files you added to the folder yourself are never touched,
- a file you edited in another app is kept as it is, with Canto's newer version beside it as "… (from Canto).md". The report lists it.

In Settings, **Show in Finder** beside **Update export…** opens the last export.

### Bring edits back

Import a Canto export of this vault as a folder (**Settings › Connections › Import › A folder of Markdown files**), and Canto updates the notes you changed outside Canto instead of adding them twice; their earlier text stays in Version history. Files nobody changed are skipped. A note changed both in Canto and outside it comes in as a new note beside it, so neither text is lost.

## Canto files and passwords

**Export as Canto file** and **Export workspace** open one sheet with two choices under **Encryption**:

- **Not encrypted**: anyone with Canto can open the file.
- **Encrypted with a password**: only someone with the password can open it. Use at least 8 characters; the sheet says how strong it is. **Canto can't recover a forgotten password**: without it, the file can't be opened. Keep it somewhere safe.

A **workspace** holds notes, canvases, folders, tags, templates, chats, actions and styles, version history, captures waiting in the Inbox, attachments and the text Canto read from them, and says how many notes it has, including those in the Trash. It leaves out API keys and your license, the access key for other apps, sync state, downloaded models, search indexes (Canto rebuilds them) and what [Read every file](https://lonelyduck.io/docs/canto/read-every-file) read. Files in linked folders stay where they are.

Workspaces are a good way to move to a new Mac without iCloud sync, or to keep a copy somewhere of your own. For copies Canto makes on a schedule, see [Backups, history and the Trash](https://lonelyduck.io/docs/canto/backups).

## Sharing on the web

To give someone a link instead of a file, publish the note: see [Publishing a page](https://lonelyduck.io/docs/canto/publishing).
