Privacy policy
Effective December 3, 2026
Putcode ("we", "us") runs the website at putcode.dev. It's a place to save CSS snippets (HTML, CSS and optional JavaScript with a live preview), organize them, publish the ones you want to share, and use them from AI agents over MCP. This policy explains what we collect, why, and what control you have.
What we collect
When you sign in. You can create an account with an email address and password, or sign in with Google.
With Google, we ask only for the basic openid, email and profile scopes. From these we store your Google account ID, your email address, your name and your profile picture URL. We don't access your Gmail, Drive, contacts or any other Google data.
With email, we store your name, your email address and a one-way hash of your password. We never store the password itself. We send short-lived codes through our email provider, Resend, to verify your address and to reset your password.
Your profile. Your username, and the name, bio and website you choose to add. Your profile is public at /u/<username>.
What you make. Your snippets (their HTML, CSS, JavaScript, title, description, category and tags), their revision history, your collections, the snippets you favorite, and any usage notes, dependencies or browser support you add.
Views. When someone other than the author opens a published snippet, we add one to its view count. We don't record who viewed it.
Reports. If you report a snippet, we store your account, the reason and any note you add, so moderators can review it. The snippet's author doesn't see who reported it.
Agents and tokens. If you create a personal token or connect an app over OAuth, we store a one-way hash of each token, its first few characters, its name, the permissions you gave it, and when it was created and last used. For OAuth we also store the app's registered name and callback addresses, and short-lived authorization codes.
Agent activity. Every action a connected agent takes for you is logged: which tool it used, whether it worked, which snippet or collection it touched, a short summary, the connection's name and the time. You can see this log under Agents & MCP.
Abuse protection. To limit password guessing and spam, we keep short-lived counters of sign-in, sign-up and password-reset attempts per email address and per IP address. They expire on their own within an hour.
Technical data. Our hosting provider, Cloudflare, processes standard request data such as IP addresses, browser details and request logs to deliver and protect the service.
Cookies and local storage
We use one signed, HTTP-only cookie to keep you signed in, and a short-lived cookie while you sign in with Google. We don't use advertising or tracking cookies.
Analytics. We count page views with Umami, which we run ourselves at d.putcode.dev. It sets no cookies and doesn't track you across sites. It records the page, the referring site, and your browser, operating system, device type and country, which it works out from your IP address without storing it. We don't count you if your browser sends Do Not Track, and we don't run analytics on snippet embeds or previews.
Your browser also stores a few things locally that never reach us: your light or dark theme, your editor layout, and an unsaved draft of a new snippet so you don't lose it before signing in.
Previews and third-party content
Snippets run on a separate address, preview.putcode.dev, in a sandbox with no access to your account or cookies. A snippet's author can load Google Fonts stylesheets, images from other websites, and npm packages from esm.sh. When you view such a snippet, your browser requests those files directly from their hosts, which then see your IP address and the files requested. Snippets can't make other network requests, and we pause previews that keep your browser busy.
How we use it
- To sign you in and keep you signed in.
- To show your snippets to you, and to show published snippets to the people they're shared with.
- To list your public snippets and public collections on your profile.
- To let agents you connect search, create, edit and publish snippets for you, within the permissions you gave them, and to show you what they did.
- To keep the service secure, fix problems and prevent abuse.
We don't sell your data, use it for advertising, or use it to train AI models.
Google user data
Putcode's use of information received from Google APIs follows the Google API Services User Data Policy, including the Limited Use requirements. We use Google user data only to sign you in and to show your name and picture as the author of your published snippets. We don't transfer it to anyone except as needed to run the service, to comply with the law, or as part of a merger or acquisition with notice to you.
Who can see what
- Private drafts (the default) are visible only to you and to agents you've connected.
- Unlisted snippets can be opened by anyone with the link. They aren't listed in Explore, search or on your profile.
- Public snippets are on your profile and can show up in search engines. Unless you turn off "Show in Explore", they are also listed in Explore and in search on Putcode, and agents connected by other people can find them.
- Collections have the same three settings.
Your name and username appear as the author of anything you publish. Your email address is never shown to other users. Don't put passwords, API keys or other secrets in snippets.
Who we share it with
We use Cloudflare for hosting, the database and network security (including Cloudflare Turnstile, a privacy-friendly human check on email sign-up and the contact form), and Resend to send email. Both process data on our behalf. Paid plans are sold through Dodo Payments, our merchant of record: they collect your payment details, billing address and tax information, and handle invoices and receipts. We never see your card. From Dodo we store your customer ID, plan, billing period and subscription status. We may also disclose information if the law requires it, or to protect the rights and safety of our users or the service.
How long we keep it
We keep your account and content until you delete them or ask us to delete your account. Deleting a snippet removes its revision history. Revoked tokens stop working immediately.
Your choices
- Edit, unpublish or delete any snippet or collection you own at any time.
- Download all your snippets as JSON from Settings.
- Revoke agent connections and tokens under Agents & MCP.
- Remove Putcode's access to your Google account at myaccount.google.com/permissions.
- To get a copy of your data or delete your account, email support@putcode.dev. We'll respond within 30 days.
Security
Connections use HTTPS, session cookies are signed and HTTP-only, and tokens and passwords are stored only as hashes. No service is perfectly secure, but we work to protect your data and will tell you if a breach affects it.
Children
Putcode isn't meant for children under 13 (or the minimum age in your country), and we don't knowingly collect their data.
Changes
If we change this policy, we'll update the date above. For significant changes, we'll give notice on the site before they take effect.
Contact
Questions about privacy? Email support@putcode.dev.