Skip to content
Browse documentation

Docs

Import from Obsidian or Markdown

Bring your existing notes into Hjarni. Upload a ZIP of your Markdown folder. Structure, frontmatter, wiki-links, and attachments come with it.

How to import

  1. Open the folder that contains your Markdown files, select everything inside it, and zip it.
  2. On your Personal page, open the … menu and choose Import, or visit /import/new.
  3. Optionally pick a target folder. If you do, the zip's structure nests under it. If you leave it empty, top-level folders in the zip become top-level folders in Hjarni.
  4. Upload and wait. Progress updates in place. You can close the tab and come back later.

Imports run in the background, so you can close the tab.

The Import Notes page: a box to choose a ZIP file, an optional folder to import into (Top level, inbox), an Import notes button, and the supported formats.
The import page: choose your ZIP and, optionally, a folder.

Export from Obsidian

Obsidian vaults are plain folders of Markdown files, so the export is just a zip of what is inside your vault directory.

macOS

Open your vault folder in Finder, select everything inside it, then right-click and choose Compress.

Windows

Open the vault folder, select everything inside it, then right-click and choose Send to then Compressed (zipped) folder.

Linux

cd my-vault && zip -r ../vault.zip .

Zip what is inside the vault, not the vault folder itself. Otherwise every note lands inside an extra folder named after the vault, and links written from the vault root, like [[Folder/note]], fall back to matching by file name.

You can delete .obsidian/ and .trash/ from the zip if you want a cleaner upload, but the importer skips those anyway.

Import from Evernote

Evernote exports ENEX files, not Markdown, so they need one conversion step first. See Import from Evernote.

What is supported

Folder structure

Each folder in the zip becomes a folder in Hjarni. Nested folders nest. Hjarni reuses folders with matching names.

Wiki-links

Obsidian-style [[Other Note]] links are rewritten to Hjarni's [[id:Title]] format, so they stay clickable and show up in the note's linked-notes section. Links with a display override like [[Other|alias]] still point to the right note, but Hjarni shows the target note's title rather than the alias. Heading anchors like [[Other#Heading]] resolve to the note itself; Hjarni doesn't link to specific headings, so the anchor is dropped. Standard relative Markdown links between notes, like [Other](folder/other.md), are rewritten the same way, so Open Knowledge Format bundles and other plain-Markdown vaults keep their graph.

Attachments

Images and files embedded via ![[file.png]] come across as attachments on their note. The path can start at the vault root, be relative to the note (![[../assets/file.png]]), or be just the file name. Up to 25 MB per file. On the Free plan, attachments share 20 MB across five files, and files past that are skipped. Orphan files that nothing references are skipped too.

Frontmatter

YAML frontmatter with title, tags (as a YAML list), summary (or OKF's description), and source_url (or OKF's resource) is parsed. If there's no title, the filename is used.

Open Knowledge Format

OKF bundles import too, whether they came from Hjarni or another OKF producer. Relative links reconnect, description and resource map to summary and source URL, and the index.md and log.md navigation files are skipped. See Open Knowledge Format.

macOS metadata

The importer skips __MACOSX/ entries, .obsidian/, .trash/, and other dotfiles.

Frontmatter example

Notes with YAML frontmatter come in with their metadata preserved:

---
title: Weekly retro
tags: [team, retro]
summary: Notes from the April 12 retro
source_url: https://example.com/retro
---

This week we shipped the importer.

See [[Roadmap]] and ![[retro-board.png]] for context.

The frontmatter block is stripped from the body. Tags are created if they don't exist. The wiki-link and the embed both resolve against other files in the same zip.

Common questions

FAQ

I'm on the Free plan. What happens if my vault has more notes than I have room for?

Nothing is imported yet. We save your upload and list it on the import page. The Free plan holds 25 personal notes, so your room is that minus the notes you already have. After you upgrade to Pro, press Run next to the saved upload on /import/new to start the import. It never starts on its own, and you can delete it instead.

Can I import the same vault twice?

Yes, but you'll get duplicates. Titles don't have to be unique, so a second run creates a second copy of each note. If you want to replace, delete the previous import's notes first.

Can I pick which folder the import lands in?

Yes. The upload form has an Import into folder dropdown. If you pick one, the zip's hierarchy is built under that folder. Leave it empty to land at the top level.

What if two files share a name in different folders?

Both come in as separate notes. A bare link like [[note]] resolves to whichever was encountered first, matching Obsidian. Include the folder like [[Folder/note]] and it resolves to the right one, as long as you zipped what is inside your vault folder rather than the folder itself.

Are attachment images shown inline?

Imported attachments are attached to their note. On that note's page, images show as thumbnails you can enlarge and other files are listed under Files. The inline ![[...]] embed syntax is removed from the body since Hjarni shows attachments in their own section.

Can I import from something other than Obsidian?

Yes. Any folder of Markdown files works. Bear, iA Writer, Logseq exports, or a folder you assembled by hand all import the same way. Wiki-links are Obsidian-style, but that is optional. Evernote needs one conversion step first, see Import from Evernote.

Related docs

Running into trouble with an import?

Email evert@hjarni.com

Give your AI a memory. Free.

Connect Claude or ChatGPT to notes they can actually read and write.

Get started free

Give your AI a memory. Free.

Your notes on every device

Hjarni has its own native apps. Free on every plan for iPhone, iPad and Mac and Android. Same account, same notes as the web. An internet connection is required.