Skip to main content
Back to Blog
Privacy#local_first#architecture#data_ownership#privacy#local_files#encrypted_sync

Local-First, Offline-First, and Works Offline Are Different Things

Three phrases that sound alike answer three different questions: where your data lives, who can read it, and what is left if the vendor's server goes away.

By Turbo Ninh· Updated 10 min read

"Works offline" is a feature claim: part of the app keeps running without a network. Offline-first is a way of building apps: edits save on your device and upload later, but the vendor's server usually stays the source of truth. Local-first means the main copy lives on your device, so your data stays usable if that server disappears.

Open a notes app on a plane with no Wi-Fi, and one of three things happens. It opens normally. It opens, shows what it cached, and warns you that edits will upload later. Or it shows a spinner and a polite error. All three apps might say "works offline" on their website, and they would mean very different things.

I built Garnet on the first meaning, so I care about keeping the words straight. Four questions separate the three phrases: where the data lives, who can read it, what happens without a network, and what still opens without the vendor's server.

Works offline

"Works offline" is a feature claim. It says some part of the app keeps running when the connection drops, usually reading what was already loaded and sometimes saving edits for later.

It does not say where the authoritative copy lives. In most apps with this feature, the copy that counts is on the vendor's server, and the app on your device holds a cache. The cache may be partial, it may expire, and it may need an internet connection to sign you in again after an update.

If the vendor's server is gone, a "works offline" app has nothing to sync to, and often nothing to open the cache with. The data may be sitting in an internal database you cannot read without the app.

Offline-first

Offline-first is a way of building an app. The developer treats a missing network as a normal condition, so the app saves changes locally first and uploads them when it can. The idea grew out of web and mobile development, and it is a real improvement over apps that fail the moment a request times out.

The server is still usually the source of truth. Your device holds a working copy, and the app's job is to reconcile that copy with the server. Ink & Switch, the research group behind the term local-first, notes in their essay that bolting offline support onto apps designed around a server is hard in practice (as of October 2026).

Who can read the data depends on the vendor. Whether it is encrypted on your device before upload is a separate property that offline-first does not promise. If the server disappears, you keep the last working copy on your device, but whether you can open or export it depends on the format the app chose.

Local-first

The term comes from "Local-first software: you own your data, in spite of the cloud" by Martin Kleppmann, Adam Wiggins, Peter van Hardenberg, and Mark McGranaghan of Ink & Switch, published in 2019. They describe it as software that keeps working offline and across devices while improving the security, privacy, long-term preservation, and user control of your data. They list seven ideals: speed, multiple devices, offline use, collaboration, longevity, privacy, and ownership.

The practical difference is where the primary copy sits. In a local-first app, it is a file or database on your own device, and the network is optional. A server, if there is one, helps with sharing and syncing between devices. The essay frames the stakes plainly: when a cloud service shuts down, the software stops working and the data goes with it. A local-first app is meant to avoid that outcome.

Local-first does not tell you about encryption. A local-first app can store your data as plain files, and that is a legitimate design with its own tradeoff: anyone with access to the device can read them. It also does not make backups automatic. The copy on your disk is your copy, and keeping a second one is your job.

Side by side

QuestionWorks offlineOffline-firstLocal-first
Where the main copy livesVendor serverUsually the vendor server, with a working copy on your deviceYour device
Who can read itDepends on the vendorDepends on the vendorYou; the vendor only if you send it something readable
No networkPartial, often read-onlyFull editing, uploads laterEverything keeps working
Without the vendor's serverOften a cache you cannot openLast working copy, readable depending on formatThe data is already yours

The last two rows of the local-first column assume a format you can open without the vendor. A format you can open without the vendor is the property worth checking in any app, whichever label it uses. I wrote about it from the exit side in Life Records Shouldn't Depend on the App.

How Garnet is local-first

Garnet is local-first in the sense above. A Space is a folder of plain local files: Markdown for notes, journal entries, people, places, and tasks, JSON Lines files for Collection records, and assets as ordinary files. Copying the folder moves the Space to another device or location, with no export step and no account involved.

Garnet also keeps a SQLite index for search and links, but the index only speeds things up. It can be deleted and rebuilt from the files, and the files are what count. A rebuildable index is the line between local-first and a local cache.

Local-only use does not need a Garnet account, and Garnet does not upload your Space files unless you turn on Sync or share a note by link. Because the files are plain, they are not encrypted on disk by Garnet. Device encryption from your operating system and your own backups are what protect them. The Help Center says the same in Data Locality.

What Sync changes

Garnet Sync is paid and opt-in, and it is the only part of Garnet that stores your Space on a server; a Shared Link uploads only the note you share. When it is on, files are encrypted on your device before upload and decrypted on your device after download. The server stores ciphertext plus wrapped keys, and the raw passphrase and unwrapped keys stay on your devices. How Encryption Works in the Help Center covers the boundary in short form.

Each device keeps its own full local copy. If two devices edit the same item before either sees the other's change, Garnet combines edits to different paragraphs of a note, and when it cannot, it keeps your file and writes the other version beside it as a Conflict Copy for you to review (How Sync Keeps Your Files Safe). If you turn Sync off or your subscription lapses, each device still has its Space and keeps working. You lose the convenience of syncing between them, and you move files between devices by copying the folder. The paid-service pause after the billing grace period is described in Multi-Device Sync.

Garnet is built for one person and does not offer the real-time collaboration that Ink & Switch lists among its ideals. I would rather say that plainly than borrow the whole list.

What to check in any app

A few questions sort most apps into the right bucket.

  1. Can you open your data in another program without exporting it first?
  2. Does the app work fully after a restart with no connection, including opening and searching old entries?
  3. Is anything uploaded when you never turn a sync feature on?
  4. If you stopped using the app tomorrow, what would still open on your machine?

If you want the term itself explained with examples first, start with What Is Local-First Software?. The answers matter more than the label. A product can be local-first with plain files, offline-first with a strong server, or merely offline-tolerant, and each can be the right choice for a given job. For a journal, a record of the people in your life, or financial notes, I want the answer to the fourth question to be everything. For the larger argument about reading architecture rather than policies, see How to Read an App's Privacy Architecture.

Pick one app you rely on and run the four questions against it this week. If you want to see what a Space looks like on disk, download Garnet and open the folder it creates in your file manager.

Frequently asked questions

Does local-first mean my data is encrypted?

No. Local-first describes where the main copy lives, and encryption is a separate property. A local-first app can store plain files, which anyone with access to the device can read. Garnet does this: a local Space is plain files that Garnet does not encrypt on disk, so your operating system's disk encryption protects them. Garnet encrypts only when paid, opt-in Sync is on, before upload.

Is Garnet local-first or offline-first?

Local-first. A Garnet Space is a folder of plain files on your device: Markdown for notes, journal entries, people, places and tasks, JSON Lines for Collection records, and assets as ordinary files. The SQLite index only speeds up search and links and can be rebuilt from the files. Local use needs no account and no network, and nothing is uploaded unless you turn on Sync or share a note by link.

What happens to my Garnet data if Sync stops working?

Each synced device keeps its own full local copy of the Space, so it keeps working if Sync is off or your subscription lapses. You lose the convenience of syncing between devices, and you would move changes by copying the Space folder instead. Sync is the only part of Garnet that stores your Space on a server, and it is paid and opt-in. It copies deletions too, so keep a separate backup.

Does a local-first app back up my data automatically?

No. In a local-first app, the copy on your disk is your copy, and keeping a second one is your job. With Garnet, copying the Space folder is enough to make a backup or move it to another device. Check what your existing backup tools already sweep up, because a cloud backup of that folder is another place your files live.

Sources

Keep reading

What Is Local-First Software?

The term comes from a 2019 essay with seven ideals, and few apps meet all of them. Ask which of the seven a product meets, with notes apps checked in October 2026.

By Turbo NinhRead

Garnet Privacy FAQ

Your Space reaches Garnet only through Sync, a Shared Link or something you send, and the first two encrypt on your device before upload. What Garnet receives from each part, row by row.

By Turbo NinhRead

How to Read an App's Privacy Architecture

A privacy policy states rules; the architecture decides which systems can reach your journal at all. Four levels to place any app on, and three questions to ask it.

By Turbo NinhRead