How to export Dia bookmarks, pinned tabs and history
Dia has no Export command in its menus. Your bookmarks sit in a standard Chromium Bookmarks file on your Mac, so back that file up, then turn it into an HTML bookmarks file with a free script or Snaggy, or let Zen import from Dia directly. Pinned tabs are encrypted, so bookmark them first.
Does Dia have a bookmarks export button?
Not one you can find in the menus. We went through every menu in Dia 1.56 on a Mac: the Dia menu has Import from Another Browser…, and the Bookmarks menu has Bookmark This Page, Manage Bookmarks, Bookmarks Bar and Other Bookmarks. There is no Export item anywhere, and the latest Dia release notes don't mention one either.
One open source exporter puts it plainly: Dia "stores bookmarks in Chromium's JSON format, but it does not currently expose an export button." A SupaSidebar guide says otherwise, that Manage Bookmarks (or dia://bookmarks) opens Chrome's bookmark manager with an Export bookmarks item in its three dot menu. We have not confirmed that, so check it first (method A below), and use one of the other methods if it isn't there.
Pinned tabs are a separate problem. Dia doesn't store them as bookmarks at all, which is why Step 2 exists.
Where does Dia keep your bookmarks and pinned tabs?
Dia is built on Chromium, the engine behind Chrome, and keeps a Chrome style profile folder for each of its profiles:
~/Library/Application Support/Dia/User Data/Default/Bookmarks- Bookmarks (with their folders) are in that
Bookmarksfile. Extra profiles useProfile 1,Profile 2and so on instead ofDefault. A profile that has never had a bookmark may not have the file yet. - History is in the
Historyfile in the same folder, a normal Chromium history database. - Pinned tabs and tab groups are not in the Bookmarks file. Zen's import code notes that Dia keeps them "in an encrypted database" that "cannot be imported". On our Mac they live in
tabs.db, and the file is not readable as a normal database.
So any tool that reads Dia's files gets your bookmarks and history, but not your pinned tabs.
Step 1: Back up Dia's bookmarks file
Do this first, whatever you do next. Quit Dia so the files are fully written, open Terminal and run:
mkdir -p ~/Documents/Dia-backup
cd ~/Library/Application\ Support/Dia/User\ Data
for f in */Bookmarks; do cp "$f" ~/Documents/Dia-backup/"${f%%/*} Bookmarks.json"; doneThat copies the bookmarks of every profile into ~/Documents/Dia-backup, one file per profile. Every method below can read these copies later, even if Dia is gone.
Step 2: Turn your pinned tabs into bookmarks
Because pinned tabs can't be read from outside Dia, the reliable way to keep them is to copy them into Dia's own bookmarks while Dia is open. Then they travel with any bookmarks export.
- Click a pinned tab, then choose Tabs › Add to Bookmarks… (or Tabs › Add Bookmark to Folder to pick a folder).
- For a whole set, select several tabs and right click. Dia's tab menu offers Add Tabs to Bookmarks Folder and Add Tabs to Bookmarks Bar.
- Make one bookmark folder per Pinned Tab Group, so the grouping survives.
Only need a plain list? Select a tab and choose Edit › Copy URL as Markdown, or use Copy All Links as Markdown on a tab group, and paste into a note. That keeps the links but no browser can import it.
Step 3: Export your Dia bookmarks (pick one)
Check Dia's bookmarks manager for an export
- Choose Bookmarks › Manage Bookmarks.
- Look for a three dot menu on that page with Export bookmarks.
- If it is there, save the HTML file. That is the standard format every browser imports.
Best for everyone, if it is there. Reported by SupaSidebar, not confirmed by us or by Dia's own docs.
Import straight into Zen
Zen's 1.24b release added import from Arc and Dia. Under the hood, Zen's Dia importer reuses its Chrome importer, which reads bookmarks, history and saved passwords, and can import all Dia profiles at once. It skips pinned tabs, so do Step 2 first.
Best for moving to Zen. The only method here that also brings your history. Not sure Zen is right? See Zen vs Arc vs Dia.
The free dia-bookmarks-exporter script
dia-bookmarks-exporter is a small open source Node script that reads Dia's Bookmarks file and writes a standard HTML bookmarks file, with folder nesting kept. It needs Node.js and no other packages.
git clone https://github.com/shane-zeng/dia-bookmarks-exporter.git
cd dia-bookmarks-exporter
node bin/dia-bookmarks-exporter.js --list-profiles
node bin/dia-bookmarks-exporter.js --input "$HOME/Library/Application Support/Dia/User Data/Default/Bookmarks" --output ~/Desktop/dia-bookmarks.htmlRun it once per profile, swapping Default for Profile 1 and so on. A Python alternative, dia-export, is a fork of the arc-export script we used in our Arc export guide. Both are one person projects, so skim the code before you run it.
Best for moving to Chrome, Safari or Firefox, if you are fine with Terminal.
Import into Snaggy, which works with every browser
Switching browsers again, or using more than one? Keep your links somewhere that doesn't belong to a browser. That's why we built Snaggy, a Mac menu bar bookmark app.
- Download Snaggy and open it. Setup offers to import from the browsers it finds.
- Pick Dia. Snaggy reads the
Bookmarksfile of every Dia profile on your Mac, with its folders. No Dia account needed. - Pinned tabs come along only if you bookmarked them in Step 2, for the same reason as above.
- Whenever you pick a new browser, export everything as an HTML bookmarks file (or JSON or CSV) and import it there.
After that, ⌘D in Dia, Safari, Chrome, Brave or Orion saves the tab you're on to the same library, sorted into a folder for you. Needs macOS 14 Sonoma or later. One time purchase.
Download Snaggy for MacWhich Dia export method should you use?
| Method | Bookmarks | Folders | Pinned tabs | History | You get |
|---|---|---|---|---|---|
| Manage Bookmarks export | Unconfirmed | Unconfirmed | Only if bookmarked | No | HTML bookmarks file |
| Zen import | Yes | Yes | No | Yes | Everything inside Zen |
| dia-bookmarks-exporter | Yes | Yes | Only if bookmarked | No | HTML bookmarks file |
| Copy as Markdown | No | No | Yes | No | A list of links to paste |
| Snaggy | Yes | Yes | Only if bookmarked | No | Searchable library, plus HTML, JSON or CSV export |
The safest plan uses two: bookmark your pinned tabs (Step 2) and back up the raw file (Step 1), then make one HTML bookmarks file you can open anywhere.
How do you move Dia bookmarks into Safari, Chrome or Zen?
Safari and Chrome both take the HTML bookmarks file from method A, C or D:
- Safari: choose File › Import Browsing Data from File or Folder, click Choose File or Folder, pick the HTML file and click Import (Apple's steps).
- Chrome: open the menu at the top right, then Bookmarks and lists › Import bookmarks and settings, choose the HTML file and click Done (Google's steps).
- Zen: import from Dia directly (method B), or import the HTML file like any Firefox based browser.
Still deciding where to go? Our Arc browser alternatives guide covers Zen, Vivaldi, Orion, Brave and Safari, and most of it applies to leaving Dia too.
What won't carry over from Dia?
- Pinned tabs and Pinned Tab Groups, unless you bookmark them first (Step 2).
- Chats, Skills and anything the assistant made. Bookmark exports carry links only. Copy anything you want to keep.
- History, except through Zen's import. It stays in Dia's
Historyfile, which Step 1 does not copy. - Passwords and extensions. Zen's import brings passwords. For other browsers, export passwords separately and reinstall extensions.
Frequently asked questions
Can you export bookmarks from Dia?
Not from Dia's menus. Dia 1.56 has Import from Another Browser but no Export command. Turn Dia's Bookmarks file into an HTML bookmarks file with a free script or Snaggy, or let Zen import from Dia directly. One guide reports an Export bookmarks option in Dia's bookmarks manager, which we have not confirmed.
Where does Dia store bookmarks on a Mac?
In ~/Library/Application Support/Dia/User Data/Default/Bookmarks for the first profile, and Profile 1, Profile 2 and so on for the others. A profile that has never had a bookmark may not have the file yet.
Can I export my Dia pinned tabs?
Not directly. Dia keeps pinned tabs in an encrypted database, and Zen's importer says they cannot be imported. Add them to Dia's bookmarks first, or copy their links as Markdown.
How do I move Dia bookmarks to Safari or Chrome?
Make an HTML bookmarks file first. In Safari choose File › Import Browsing Data from File or Folder. In Chrome open the menu, then Bookmarks and lists › Import bookmarks and settings, and choose the file. Folders come across as bookmark folders.
Can Zen import from Dia?
Yes. Since version 1.24b, Zen imports from Dia with its Chromium importer, which brings bookmarks, history and passwords. Zen's own code notes that Dia's pinned tabs cannot be imported, so bookmark them in Dia first.
Sources
- Dia release notesThe Browser Company · 1.57, 12 Nov 2026
- ZenProfileMigrators.sys.mjs: Dia importerGitHub · zen-browser/desktop
- Zen 1.24b release notes: import Spaces and Profiles from Arc and DiaGitHub · 29 Oct 2026
- dia-bookmarks-exporterGitHub
- dia-exportGitHub
- Arc browser to DiaSupaSidebar · 1 Nov 2026
- Import data from another browser into Safari on MacApple Support
- Import Chrome bookmarks & settingsGoogle Chrome Help
vs
→