# Import Day One to Apple Journal: How Claude Code Moved 728 Entries

Apple Journal has no import. How Claude Code moved 728 Day One entries with places and photos, the keystrokes that hit the wrong app, and a checklist.

By Gabe Pérez. Published 2026-12-05.
Original: https://gabezen.com/blog/import-day-one-to-apple-journal/

You can't import Day One into Apple Journal directly: Journal has no import, and on my Mac the Shortcuts route never showed up. So Claude Code moved 728 of my 733 Day One entries by writing into Journal's own database, in one session. All 728 passed a final check against Day One's data, and between them they carried 707 places, 693 weather lines and 62 photo and video files. If you're moving too, [the checklist below](https://gabezen.com/blog/import-day-one-to-apple-journal/#moving-off-day-one-a-checklist) starts with the safer route, and a cleaned-up version of the tools that did the move is on GitHub as [apple-journal-import](https://github.com/gabrieljoel/apple-journal-import).

I was paying for Day One and wanted to stop. Before the database route I asked Claude "are you sure there is no other way?", and then told it "yes, reverse engineer it." When it kept handing me steps to do by hand, I sent them back: "write them yourselfve", "check it yousrelf", "try again..." (typos mine). What follows is how an agent finished a job with no supported path and what broke on the way. It also says why I wouldn't hand the database part to a teammate who doesn't write code.

Disclosure: I sell Claude setups to small teams ([Claude Setup](https://gabezen.com/pricing/)), so I'm partial to stories where Claude finishes the job. This one was my own journal, not a client's.

*Chart: Shortcuts never started on my Mac, the keystrokes hit the wrong window, and writing through Apple's own data model worked. From the session's own record, written the same day.*

| Route | What happened | Outcome |
|---|---|---|
| Inputs | Day One's MCP server gave text, dates, places and weather (photos as md5 only); Apple Photos had 38 of the 62 files as originals | Read by Claude |
| 1. Shortcuts | Signed `.shortcut` file refused; Journal's Create Entry action never appeared on my Mac | Stopped |
| 2. GUI scripting | First keystrokes went into another Claude Code session; a frontmost-app check was added before every keystroke | Wrong window |
| 3. Core Data writes | Apple's own model, one test entry first; Journal synced it to iCloud by itself, then 8 batches of up to 100 | Worked |


## The Shortcut route, and why it died on my Mac

Journal has no URL scheme, but it does work with Shortcuts, as [Drafts' own tip](https://forums.getdrafts.com/t/tip-creating-entries-in-apple-journal/16354) puts it. Its Create Entry action can put an entry on a past date: the tip posts each draft "on the original creation date of the draft." Apple documents a [journal create-entry schema](https://developer.apple.com/documentation/appintents/appschema/journalintent/createentry) with a date, a location and media. That page describes what apps can conform to, though, not Journal's own action.

That's the route other people took. [Felix Wong](https://felixwong.com/2026/08/how-i-imported-day-one-into-apple-journal/) had AI split his Day One JSON export into one file per entry (date, title and text). His small Shortcut fed them to Journal: nearly 500 entries, on an iPad, in about an hour.

[James Troutman](https://namelyjt.com/2026/11/09/journaling/) parsed a plain text export with a shell script instead and moved 4,925 entries on his Macs. When Journal started to choke at about 750, his fix was to run a hundred at a time and quit Journal between batches. Both added their few photos by hand. One Shortcuts user on the [MacPowerUsers forum](https://talk.macpowerusers.com/t/using-the-new-shortcuts-in-os27-to-move-dayone-to-apple-journal/45794) found the location field won't take a variable, only a place you pick. In practice, Shortcuts carries the date, the title and the text.

On my Mac (macOS 27.2) it never got started. Claude generated a signed `.shortcut` file, and Shortcuts refused it as holding features this device doesn't support. Building it by hand, the first Create Entry action that came up was Day One's own, with the same name. Journal's never appeared in the action list, even after re-registering the app and restarting the indexing service. Day One's staff have [confirmed a clash between the two same-named actions](https://forums.dayoneapp.com/forums/topic/unknown-actions-for-day-one-shortcuts-on-macos/) when shortcuts sync between iOS 26 and the Mac. Their thread doesn't show Journal's action going missing, so linking it to my case is my own reading.

If Journal's action does show up on your device, use Felix Wong's route. It runs on parts Apple ships, and it's what I'd try first.

## How to export Day One entries, and the Day One MCP server

Day One gives you two ways to get your entries out:

- **The JSON export.** On a Mac, File > Export, then JSON. The zip holds a `.json` file with every entry you picked and, if you ask for it, the media in photos, videos, audios and pdfs folders ([Day One's export guide](https://dayoneapp.com/guides/tips-and-tutorials/exporting-entries/)). Ask for it: the Markdown export carries no photos and no references to them. Every plan can export, the free one included, so cancelling doesn't trap your entries.
- **The Day One MCP server.** Day One for Mac ships an MCP server that an agent like Claude Code can call, as part of Day One Labs. It needs Silver or Gold on app version 2026.17 or later ([Day One's MCP guide](https://dayoneapp.com/guides/day-one-for-mac/day-one-mcp-server/)). It runs on your Mac, and it won't start if you have password lock on. Get Entries returns 10 entries per call by default and 50 at most.

One step the guide does give is easy to miss: mine returned nothing until each journal was enabled under Preferences, Labs, MCP Access Control. And one thing the guide won't prepare you for: it gave text, dates, places and weather, but only an md5 for each photo, not the file. Good for the words. The pictures have to come from somewhere else.

## The keystrokes that landed in the wrong window

The next try was GUI scripting: AppleScript typing into Journal the way a person would, which needs Accessibility permission. On the first run Journal never came to the front. The keystrokes went into a different Claude Code session in my terminal, which received "PRUEBA UNO" as a message. A test string in the wrong chat is funny. The same keystrokes in an open email wouldn't be.

After that, Claude checked that Journal was the frontmost app before every keystroke, and the check stopped runs several times when the terminal took focus back. It's one more for my list of [small ways tools have lied to me](https://gabezen.com/blog/small-ways-tools-lied/): a tool doing exactly what it was told, in the wrong place.

Accessibility lets a program drive every app on the Mac, so I granted it to my terminal for the session only. What else Claude Code can reach, and which permission mode to use, is in [is Claude Code safe](https://gabezen.com/blog/is-claude-code-safe/).

## Reading Apple Journal's database

With Full Disk Access, Claude found Journal's store at `~/Library/Group Containers/group.com.apple.moments/Library/moments.sqlite`. It's a Core Data store. Apple ships its model readable inside `JournalShared.framework` (`moments.momd`, version `JournalData_27`). Two sample entries typed into Journal showed the rest. Title and text are RTF, and a field called `mergeableAttributes` holds a CRDT (the structure that merges edits made on several devices). Sync state lives in an `isUploadedToCloud` flag and CloudKit fields.

Writing rows into a store like that by hand is how you break it. Claude wrote a small Swift program that loaded Apple's own model and wrote entries through Core Data with persistent history on. To Journal, the writes look like any other process's change. The program left the CRDT empty. On the first test entry, Journal opened it, rewrote the RTF in its own form and uploaded it to iCloud on its own. That was the moment the job became possible.

Then the import. Before each batch, the script quit Journal and copied the database. 727 entries went in, in 8 batches of up to 100, each waiting until Journal had uploaded the whole batch. Each entry kept its Day One ID, so a re-run skips what's already there.

Backing up first is a standing rule in our company for tearing anything down: [back up first, and prove the backup restores](https://gabezen.com/blog/write-down-the-rulings/). It came from a client teardown where a backup nearly shipped incomplete, caught only because someone audited it before deleting anything. Writing into Journal's database got the same habit.

## Photos, places and weather

I told Claude "those day one pictures are pretty much all on apple pictures." The counts say most, not all. 37 photos and the one video came from my Apple Photos library as originals, matched to Day One by capture time (within 2 seconds) and pixel size. 24 photos, mostly screenshots, were in neither Photos nor anywhere on the disk, so they went in as Day One's 500 px thumbnails. One PDF stayed behind, because Journal has no PDF attachments.

An entry made in Journal with a pasted photo and a picked place showed the format for the rest. A photo is an asset with a file in Journal's attachments folder. A place is a `multiPinMap` asset holding the place's name, city and coordinates. Journal has no weather field, so weather went in as the last line of the text.

One bug on the way: the asset JSON was written with a leading `0x01` byte copied from the database dump. That byte turned out to be Core Data's own inline-storage marker, so it was doubled until fixed.

## Apple Journal's database format, for the next person

This is what the store looked like on macOS 27.2 with model `JournalData_27`, taken from the programs that did the move and the store's own schema. Apple doesn't document any of it, so check every name against your own Mac before you write anything. The [repo's FORMAT.md](https://github.com/gabrieljoel/apple-journal-import/blob/master/FORMAT.md) has the full attribute lists, and its `journal-inspect` prints the model your Mac ships.

**Where things live.** The store is `~/Library/Group Containers/group.com.apple.moments/Library/moments.sqlite` (with its `-wal` and `-shm` files), and attachments sit next to it under `Library/Attachments/`. Reading either needs Full Disk Access for your terminal. The model is in `/System/Library/PrivateFrameworks/JournalShared.framework/Versions/A/Resources/moments.momd`, which holds `JournalData_22`, `23` and `27` and a `moments.mom`. The programs `dlopen` the framework before loading the model, then open it with `NSManagedObjectModel(contentsOf:)`.

**Entities.** Four matter. `JournalMO` is a journal. `JournalEntryMO` is an entry and belongs to journals through `journals`. `JournalEntryAssetMO` is anything attached to an entry (a photo, a video, a map). `JournalEntryAssetFileAttachmentMO` points an asset at its file. In SQLite they're the usual Core Data tables (`ZJOURNALENTRYMO` and so on), which are fine to read and wrong to write.

**An entry.** These are the fields the import set on each `JournalEntryMO`:

| Field | Value |
|---|---|
| `id` | a UUID (the import reused Day One's entry ID, so a re-run can skip what's there) |
| `entryDate`, `createdDate`, `momentDateForSorting` | the entry's date |
| `updatedDate` | now |
| `title`, `text` | RTF data from an `NSAttributedString`; Journal rewrites it in its own form when it opens the entry |
| `textLength` | the text's length |
| `entryType` | `"blankEntry"` |
| `isDraft`, `isUploadedToCloud`, `isFullyRemoved`, `isRemovedFromCloud` | `false` |
| `showTitle` | `true` |
| `minimumSupportedAppVersion`, `minimumSupportedAppVersionMode` | `0` |
| `mergeableAttributes` | left empty |

`mergeableAttributes` is the CRDT: the bytes `crdt`, a 4-byte little-endian version (7 here), then protobuf with an ID per character. Journal didn't need it to show or sync an imported entry (editing one on another device is untested, below).

**Assets.** Each `JournalEntryAssetMO` has an `id`, an `assetType` (`photo`, `video` and `multiPinMap` here; the store also holds Journal's own `streakEvent`), a `source` (`external` for a file, `locationPicker` for a place), `isSlim` (`true` for the map) and its data as JSON in `assetMetaData`. On disk that JSON starts with a `0x01` byte, Core Data's own marker for data stored inline. Write plain JSON through Core Data and let it add the byte; copy the byte from a dump and you get the doubled marker above.

A photo's `assetMetaData` (the date and size are example values):

```json
{"date": 694224000, "size": [4032, 3024], "displayAtFullAspectRatio": false,
 "squareCropRect": "{{0, 0}, {0, 0}}", "landscapeCropRect": "{{0, 0}, {0, 0}}", "portraitCropRect": "{{0, 0}, {0, 0}}"}
```

`date` is seconds since 2001-01-01 (Apple's reference date), and the import left the crop rects empty. The file goes in a `JournalEntryAssetFileAttachmentMO` with `filePath` set to `<entry id>/<asset id>/<file id>.<ext>` under `Attachments/`, `name` set to `image` or `video`, `index` 0 and `needsProcessing` true.

A place is a `multiPinMap` asset whose JSON holds a `visitsData` array. Each visit has `placeName`, `city`, `latitude`, `longitude`, `horizontalAccuracy`, `confidenceLevel`, `isWork`, `assetSource` (`"locationPicker"`), `createdDate`, and `mapItemData`: a base64 `NSKeyedArchiver` archive of an `MKMapItem` built from the coordinates and the address.

The entry lists its assets in `assetOrdering`, as JSON alternating each asset's UUID string and its position: `["<map id>", 0, "<photo id>", 1]`.

**Sync.** Open the store with persistent history tracking and remote change notifications on (`NSPersistentHistoryTrackingKey`, `NSPersistentStoreRemoteChangeNotificationPostOptionKey`), with Journal quit. Leave `isUploadedToCloud` false. When Journal next opens, it uploads the record, sets the flag to true and fills `recordSystemFields` with CloudKit's data. This query shows what's still waiting, and the import's batch script polled it until it hit zero:

```sql
SELECT count(*) FROM ZJOURNALENTRYMO WHERE ZISDRAFT = 0 AND ZISUPLOADEDTOCLOUD = 0;
```

**Deleting.** Journal's own delete sets `deletedOnDate`. Set it with `updatedDate`, put `isUploadedToCloud` back to false, and the entry moves to Recently Deleted.

## Checking all 728 entries

The final audit checked every one of the 728 entries: the date to the second, title, text, place, photo count, iCloud upload state and trash state. 728 of 728 passed, and all 62 files opened.

It also caught a miss. An entry with 2 photos and no text had been skipped as empty by the first filter. It went in with its photos, place and weather, and the audit ran again. The 5 entries left out were left out on purpose: 3 Day One welcome guides and 2 entries with no text and no photos.

Checking entry by entry is what finds that kind of miss, because a total can match while the wrong things are in it. A [9to5Mac reader](https://9to5mac.com/2026/05/12/day-one-now-makes-it-easier-to-apple-journal-users-to-upgrade/) who used a shortcut from Reddit was left sorting through duplicates and missing entries.

*Chart: Nearly every entry made it with its place and weather, and the audit passed all 728; the photos are where the move fell short, with 24 of 62 files only as thumbnails. From the session's own record, written the same day.*

| What | Count |
|---|---|
| Entries in Day One | 733 |
| Moved to Journal | 728 (5 left out: 3 welcome guides, 2 with no text and no photos) |
| Passed the final audit | 728 of 728 |
| With a place | 707 |
| With a weather line | 693 |
| Photo and video files | 62 (61 photos, 1 video) |
| From Apple Photos, as originals | 38 (37 photos, 1 video) |
| Day One's 500 px thumbnails | 24 |


## What this doesn't prove

- **Apple doesn't support any of it.** Journal's format is private and has had four model versions (22, 23, 27 and `moments`), and a macOS update can change it. If you try this, read the model on the Mac you have now, never from someone's notes.
- **I didn't check the iPhone in that session.** The Mac showed every entry and iCloud reported every record uploaded. Open your phone before you trust it.
- **Imported entries have an empty CRDT field.** Journal shows and syncs them anyway, but editing one on another device wasn't tested. Edit one imported entry on your phone and see that the change sticks.

## Moving off Day One: a checklist

1. **Export Day One to JSON, with media, first.** Keep the zip somewhere other than the Mac you're about to experiment on.
2. **Try the Shortcut route.** If Journal's Create Entry action shows up in Shortcuts on your device, follow [Felix Wong's post](https://felixwong.com/2026/08/how-i-imported-day-one-into-apple-journal/). Test a few entries, then go about 100 at a time with Journal closed, and add photos by hand.
3. **If you go further, back up before every write.** Quit Journal and copy the folder that holds `moments.sqlite`. Journal's own Export Journal, in its ••• menu, gives you a second copy.
4. **Grant Accessibility and Full Disk Access for the session only**, and take them back in System Settings when it's done.
5. **Write one test entry and watch it sync** before any batch.
6. **Go in batches**, each one waiting until Journal has uploaded it, and keep the Day One ID on every entry so a re-run skips what's there.
7. **Check entries one by one against the export**: date, title, text, place, photo count. Not only the total.
8. **Open Journal on your iPhone after iCloud syncs**, and scroll back to your oldest entries.
9. **Cancel Day One only after that.** If you cancel, you keep access to your journal on the free plan, within its limits.

If you hand the database route to Claude Code, put those rules in your first message. Tell it to read Journal's model from `JournalShared.framework` on your Mac and to write through Core Data, never raw rows. Then ask for one test entry first, a copy of the store before each batch, and an audit of every entry against the export at the end.

## Day One vs Apple Journal: what the move saves

The move saves the subscription. Day One's paid plans list at $49.99 a year for Silver and $74.99 a year for Gold, and there's no monthly plan ([Day One's plans](https://dayoneapp.com/plans/), [pricing guide](https://dayoneapp.com/guides/premium-subscription/day-one-pricing-features-guide/)). Your renewal may differ: Day One [mentions legacy and promotional prices](https://dayoneapp.com/guides/premium-subscription/day-one-premium-faq/).

What you give up: PDF attachments, a weather field (mine is a line of text now) and Gold's AI features. You aren't locked in, though. Journal exports your entries and media as a ZIP or folder, and Day One has its own [Apple Journal importer](https://dayoneapp.com/guides/tips-and-tutorials/importing-from-apple-journal/) that reads text, titles, dates, photos, videos and locations. The road back is easier than the road there.

I cancelled Day One the same day, and I hadn't checked the iPhone in that session. Do it in the other order.

## What changed: a missing import button keeps fewer people in

No technique in this session was new. Apple ships Journal's Core Data model readable inside the framework. Decoding protobuf and matching photos by capture time and pixel size are each a short program. Someone who already knew all of it could have done this move in a weekend, I'd guess. Almost nobody would have bothered, to save a journal subscription.

What changed is who does the work. I didn't read `moments.momd`, decode `mergeableAttributes` or write the Swift. I said "yes, reverse engineer it", sent back the steps Claude tried to hand me, and read the audit at the end. By that guess, leaving a closed app took a specialist's weekend. Mine took one session of supervision.

That moves the math on the vendor's side too. Leaving out an import has always been a quiet way to keep people: the data is yours on paper and stuck in practice. Day One ships an importer from Apple Journal, and Journal ships none in return. When anyone with a terminal and an agent can read the store off their own disk, that missing button keeps fewer people in. The format is still private and still changes between versions, and the next model version may break every step above.

The supervising still matters. An agent that goes further when told to needs someone at the keyboard who knows what Full Disk Access hands over and when to say stop. The four habits that made this safe (read the model off the disk, test one entry, back up before every batch, check every record) are what I'd ask of anyone, person or agent, who touches data with no supported path. That's why this isn't a job for a non-technical teammate. The same shape shows up at work all the time: your records sit in one vendor's app, and the app you want has no import. As I wrote about [who should run Claude Code](https://gabezen.com/blog/claude-code-for-non-developers/), building the guardrails around it "is a different job, and I wouldn't hand it to someone in their first month with the tool."

For personal and admin work that fits Claude Code better, see [Claude Code as a chief of staff](https://gabezen.com/blog/claude-code-chief-of-staff/). For where a job like this sits among the rest, [Claude Code use cases for business](https://gabezen.com/blog/claude-code-use-cases-for-business/).

If your firm has work stuck between two tools, like records copied from one app into another every week, name it on [the find page](https://gabezen.com/hand-off-one-job/find/) for Hand Off One Job and send what you have. Within 3 working days I'll send back the work done, free, plus a setup that does the next one.

How I checked: the numbers come from the session's own record, written the same day from its command output. I read Day One's export, MCP, pricing and import guides, its plans page, Apple's create-entry documentation, Felix Wong's and James Troutman's posts, and the Day One, Drafts and MacPowerUsers threads on December 5, 2026.

Sources for the facts on this page, checked December 5, 2026: [Day One plans](https://dayoneapp.com/plans/).

---

More posts: https://gabezen.com/blog/
The whole site in one file: https://gabezen.com/llms.txt
