Your shopping basket is nobody else’s business.
Clarity Food is designed so you can scan food labels without handing over your identity, health preferences, or grocery history.
No accounts, no tracking pixels, no analytics
- No user accounts: You never sign up, log in, or give us an email address or name.
- No tracking pixels or analytics: We do not run Google Analytics, Meta pixels, ad networks, session replay scripts, or behavioural advertising cookies.
- No sale or profiling of shopping data: Because we do not collect your personal scan history or allergen profile, we have nothing to profile or sell.
Scan history & allergen watchlist stay in device localStorage only
Everything personal to you is stored solely inside your browser’s localStorage on your own device and is never sent to Clarity Food servers:
- Your 14-allergen and nutrition watchlist preferences (
clarity-food-watchlist-v1). - Your recent scans, saved foods, and unsent label correction drafts (
clarity-food-prototype-v1). - Short-lived 24-hour local lookup cache for barcodes you scanned (
clarity-cache-v3-*).
Watchlist matching runs entirely on your device. You can export your local history to JSON or delete it permanently at any time from the My foods tab.
Label photos never leave your device
When you take or select a photograph of an ingredients panel or barcode inside Clarity Food:
- The image is previewed locally in browser memory only and revoked when you close the dialog.
- Label photos are never uploaded to our servers, never stored in our database, and never written to your JSON history export.
- If you tap Read text from photo (experimental), text recognition runs on your device inside your browser.
Optional text corrections & private moderation
Drafting a label correction keeps your text locally on your device. Sending a correction to us is strictly optional and requires you to tick an explicit consent box before anything is transmitted.
When you opt in to submit a correction, only the barcode, product name, submission type, and the text you reviewed are stored in our private Cloudflare D1 moderation database. Submissions are not linked to an account and are not published automatically. Please avoid typing personal details (such as your name, email, or address) into correction notes.
Automatic 2-day pruning of salted rate-limit hashes
To protect the optional text-submission endpoint from spam without keeping raw IP addresses in our database:
- We derive a daily, keyed HMAC-SHA256 hash using a server-side secret, the current UTC date, and the request’s connecting IP address.
- No raw IP address is written to our database.
- Salted daily rate-limit hashes are automatically pruned after 2 days (any hash row older than 2 days is deleted automatically on submission).
What happens during a live barcode scan
In the spirit of complete honesty under UK privacy standards, here is what crosses the network when you use the app:
- Barcode & search lookups: Scanning or searching sends the barcode or search query to our Cloudflare Pages Worker, which fetches the public product record from Open Food Facts and checks for any verified UK label overlay.
- Hosting infrastructure: Clarity Food runs on Cloudflare Pages. Cloudflare processes standard web request network metadata (such as TLS routing and security filtering) under Cloudflare’s own privacy policy.
- On-demand browser tools: The camera barcode scanner (
html5-qrcode) and optional local OCR engine (tesseract.js) are loaded from the jsDelivr CDN only if you tap those features.