---
title: "privacy policy - codefmt"
description: "codefmt privacy policy. no accounts, no cookies, no tracking. code is processed on-the-fly and never persisted."
url: https://codefmt.dev/privacy
updated: 2026-11-17
sources:
  - https://codefmt.dev/privacy
licence: "© codefmt. Cite with attribution to https://codefmt.dev."
---

# privacy policy

last updated: november 17, 2026

codefmt is designed to be privacy-first. this policy covers both the website at codefmt.dev and the codefmt browser extension for chrome and firefox.

## what we collect

code content: when you format code using the browser extension, your code is sent over https to codefmt.dev/api/format for processing. during the request, the code is held in short-lived in-memory buffers, and the formatters (biome, ruff, and the hubl formatter) work on it there. when javascript is linted, the code is also written to an ephemeral per-request temporary file, because oxlint reads files from disk and does not accept stdin. the temporary file lives in an isolated directory named with a random uuid and is deleted before the api response returns, regardless of whether formatting succeeded or failed. the code is never persisted to any database, never written to long-term storage, never logged, and never shared with third parties.

website formatting: when you format code on codefmt.dev, formatting runs in your browser. python, hubl, and json are formatted and linted there, and that code never leaves your device. javascript is formatted in your browser too, but while javascript lint is on, the code is sent to codefmt.dev/api/format for lint diagnostics through the same ephemeral-file, no-persistence path described above. if your browser blocks webassembly or web workers, javascript, python, and hubl formatting falls back to that same api. if you use an ai agent in your browser that supports webmcp, it can read what the editor shows and load code into it; codefmt sends nothing to that agent's provider, but the agent itself may, under its own privacy terms.

theme audit (whole-theme lint): the hubl theme audit reads a theme folder, or a design manager .zip, entirely inside your browser. file contents, file names, and folder structure are never transmitted: the audit downloads its own script and makes no other network request, there is no upload step, and no api endpoint receives any part of the theme. results are held in the page and are gone when you close the tab. the anonymous umami count for an audit records only whether the source was a folder or a zip, a bucketed range for how many files were read (for example 51-200), whether the run finished, was cancelled, was refused for being over a size limit, or failed, and for a finished run a bucketed range for how many findings it reported (for example 10-99). it never carries a file name, a path, or any file content.

settings: your formatting preferences are stored in your browser's localStorage. the browser extension can read these settings via the sync feature. when a format runs through our api, your preferences travel with that one request so the formatter can apply them; they are never stored server-side and never shared.

ip address (rate limiting only): the api and agent endpoints (format, ask, mcp, a2a) read the ip address that vercel attaches to each request (`x-real-ip`) and hold it in a short-lived in-memory counter for up to 60 seconds, only to enforce per-ip rate limits. the counter is never persisted. if a request to /api/format exceeds the rate limit, the ip is written to a single runtime log line (visible only to the site operator via vercel logs) so abuse can be investigated; these log lines roll off with vercel's default log retention and are never sold, shared, or correlated with any user identity.

api & agent endpoint counts: requests to the api and agent endpoints (format, mcp, a2a, ask, llms.txt) are counted in aggregate through umami. each count holds the endpoint and a few fixed labels. for a format request: the platform, the language, whether it worked, and whether it came from the website, the extension, or somewhere else. for an mcp or a2a call: the tool, the outcome, and for mcp the name the client software gives for itself when it connects. for /ask: the outcome and rough ranges for the question's length and the match confidence, never the question. for an ai crawler reading a document: the crawler's name and which document. submitted code and queries are processed in memory and never stored or sent to analytics. these counts carry no ip address, no raw user agent, and nothing that identifies a person, and requests that send the dnt or gpc signal are not counted at all. two kinds of request also leave one line in the operator's vercel logs, whether or not they send dnt or gpc: a json-rpc method name the mcp or a2a endpoint doesn't recognize, and the domain an ai crawler names as its signing key directory (web bot auth) when it's one we don't recognize. neither line holds an ip address, code, or anything that identifies a person.

## what we don't collect

* \-no accounts or registration
* \-no cookies
* \-no personal information (name, email, etc.)
* \-no browsing history or cross-site activity tracking
* \-no code ever written to a database or persistent disk
* \-no theme file names, paths, or folder structure ever leave your browser
* \-no code is ever logged, regardless of request outcome
* \-no data is sold or shared with third parties

## third-party services

vercel: hosts the website and api. vercel collects anonymous, aggregated analytics (page views, web vitals) with no personal identifiers. see [vercel's privacy notice](https://vercel.com/legal/privacy-notice).

sentry: monitors application errors on the website so we can find and fix crashes and bugs you hit, often before anyone reports them, which keeps the formatter reliable. sentry only gets error reports, including uncaught errors and unhandled promise rejections. a report from your browser carries a fixed placeholder instead of the error message, plus the stack frames from codefmt's own scripts, the path that failed (never its query string), and technical details like the runtime and release version. a server report keeps a short one-line error message and the stack trace, and errors we catch ourselves are sent with a fixed message. we turn off every data collection option the sentry sdk has, including ip addresses, cookies, headers (your user agent among them), request bodies and query strings, strip those fields again before a report is sent, and don't use session replay or performance tracing, so user code content is never sent to sentry. see [sentry's privacy policy](https://sentry.io/privacy/).

umami: privacy-friendly website analytics. umami records anonymous, aggregated page views and events with no cookies, no cross-site tracking, and no personal data, and never receives your code. see [umami's privacy policy](https://umami.is/privacy).

## privacy signals (gpc & dnt)

global privacy control (gpc): gpc is a browser signal (the `Sec-GPC: 1` request header and `navigator.globalPrivacyControl`) that tells a site you opt out of having your personal data sold or shared. codefmt does not sell or share anyone's personal data, for any visitor, and it also turns analytics off when it sees the signal: a page requested with gpc on loads no umami script and no vercel analytics or speed insights, umami events are skipped whenever `navigator.globalPrivacyControl` is set, and our server-side telemetry records nothing for a request that sends gpc or dnt. see the [global privacy control specification](https://privacycg.github.io/gpc-spec/).

do not track (dnt): codefmt's analytics (umami) is configured with `data-do-not-track`, so if your browser sends the dnt signal, umami records nothing: no page view, no event.

## browser extension

the codefmt browser extension (chrome and firefox) operates only on supported automation platform websites: zapier, n8n (n8n.io and n8n.cloud), pipedream, make (make.com), and hubspot (including hubspot design manager for hubl templates). it does not run on any other website unless you add one yourself, which only applies to the self-hosted case below.

if you run n8n on your own server, you can add that server's address in the extension's popup. your browser then asks whether to grant codefmt access to that one address, and the extension starts working there the same way it does on n8n's hosted editors. the address is matched exactly, so other hosts that merely resemble it are not included, and removing it in the popup revokes the access. codefmt never asks for a site you did not type in yourself.

the extension reads code from the platform's editor, sends it over https to codefmt.dev/api/format for formatting, and writes the formatted result back to the editor. the same ephemeral-processing policy described in “what we collect” applies: the code is held in short-lived buffers and an ephemeral per-request temporary file that is deleted before the api response returns, and it is never persisted, logged, or shared.

the extension stores your formatting preferences locally using chrome.storage.local (or the firefox equivalent), along with your theme choice, any self-hosted n8n address you added, and a count of successful formats that decides when to show a one-time review prompt. your preferences are sent only with a format request, as described under settings; the rest never leaves your browser.

## contact

questions about this policy? reach out at [support@codefmt.dev](mailto:support@codefmt.dev?subject=codefmt privacy question).

## for agents (added to every page twin, not part of the page)

- format API: POST https://codefmt.dev/api/format (OpenAPI: https://codefmt.dev/api/openapi.json, code up to 51,200 characters, 50KB of ASCII (400 above it), request body up to 100KB, counted in bytes (413 above it), no authentication)
- MCP server: POST https://codefmt.dev/api/mcp (tools: format_code, format_json, ask_codefmt; manifest: https://codefmt.dev/.well-known/mcp.json)
- rate limit: 60 requests per minute per ip across format api calls, mcp and a2a tool calls, and /ask (mcp handshakes and listings are not counted). the count is kept per server instance, so treat it as a ceiling to stay under rather than an exact budget. the format api and /ask report the limit in RateLimit headers, every 429 carries Retry-After, /ask puts the message in answer, and an mcp tool call over the limit returns a tool result saying to try again in a minute
- auth statement: https://codefmt.dev/auth.md (no accounts, api keys or oauth; send no authorization header)
- site index for agents: https://codefmt.dev/llms.txt
- full reference (request bodies for every language, a copy-paste curl command, platform globals, troubleshooting): https://codefmt.dev/llms-full.txt
