Privacy Policy
Code Previewer browser extension · Last updated: July 25, 2026
Short version: Code Previewer collects no data, transmits no data, and makes no network requests. Everything happens locally in your browser.
What the extension does
Code Previewer renders local source code files (opened via file:// URLs) with syntax highlighting inside your browser. It is a read-only viewer.
Data collection
- Personal data: none collected.
- File contents: read only inside your browser to display them. Never stored, never transmitted, never leave your device.
- Browsing activity: not tracked.
- Analytics / telemetry: none.
Data storage
The only thing the extension stores is your theme preference (e.g. "dark"), saved locally in your browser via the standard chrome.storage API. It never leaves your device and is deleted when you uninstall the extension.
Network requests
The extension makes zero network requests. It works fully offline.
Permissions
- storage — used solely to remember your theme preference.
- Access to file URLs — enabled manually by you; required so the extension can display local files. Files are rendered locally and never uploaded.
- Folder access (optional) — in the folder view you can click "Enable folder access", which opens the browser's standard folder picker (File System Access API). It is always started by you, it lasts only for that page, and it is used purely to read files for preview and comparison inside the browser. Nothing is uploaded, copied or modified.
Third parties
No data is shared with anyone, because no data is collected.
Changes
If this policy ever changes, the updated version will be published at this URL with a new date.
Contact
Questions? Open an issue at github.com/Lalit-Rajpurohit/Code-Previewer.