Privacy Policy
Last Updated: March 16, 2026
This Privacy Policy describes how CodePrettify ("we", "us", or "our") handles your information when you use our browser extension.
1. Data Collection
CodePrettify does not collect any personal data.
When you open a supported raw-code resource in your browser, the extension reads the content of that specific tab to apply formatting, syntax highlighting, search, code folding, statistics, exports, and other viewer features. Supported content includes JavaScript, JSON, CSS, XML, and RSS/Atom feeds, including pages detected by response headers even when the URL has no matching file extension. This process is performed entirely within your browser's memory on your device.
To provide the HTTP Context panel and cURL/fetch generator, the
extension also reads limited request and response metadata for the
active raw-code tab, such as the request URL, status code, content type,
content encoding, timing hints, response headers, and a small safe
subset of request headers when available (for example
Accept, Accept-Language, Origin,
and Referer). This metadata is used locally in the current
browser session and is not transmitted to us.
- We do not send your code to any external server.
- We do not send captured request or response metadata to any external server.
- We do not track your browsing history.
- We do not store your files.
2. Local Storage
We use your browser's local extension storage
(chrome.storage.local) solely to save user preferences,
such as:
- Theme choice (Light/Dark/Auto)
- Indent size preference
- Whether line numbers are enabled
- Word wrap, toolbar, minimap, and file-type specific viewer settings
These settings are stored locally on your device. CodePrettify does not use Chrome Sync or any external database for these preferences.
Some view state, such as search text, highlighted line, fold state, and display options, may also be written into the page URL hash so you can share or restore the current view. That information stays in the URL on your device unless you choose to copy or share the link.
3. Third-Party Services
The extension utilizes open-source libraries (Prism.js, js-beautify) that are bundled directly within the extension. No external CDNs or third-party tracking scripts are loaded.
The extension website may load standard website assets such as hosted fonts, but the browser extension itself performs its code viewing and formatting features offline using bundled resources.
4. Changes to This Policy
We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page.
5. Contact Us
If you have any questions about this Privacy Policy, please open an issue on our GitHub repository:
Issues:
github.com/calxibe/code-prettify-site/issues
Publisher: Steinar Talmoen
