Import Zotero notes into Obsidian as Markdown
Import Zotero child and standalone notes into your Obsidian vault as Markdown files, for one paper, a collection, or a whole library, and re-import them.
- Open the paper's literature note.
- Press
Ctrl+P(Cmd+Pon macOS) and run ZotLit: Import child notes from Zotero. - Select Import notes.
Import a paper's notes
In Zotero, notes attached to an item are called child notes, while notes placed directly in a collection are standalone notes.
- Open the literature note of the paper whose Zotero notes you want. The literature note is now the active tab.
- Open the command palette and run ZotLit: Import child notes from Zotero. You can also right-click the literature note's file in the file explorer and select the same command. The Import child notes dialog opens, showing how many notes will be imported and listing any notes you have already imported.
- Select Import notes. Each Zotero note becomes a Markdown file in the folder set by Imported note folder (by default,
zotero_notes), which ZotLit creates if it does not yet exist. Each file name ends in a short random suffix so every note keeps its own file. The literature note links to these files whenever its template usesnoteLink; until a note is imported, that link opens the note in Zotero. Creating, updating, or overwriting a literature note never imports or changes these files; only an import or re-import writes them.
You can import both child notes and standalone notes across an entire collection or library.
| Which notes | What to do |
|---|---|
| Every library in your library scope | In Obsidian, run ZotLit: Import all child and standalone notes. |
| One collection (subcollections included) | In Zotero, right-click the collection → ZotLit → Import Child and Standalone Notes. Requires ZotLit Companion. |
| One whole Zotero library | Right-click My Library or a group library → ZotLit → Import Child and Standalone Notes. Covers that library regardless of your library scope. Requires ZotLit Companion. |
The Import notes dialog opens and lists every note found. Review the list, then select Import notes.
A standalone note has no parent literature note, so the dialog lists it under Import without a parent literature note (…) rather than under Import (…). That group shows the profile used to import those notes; you can choose a different profile before confirming.
Imported note files are created once. Editing a note in Zotero later does not update the file in Obsidian. Re-importing replaces the file with the Zotero version, so any edits you made directly in the vault file are lost.
| For | Do this | What you see |
|---|---|---|
| One imported note | Open the file (it has a zotero-note-key property) and run ZotLit: Overwrite imported note. | A confirmation dialog titled Overwrite imported note reads Overwrite this file with the latest content from Zotero. Any local edits will be lost. Select Overwrite. |
| Notes you select in Zotero | Select the notes, right-click → ZotLit → Import Selected Notes (or Import Selected Note for one note). Requires ZotLit Companion. | Selecting two or more notes opens the Import notes dialog with grouped categories (see below). Selecting a single note that is not yet imported imports it immediately; if already imported, a confirmation dialog asks to overwrite the note. Select Overwrite. |
Groups in the Import notes dialog:
| Group | Meaning |
|---|---|
| Import (…) | New notes not yet in the vault |
| Import without a parent literature note (…) | New standalone notes with no parent literature note |
| Overwrite (…) | Notes modified in Zotero since their last import |
| Up to date (…) | Notes unchanged in Zotero; these are skipped |
Review the groups and select Import notes. If you select papers instead of notes in Zotero, the context menu displays Import Child Notes, which runs the per-paper import instead.
- Turn on Use colored highlight syntax under Settings > ZotLit > Imported notes. This setting is off by default.
- Optional: open Highlight mappings to choose how each Zotero colour renders: HTML mark, a circle emoji, or Custom with an emoji of your own.
- Import or re-import the note.
A highlight in the imported note now renders as ==🔵Highlighted text==. If the highlight comes from an annotation, it retains its Zotero link: [==🔵Highlighted text==](zotero://...).
By default, red, orange, yellow, green, blue, and purple map to matching circle emoji; magenta, gray, and plum use HTML marks. Your theme or another plugin must support the emoji to display the colour. Files imported before enabling this setting change only when re-imported. For complete rules, see Colored highlight syntax.
Turn on Render annotations from template under Settings > ZotLit > Imported notes (off by default). Highlight paragraphs in the note then render through your profile's annotation template as the same callouts used in literature notes.
| Replaced on each import or re-import | Left as it is |
|---|---|
| The highlight paragraph: text, comment, colour, and page from Zotero, as well as text you type after the citation mark | A paragraph with your text before the excerpt, or other elements added; a paragraph inside a list, quote, or table cell; note and text annotations |
To prevent your own writing from being overwritten on re-import, keep your remarks in a separate paragraph. For complete details, see Render annotations from template.
If you see something else
- I edited the note in Zotero, but the file in Obsidian did not change — Imported files are created once and do not sync automatically. Open the file in Obsidian and run ZotLit: Overwrite imported note, or select the note in Zotero and click ZotLit → Import Selected Notes.
- A notice Blocked 1 attachment from import. or Blocked 2 attachments from import. with Unapproved source folder: or Unapproved source folders: — The attachment is a Zotero linked file in a folder outside ZotLit's allowed locations. Select Open ZotLit settings, navigate to Settings > ZotLit > Attachments > Approved folders, add the folder if you trust it, and re-import the note. Approving a folder does not alter earlier imports.
- The batch lists a note under Up to date (…), but an annotation in it changed — Batch imports check only the modification timestamp of the Zotero note itself, not individual annotations. Open that note file in Obsidian and run ZotLit: Overwrite imported note.
- A citation in the imported note reads like
-@ABC123?— ZotLit found no citation key for that paper in your Zotero library or in the note. The trailing?lets you search your vault for unresolved citations. When no cited paper in a citation resolves, ZotLit preserves the original text so nothing is lost. - A notice: Use Switch profile… to replace the unavailable profile “…” on imported note “…”. — The profile originally used to import this note has been removed. Select Switch profile… and choose an existing profile.
- An image in the imported note reads Excerpt image unavailable. with a source link — The image could not be generated and the note had no previous image to retain. Other annotations and text in the note still imported. See Import outcomes.
- A notice starting "Excerpt images: …" — This notice appears once per batch or import to report images that were not freshly generated. "Kept from the note and not refreshed" means an existing image in the note was preserved. See Import outcomes.
- An image reads Excerpt image unavailable because attachment import is disabled. — Import attachments is turned off under Settings > ZotLit > Attachments, which prevents ZotLit from writing image files. Turn the setting on, then re-import the note.
- A notice: No library in the library scope is available. — None of the libraries in your library scope are in the Zotero database, so the import dialog cannot open. See Library scope.
- Zotero says the selection is too large, or asks to enable a server — Enable ZotLit's local HTTP server in Obsidian settings, or select fewer notes at a time. See Set up live updates.
- Zotero asks for confirmation each time it opens Obsidian — Follow Suppress the Zotero security prompt to disable the confirmation dialog.
Next
- Keep notes up to date — Refresh literature notes when your Zotero library changes.
- Use the annotation view — Drag highlights and annotations directly into your writing from the sidebar.
- Set up live updates — Configure Zotero to send updates to Obsidian automatically.
Last updated on