Graphite

Privacy Policy

Effective 22 October 2026

The short version: your documents stay on your device, in a folder you choose, or in your own Google Drive. AROICE never receives them. You don’t need an account to write. If you create a free Graphite account, we keep your email address, your trial, your sign-in and security settings, the name, photo and contact email you choose to add, and, if you choose to share it, which features you use each day. Never your writing, its names or your searches, and no IP addresses or passwords. Graphite has no ads and sets no cookies. If you buy Graphite Pro, Lemon Squeezy handles the payment, and Pro is kept with your account.

This policy explains what information Graphite (“Graphite”, “the app”), made by AROICE (“we”, “us”), handles when you use the app at write.aroice.in, buy Graphite Pro, or visit this website at graphite.aroice.in.

1. Your writing

Graphite runs in your browser, on your device. Depending on the library you choose, your documents are stored:

  • In this browser, in the browser’s own storage (IndexedDB). They stay on that device and are removed if you clear the site’s data.
  • In a folder on your computer, through your browser’s file access permission. Graphite reads and writes only the folder you select.
  • In your Google Drive, if you connect it (see section 3).

In every case, AROICE does not receive, store or have access to your documents. Search, word counts, Style Check, Syntax Highlight, streaks, previews and exports all run on your device.

2. Other data kept on your device

To work well and protect your writing, Graphite keeps the following in your browser’s storage. It stays on your device and is never sent to us:

  • Your settings, such as theme, typeface, writing goal, shortcuts and the library you used last, and a random device ID used to keep each device’s writing history apart when you sync with Google Drive.
  • Your writing history for daily goals, streaks and sprints.
  • Version History: earlier versions of each document, up to 40 per document.
  • Recently Deleted documents, for 30 days.
  • A short-lived recovery copy of text that hasn’t been saved yet, so nothing is lost if a save fails or the browser crashes.
  • If you have a Graphite account, your sign-in session token and a copy of your account details and Pro status, so Settings can show them and Pro works offline.

You can remove all of it by clearing Graphite’s site data in your browser.

3. Google Drive and Google user data

Connecting Google Drive is optional. If you choose to, Graphite asks Google for these permissions:

  • https://www.googleapis.com/auth/drive.file: lets Graphite create, open and save the files it creates. Graphite cannot see or open any other file in your Drive. Graphite asks for it only when you choose to sync with Google Drive, and you can leave it unticked on Google’s screen.
  • openid, email and profile: let Graphite sign you in to your Graphite account and show which Google account is connected.

Signing in with Google. When you continue with Google, Graphite’s server checks your Google sign-in once with Google, to confirm who you are and that Google has verified your email address, and never keeps the sign-in token. We keep your email address and Google’s ID for your account, as described in section 4. If you’re new, we copy your Google name and photo to your account once; you can change or remove them any time. Your Drive files never reach our server.

How we use this data. Graphite uses Drive access only to sync your writing: to save your documents as Markdown (.md) files in a folder named “Graphite” in your Drive, to list, open, rename and delete those files when you ask, and to keep the two sync files described below. Your email address is shown in the app so you know which account you’re writing in, and is remembered on your device so Graphite can offer to reconnect.

How it is stored. All requests go directly from your browser to Google. The access token Google issues is kept in memory and in that browser tab’s session storage, so a reload keeps syncing. It ends when the tab is closed or after about an hour, whichever comes first. Apart from the one sign-in check described above, it is never sent to us, and we never use it to reach your Drive. So you can keep writing offline, a copy of your Graphite documents is kept in your browser’s storage and synced with Drive.

Sync files. So your writing streak, settings and favourites follow you between devices, Graphite also keeps two small files in the same “Graphite” folder of your Drive:

  • .graphite-history.json: daily word counts and writing sprints, in one section per device. Each device is identified by a random ID and a label such as “Chrome on macOS”. It holds no names and no document text.
  • .graphite-settings.json: your app preferences, such as theme, typeface, writing tools, daily goal and keyboard shortcuts, the authors you’ve set up for Authorship, and the list of favourite documents. Screen-layout settings stay on each device.

Like your documents, these files are read and written only by Graphite in your browser. AROICE never receives them.

Signing out. Choosing Sign Out of Google revokes the token with Google, deletes the remembered email address, and removes this device’s local copy of your Drive documents once everything has synced. If some changes haven’t reached Drive yet, those are kept on the device and upload the next time you sign in. Your files in Drive, including the sync files, stay in your Drive.

Sharing. We do not share, transfer, sell or disclose Google user data to anyone. Your Drive files, Drive access tokens and the sync files never reach us, and no one at AROICE can read them. The only Google user data that reaches our server is the email address and Google account ID of a Graphite account you create with Google, used only for that account.

AI and machine learning. Graphite does not use Google user data to develop, improve or train generalized or non-personalized AI or machine learning models.

Limited Use. Graphite’s use and transfer to any other app of information received from Google APIs will adhere to the Google API Services User Data Policy, including the Limited Use requirements.

Revoking access. You can sign out of Google in Graphite at any time, and revoke Graphite’s access from your Google Account’s third-party connections page. Files Graphite created stay in your Drive until you delete them. Google’s handling of your data is covered by the Google Privacy Policy.

4. Your Graphite account (optional)

You never need an account to write. If you sign up, with Google or with a 6-digit code sent to your email, Graphite’s server at write.aroice.in/api keeps:

  • Your account: your email address and whether it’s verified; a simplified form of it, used only so each person gets the free trial once (lower case, without +tags, and for Gmail without dots); how you signed in (Google or email code) and, if you use Google, Google’s ID for your account, a stable number that lets us recognise the same Google account next time, with no Google tokens (if you unlink Google, we keep that ID only so it isn’t linked again automatically); when you signed up, when your trial started and when you were last active; and your choices about usage data and news email. No password.
  • Your profile, if you add one: a display name of up to 60 characters, and a photo. The photo is resized to 256 pixels in your browser before it’s sent, which also removes any hidden details such as location. It’s stored as a small image of at most 64 KB and shown only to you. If you sign up with Google, your Google picture is copied once, at sign-up; we don’t keep linking to Google.
  • A contact email, if you add one: a second address for account emails, saved only after you confirm it with a code.
  • Signed-in devices: for each sign-in, a random session token, when it was created and expires, and a simple device label such as “Chrome on macOS”, picked from a fixed list. No IP address and no browser details beyond that label. Sessions last 14 days and are extended while you use Graphite. On your device the token is kept in the browser’s storage, not in a cookie.
  • Two-step sign-in, if you turn it on: the key your authenticator app uses, encrypted; a note of the last code used, so a code can’t be used twice; your backup codes, stored only as keyed hashes (we show the codes to you once and can’t see them again); and a count of wrong codes, used to pause two-step sign-in after five wrong tries.
  • Passkeys, if you add them: for each passkey, its ID, its public key, a signature counter (used to spot copies), whether it syncs between your devices, the name you give it and when it was added and last used. Your fingerprint, face or device PIN never leaves your device. While you sign in we also keep a short note that each one-time challenge has been used, for 5 minutes, so it can’t be used twice.
  • Codes we email you: sign-in codes, and codes that confirm a new sign-in email or a contact email. Each is stored as a keyed hash, works once, allows five tries and expires after 10 minutes. The address waiting to be confirmed is kept only until then. For one hour we also note when codes were sent, to each address and from each account, so we can send no more than three an hour.
  • Recent security activity: sign-ins, email changes, two-step changes, new backup codes, Google linked or unlinked, passkeys added, renamed or removed, devices signed out, and recovery requests, each with the time, and the sign-in method and device label where they apply. Never an address or IP address. You see it in Settings › Account.
  • A recovery request, if you make one: if you lose your authenticator app and your backup codes, you can ask for two-step sign-in to be turned off. We keep when you asked and when the 7-day wait ends. Any use of your account with two-step sign-in cancels it.
  • A one-way trial marker: when your trial starts, we store a keyed hash of your simplified email address and the time. It can’t be turned back into your address. We keep it even after you delete your account, only so the same person can’t start a second free trial, until one month after the launch offer ends (14 December 2026). Then every marker is deleted.
  • Usage data, if you share it: when you sign up, Graphite asks whether to share usage data. In the EU, EEA, UK and Switzerland the box starts unticked, and nothing is shared unless you tick it. Elsewhere it starts ticked, and you can untick it. Graphite judges your region from your browser’s time zone, without looking up your location. If you share, the app sends, for each day you use Graphite, the app version, your browser and platform family (for example Safari and iOS), the kind of library you use (browser, folder or Google Drive), and which features you used, from a fixed list such as “exported a PDF”, “turned on Focus” or “used a Pro theme”. The app sends it at most once a day per account.
  • Where you first came from: when you first open Graphite from a tagged link (?ref=) or from another site, the app keeps one channel name from a short fixed list, such as “hn”, “reddit”, “producthunt” or “direct”, in your browser (not in the EU, EEA, UK and Switzerland). It never keeps the link, the address or the page you came from, and the tag is removed from the address bar at once. If you share usage data, that name is sent once with it, along with a note that you saved a document for the first time (never which one or what it says). When you buy Pro, the same name may go with the checkout to Lemon Squeezy, so we can tell which places lead to purchases. Turning off usage sharing deletes it with the rest.

Emails we send: from Graphite <graphite@aroice.in> (replies come back to the same address), through Resend. They contain no tracking pixels or tracked links; the Graphite logo in them loads from write.aroice.in, like any image on a web page. We send the codes above, and security emails when something important changes: your sign-in email (also to the old address), two-step turned on or off, new backup codes, Google linked or unlinked, a passkey added or removed, a passkey refused as a possible copy, other devices or every device signed out, two-step paused after wrong codes, a recovery requested, cancelled or completed, and your account deleted. If you buy Pro, we also email you when Pro is ready, when a membership renews, fails to renew or is cancelled, and when a refund is processed. Security emails go to your sign-in address and, if you’ve added one, your contact address. We don’t email you for ordinary sign-ins. News about Graphite is sent only if you turn on Email me Graphite news, a few times a year at most, and every news email has a one-click unsubscribe link.

What we never collect: your documents, their names, folder names, your words or your searches, your IP address, your browser’s full details, your location, a phone number, a password, or Google tokens. Your IP address is used for a moment, in memory only, to limit abuse of the sign-in form, and is never stored.

Why we use it: to sign you in, keep your account secure and give each person the free trial once, which is needed to provide the account you asked for; and to learn which features people use so we can improve Graphite. In the EU, EEA, UK and Switzerland we use usage data only with your consent. Elsewhere we rely on our legitimate interest in improving Graphite, and you can opt out. News emails are sent only with your consent. You can change these choices at any time in Settings › Account. We don’t sell your data, use it for advertising, or share it except with the service providers in section 9.

Your controls: Settings › Account shows what’s kept and lets you change your name and photo, add or remove a contact email, change your sign-in email, link or unlink Google, turn two-step sign-in on or off, make new backup codes, add, rename or remove passkeys, see your signed-in devices and recent activity, sign out any device, turn off Share usage data (which also deletes the usage data already collected), turn news email on or off, download your data as a file, and delete your account. For your safety, changing your sign-in email, two-step sign-in, backup codes, Google or your devices, and deleting the account, need a two-step code or a sign-in from the last 10 minutes. Deleting removes your account and everything stored with it straight away, including passkeys, except the one-way trial marker described above and the payment records in section 5, which tax law requires us to keep. Your documents aren’t affected: they were never on our servers.

How long we keep it: your account, profile and contact email are kept until you change them or delete the account. Sessions end when you sign out or after 14 days unused; a sign-in still waiting for its two-step code is deleted after 10 minutes. Security activity is deleted after 90 days. Usage data is deleted after about 13 months. Emailed codes expire after 10 minutes. Payment records are kept for as long as Indian tax law requires. A recovery request ends when it completes or is cancelled. The one-way trial markers are deleted after 14 December 2026.

Where it’s stored: in Cloudflare’s D1 database, in its Asia-Pacific region. Cloudflare and Resend may process it in other countries, under the safeguards in their own privacy policies.

Email sign-up check: the email sign-up form uses Cloudflare Turnstile to tell people from bots. It loads from challenges.cloudflare.com only on that form, is required before a code is sent, and is covered by Cloudflare’s privacy policy.

5. Graphite Pro and purchases

Buying. You buy Graphite Pro while signed in to your Graphite account. Lemon Squeezy is the merchant of record: you buy from them, and they collect your name, email address, billing country and payment details under the Lemon Squeezy Privacy Policy, then tell us the order, including the email address you paid with. We use that email only to give Pro to the Graphite account with the same email. If no account has it yet, we keep a one-way keyed hash of the address with the order, not the address itself, until someone signs in with that verified email, and then give that account Pro and delete the hash. We also send one email to that address when Pro is ready. We never see your card details.

What we keep. For each purchase or membership, Graphite’s server keeps the plan, its status and renewal date, Lemon Squeezy’s IDs for the order, subscription and customer, the amount, the currency and the dates. We keep no card details, and we don’t keep the billing address or the email address Lemon Squeezy sends us with the order, beyond the one-way hash described above. We use this to give your account Pro, renew or end a membership, handle refunds and keep the records tax law requires.

On your device. Graphite keeps a copy of your Pro status with your account details, so Pro keeps working offline. Signing out removes it.

GitHub Sponsors. If you sponsor Graphite on GitHub Sponsors, GitHub processes the payment under the GitHub Privacy Statement and shares your GitHub username, and your email address if you allow it, with us. We use it to thank you and, only with your permission, to list you on the supporters page. A sponsorship doesn’t include Pro.

6. Share links

When you create a share link, your document is compressed into the part of the link after the #. Browsers don’t send that part to any server, so we never see the content. When someone opens a share link, Graphite removes the text from the address bar and keeps it only for that browser session. Anyone who has the link can read the document, so share it only with people you trust.

7. Images from other websites

If a document links to an image hosted on another website, Graphite doesn’t load it unless you ask, either once from the preview or always with Load images from other websites in Settings › Publishing. Loading it lets that website see your IP address and when the image was opened, as with any web page.

8. Diagnostic report

Settings offers a Copy Diagnostic Report button to help with support. It copies technical details, such as the app version, browser, storage use, a few settings and recent error messages with document text removed, to your clipboard. Graphite never sends it anywhere. You decide whether to paste it into an email to us.

9. Service providers

These companies process data for Graphite, each only for the job listed:

  • Cloudflare serves the app, runs the account server and database, checks email sign-ups with Turnstile, and provides the page-view analytics in section 10.
  • Resend sends account emails: codes, security emails and, only if you ask for it, news. It handles the address each email goes to and what the email says.
  • Google provides sign-in with Google and, if you connect it, your Drive.
  • Lemon Squeezy sells Graphite Pro as merchant of record and handles payment, receipts and sales tax, as described in section 5.
  • GitHub hosts this website.

Like any web server, Cloudflare and GitHub may keep short-lived technical logs, such as IP address, browser type and the time of each request, to deliver and protect the service. We don’t use these logs to identify or profile you. Some providers process data outside India, including in the United States.

10. Analytics, ads and cookies

Page views in the app and on this website. The app and this website use Cloudflare Web Analytics to count visits. When a page of the app at write.aroice.in or of this website at graphite.aroice.in loads, a small Cloudflare script (from static.cloudflareinsights.com) sends Cloudflare (cloudflareinsights.com) the page address, the page you came from, your browser type, your country and how long the page took to load. It sets no cookies, uses no identifiers to follow you between visits or websites, and never includes document names or text. The page address it reports leaves out everything after the #, which is where a share link carries its document, so shared documents never reach Cloudflare. We see only totals, such as how many people opened the app on a given day or which sites sent visitors here. Cloudflare handles this data under the Cloudflare Privacy Policy.

Nothing else. The app and this website have no advertising, tracking pixels or cookies. Besides that analytics script, this website loads nothing from other companies until you choose to buy Pro here: then it loads Lemon Squeezy’s checkout (lemon.js), which asks Graphite’s server for a checkout and takes your payment. Besides the analytics script, the app loads two outside scripts, each only when needed: Google’s sign-in script when you continue with Google or connect Google Drive, Cloudflare Turnstile on the email sign-in form, and Lemon Squeezy’s checkout when you buy Pro. GitHub Sponsors and the Graphite community on Discord are separate services with their own policies: this website only links to them.

11. When you email us

If you write to us, we keep the conversation so we can help you and follow up. We don’t add you to a mailing list or use your address for anything else. Ask, and we’ll delete it.

12. Your choices and rights

Because your writing lives on your device or in your own Drive, you control it: you can export, edit or delete any document, clear Graphite’s data in your browser, and revoke Google access as described above. For your Graphite account, Settings › Account lets you download your data, turn off usage data and delete the account. For purchase records, account data or emails we hold, you can also ask us for a copy, a correction or deletion, subject to what tax and accounting law requires us to keep. Write to graphite@aroice.in, which is also our contact for grievances under India’s Digital Personal Data Protection Act. If you’re in the EU or UK, you can also complain to your local data protection authority.

13. Children

Graphite is not directed at children under 13, and we do not knowingly collect information from children. Please don’t create a Graphite account if you’re under 13, or under the age your country requires for agreeing to this policy.

14. Changes

If we change this policy, we’ll update this page and the effective date above. If a change affects how Google user data is used, we’ll say so in the app before it takes effect.

15. Contact

AROICE, India. Email graphite@aroice.in.