Privacy Policy
The AI and tool integrations described below are planned and are not available yet.
The short version
- Your note and your drawing live on your devices. Using Nearleaf offline does not send them to us.
- If you use sync, your note and your drawing are encrypted on your device before they are uploaded. Your password unlocks them on a new device, and your signed-in devices keep them. We cannot read your note or your drawing through the sync service.
- Your account is your email address and a password. Your password never leaves your device, and we store only a one-way hash of your email address.
- Planned optional AI access is separate from sync. A cloud AI provider would receive only the readable content you explicitly authorize sharing with it.
- No ads and no trackers. We only count how many devices open the app each day, and how often each page of this website is viewed. The counts hold no ID and nothing that points to you.
- If an app crashes, it sends us a crash report so we can fix it. A report never includes your note or your drawing.
- If you forget your password, you can set a new one with an email code, but the synced copies of your note and your drawing are replaced by the ones on the device you reset from, once it syncs them. A note syncs only with Pro, and a drawing also needs Drawing board turned on. The web app has no drawing, so a reset there leaves the synced drawing empty. The note and the drawing on your other devices stay where they are, and their drawings are added when they sign in again and sync.
- You can delete your account in the app at any time. See Deleting your account.
Who we are
This policy covers the Nearleaf apps for Android, iOS and Mac, the web app, the optional sync service, and this website. When we say "we", we mean Nearleaf. We are responsible for the personal data described in this policy.
What stays on your device
Nearleaf keeps your note in a local database inside the app's private storage, and your drawing in a second database beside it. Using Nearleaf offline does not require an account and does not send your note or your drawing anywhere. The planned optional tool access described below would be a separate choice.
The app stores these things locally:
- Your note, as plain text. We do not add a separate layer of encryption to the on-device copy; it relies on your device's own protection, such as its lock screen and app sandbox.
- Your drawing, as compressed lines: the points of each line, the pen's pressure if your pen gives it, the kind of ink, and a random identifier for each line. Like the note, it has no separate layer of encryption on the device. If you replace a damaged drawing with a new board, the damaged copy stays beside it until another damaged drawing takes its place.
- If you sign in: your email address, your sign-in token, this device's identifier, a copy of the note from the last sync, the revision it came from, and any change still waiting to upload. The drawing keeps its own sync position and its own waiting changes. When a device signs in to an account, the drawing already on it syncs to that account, including lines that came to it from another account.
- Merge highlights: the positions and times of text that was merged from another device, so it can be highlighted until you dismiss it.
- App preferences, such as appearance.
- Your encryption key, if you use sync. See Encryption and your key.
Nearleaf for Android opts out of Android's cloud backup and device-to-device transfer, so none of this is copied into those backups.
Turning off Drawing board in Settings stops that device showing and syncing the drawing, and the app no longer opens it there. It deletes nothing, on the device or on our server, and your other devices keep syncing it.
Clear all empties the drawing. On a device that syncs the drawing, it also deletes the drawing's parts from our server, and it needs a connection to do so. Signed out, or without Pro, it clears only that device, and a copy on our server can come back if sync starts again.
The web app at app.nearleaf.page keeps the same things in your browser's storage, which is not protected: anyone using your browser profile can read them. Clearing the site's data removes them. The web app has no drawing.
What our sync service stores
This applies only if you create an account. The service is a relay: it keeps the encrypted note and drawing and passes changes between your devices. It is designed so that it never needs your note or your drawing in readable form. For your account it stores:
- Your account's name
- A one-way SHA-256 hash of your email address, used to find your account. We do not store the address itself. A hash is not encryption: someone who already knows your address could compute the same hash.
- Your password check
- Your device turns your password into a sign-in value, and we store a keyed hash of that value. Your password itself is never sent to us.
- Your locked note key
- The key that encrypts your note, locked on your device with your password. We cannot unlock it. It also holds a second locked copy of the key that no one can open, left from an earlier design.
- The encrypted note
- The latest encrypted copy of your note, which only your devices can decrypt, with its revision identifiers, the identifier of the device that wrote it, and an ordering number. A new copy replaces the old one; we do not keep earlier copies. Our host can restore its storage to any point in the last 30 days, so an earlier copy can stay in its systems for up to 30 days. We also keep the identifiers and ordering number of each device's latest write, to recognise retries. These hold no note text.
- The encrypted drawing
- If you draw on a synced device: the latest encrypted copy of each part of your drawing, about 32 MB at most. Each part holds lines from one area of the board and is stored with its identifiers, the identifier of the device that wrote it, and an ordering number. A new copy of a part replaces the old one; we do not keep earlier copies, and the same 30-day restore applies as for the note. For each device we also keep the identifiers of its latest write and when it last wrote, to recognise retries and limit how often it writes. These hold no drawing. Clearing the drawing deletes its parts; these records and the drawing's sync state stay until a password reset or until you delete your account.
- Hashes of your note key
- A one-way SHA-256 hash of the second locked copy of your note key (see Your locked note key). It is stored the first time one of your signed-in devices connects to sync the drawing. The app does this in the background while it is open with Drawing board turned on, even if you never open the board or draw, and even before it knows whether you have Pro, so an account without Pro gets one too. It ties the drawing to your current key. When a password reset replaces the key, the old hash is kept, so the service can refuse drawing changes made with the old key. When you delete your account, the hash of your last key is kept too, for every account, even one whose devices never connected to sync the drawing. These hashes hold nothing else. They stay after you delete your account, stored under a name made from the same one-way hash of your email address that named the account. So someone with access to our storage who knows your address could tell that it once had an account, and roughly how many times its password was reset.
- Your devices
- For each signed-in device: a random device identifier, the device's name encrypted with your note key, when it was last used, and a one-way SHA-256 hash of its sign-in token. The account database never stores the token itself, but request logs can (see What we count, and no ads or tracking).
- Email codes
- While a sign-up or password reset is waiting, the 6-digit code we emailed you, when it expires and how many tries are left.
- Nearleaf Pro
- Whether your account has Pro, and when it ends.
While your devices are connected, the service keeps the connection state needed to deliver changes.
Limits on tries. To slow down password guessing and abuse, the service keeps the times of recent sign-in, sign-up and code requests, counted by account and by IP address, and the times your devices recently connected to sync the drawing, counted by a one-way hash of each device's sign-in token. Limits count requests within periods of up to an hour; older records are removed at the next request.
What we can infer. Even without reading your note, a sync service can see that you use Nearleaf, when you make changes, roughly how large they are, and how many devices you have. For the drawing, it can also see how many parts it has and how large they are, which device wrote each part, when each device last wrote, and when the drawing was cleared, but not what you drew or where on the board. We do not use this for anything other than running the service.
The sync service does not store your name, email address, phone number, password or payment details, and the app does not ask for your device's location. Our host's request logs include connection details such as your IP address and country, for up to 7 days. If this changes, we will update this policy before the change takes effect.
Encryption and your key
- When you create an account, your device generates a random 256-bit note key.
- Your note is encrypted on your device with AES-256-GCM before upload and decrypted only on your devices.
- Your drawing is encrypted on your device too, with AES-256-GCM, under a second key that your device derives from your note key with HKDF-SHA-256. Your password protects it in the same way.
- Your device derives two values from your password with PBKDF2-SHA-256: one proves your password when you sign in, and the other locks your note key. Only the locked key is uploaded. When you sign in on another device, it downloads the locked key and unlocks it with your password.
- Connections to the sync service use HTTPS and secure WebSockets. Unencrypted connections are only allowed to your own computer for development.
Where each device keeps the unlocked key while you are signed in:
- Android: in the app's no-backup storage, wrapped by a non-exportable key in the Android Keystore.
- iOS: in the Keychain, marked this-device-only and not synchronised through iCloud Keychain.
- Mac: in a file in the Nearleaf folder of your Application Support directory, readable only by your user account. It is not additionally encrypted at rest.
Planned AI and tool access
We plan to add optional MCP and CLI support so that your existing agent setup can work with selected note content you authorize it to access. Proposed uses through Claude include summaries, extracting tasks or reminders, and drafting short replies. These capabilities are planned, not part of the current app.
Encrypted sync and AI access have different privacy boundaries. The sync relay stores encrypted changes; Claude would not analyze that ciphertext. For a cloud AI task, the selected content would need to be shared in readable form with your chosen AI provider, such as Anthropic for Claude. That sharing would require your explicit authorization, separate from enabling sync.
The chosen provider would be able to read the content you share. Sync encryption would still protect the synced copy, but it would not prevent the provider from reading that separately shared content. Before these integrations are available, we will explain how access is authorized, where content is sent, and how it is processed and retained.
If you forget your password
We cannot unlock the synced copies of your note and your drawing for you. If you reset your password, the old synced copies are replaced.
You can set a new password with a code we email you. Your device then makes a new note key, the old synced note is deleted from our server, and the note on that device becomes the synced note when it syncs, which needs Pro. The old synced drawing is deleted too: at once, or, if our server cannot do it then, the next time one of your devices syncs the drawing, and at the latest when you delete your account. The drawing on the device you reset from becomes the synced drawing when it syncs, which needs Pro and Drawing board turned on. The web app has no drawing, so a reset there leaves the synced drawing empty. Our host's storage backups can keep the old encrypted copies for up to 30 days. Your other devices are signed out, and the note and the drawing on each of them stay where they are. When one of them signs in again with your new password, its drawing is added to the synced drawing, again only with Pro and Drawing board turned on.
Early-access interest list
If you register your interest, we store the email address you submit and the date you registered. We use this list to contact people gradually in small batches about early access and launch updates.
Your email is stored separately from your note in Cloudflare-hosted storage. It is not protected by your note's end-to-end encryption, because we need to read it to contact you. We do not sell the list or use it for advertising.
To leave the list or ask us to delete your registration, email shreyansh@nearleaf.page from the address you registered. We'll remove your email from the active list when we process the request. Hosting-provider backups may retain a copy for a limited period.
Payments
Subscriptions are sold, billed and managed by Google Play or the Apple App Store, under their terms and privacy policies. We never see your payment card or billing details. RevenueCat checks your store purchases for us. RevenueCat sends our sync service your purchase and subscription records so we can check your access. We keep only whether you have Pro and when it ends. RevenueCat knows your account by a random identifier, not by your email address.
What we count, and no ads or tracking
- The apps contain no analytics or advertising libraries.
- Crash reports: the Android, iOS and Mac apps use Sentry to tell us when they crash or freeze. A report holds the kind of error, where in the app's code it happened, the app version, and device details such as the model, operating system, language and free memory. We remove the error's message, because a message could quote your note or describe your drawing. A report holds no note, drawing, account, email address, device name or ID. The web app sends no crash reports.
- App opens: the first time you open the app each day, it tells our sync service four things: the platform (Android, iOS, Mac or web), the app version, the date, and whether it is the first open of the month. It sends no ID, account, device name or note, so we can count how many devices use Nearleaf but we cannot tell them apart. This happens whether or not you have an account. The web app skips it if your browser sends Global Privacy Control.
- Page views: when a page of this website is shown, its stylesheet asks our server for an empty image. We add one to that page's count, with the country our host reports for the request. We don't count browsers that send Global Privacy Control, or visits that look like bots.
- We keep these counts for three months. They never include your IP address.
- We do not sell or share your data for advertising, and we do not build profiles.
- This website, nearleaf.page, sets no cookies and runs no scripts. It loads nothing from other sites, and the pages are served with a security policy that blocks it. The web app at app.nearleaf.page also sets no cookies and runs only its own code, which connects only to its own site and our sync service.
- Our sync service does not log what you send it. Our host keeps a short log of each request to it, so we can find faults: the time, the address and method requested, the response status, connection details such as your IP address and country, and the request's headers, which can include the sign-in token your device uses to open its sync connection. We keep these logs for up to 7 days; Cloudflare stores them for us. They cannot contain your note or your drawing, because the server never has them in readable form.
Our hosting providers still see ordinary network information, such as your IP address, to deliver requests. See the next section.
Service providers
- Cloudflare
- Hosts nearleaf.page and the interest list, and runs the sync service on Cloudflare Workers and Durable Objects. It stores registration emails separately from the encrypted sync data described above and, like any network provider, processes connection data such as IP addresses to deliver traffic. It also keeps the request logs and the counts described above. Data may be handled in data centres outside your country. See Cloudflare's own privacy policy.
- Resend
- Sends our emails: your sign-up and password reset codes, and the notice when your password changes. It receives your email address and the message.
- RevenueCat
- Checks your App Store or Google Play subscription and tells us whether it is active. It receives your store purchase records, your account's random identifier, and basic app and device details from its library in the app, such as the app version and platform, and the connection details of those requests, such as your IP address.
- Sentry
- Stores crash reports for us. Reports reach it through a server we run, which passes on the report but not your IP address. Data may be handled in data centres outside your country.
- Google and Apple
- Provide app distribution, payments and subscription management. If you opt in through your device settings, they may give us aggregate download or crash statistics.
If we add another provider that handles personal data, we will list it here before using it.
Retention
- On your device: data stays until you delete the app or its data. On a Mac, deleting the app leaves your note, your drawing and saved sign-in data in ~/Library/Application Support/Nearleaf; delete that folder to remove them. App preferences, such as appearance, are kept separately by macOS and stay after you delete that folder.
- Your account, encrypted note and encrypted drawing: kept until you delete your account. Only the latest encrypted copy of your note, and of each part of your drawing, is kept.
- Devices: a device that is not used for 90 days is signed out. Its sign-in record is removed the next time your devices are listed.
- Email codes: a code stops working 15 minutes after we send it. It stays stored until it is used, replaced by a new code, or your account is deleted.
- Limits on tries: counted over periods of up to an hour, and removed at the next request after that.
- Hashes of your note key: kept, also after you delete your account (see What our sync service stores).
- Request logs: up to 7 days.
- Crash reports: up to 30 days.
- After a subscription ends: sync stops and your note and drawing stay on your devices. The encrypted copies stay on our server, so sync picks up again if you subscribe again, until you delete your account.
Deleting your account
In the app: open Settings, then Account & sync, then Delete account, and enter your password. This deletes your account from our server straight away: your account's name, password check, locked note key, encrypted note, encrypted drawing, devices, email codes and Pro status. Every device is signed out. The note and the drawing on each device stay where they are. The hashes of your note key stay, under a name made from the hash of your email address (see What our sync service stores).
Without the app: email shreyansh@nearleaf.page from your account's email address and ask us to delete your account. We will delete the same data within 30 days.
Either way, we also ask RevenueCat to delete its record of your subscription status. Deleting your account does not cancel a subscription. Cancel it in your Google Play or App Store account settings first. While a subscription is still active, Google Play or the App Store can keep telling RevenueCat about it, under the same random identifier, but we no longer store anything about it. Request logs are removed within 7 days, and our host's storage backups within 30 days. Data held by our other providers is removed on their schedules.
Your rights
Depending on where you live, you may have the right to access, correct, delete or export personal data we hold about you, to object to or restrict how it is used, and to complain to your local data protection authority. Contact us to use these rights. We will respond as far as we can identify data as yours. Note that the sync service cannot read your note or your drawing, so requests concerning synced content can only provide or delete its encrypted form.
Children
Nearleaf is not directed at children under 13 (or under 16 where local law sets a higher age). We do not knowingly collect personal data from children. If you believe a child has used the sync service, contact us and we will delete the data.
Changes to this policy
We may update this policy as the product changes. We will make material changes visible on this page and, where the app can, in the app, before they take effect.
Contact
Questions about privacy or this policy: shreyansh@nearleaf.page. See also our Terms of Service.