← Back to NodePen

NodePen Cookie Policy

Last updated: 12 August 2026

This policy explains the cookies NodePen uses. It should be read alongside our Privacy Policy.

What Cookies We Use

Strictly necessary

Cookie Purpose Duration
__Secure-better-auth.session_token Keeps you signed in Session / per configuration
__Secure-better-auth.state Protects against cross-site request forgery during social sign-in Duration of the login redirect only

These cookies are essential to the Service and are exempt from consent requirements under UK law.

Functionality

Cookie Purpose Duration
np-latest-team-slug Remembers the last Team you viewed, so NodePen can take you back to it when you visit. Persistent
np-latest-collection-id Remembers the last collection you viewed, so NodePen can take you back to it when you visit. Persistent

These cookies fall under the UK's functionality/appearance exception and do not require consent, but we are required to tell you about them and give you a way to opt out. You can opt out at any time by clearing your cookies in your browser, which will reset these preferences. If you are visiting from the EU, a different legal basis applies to these cookies — where relevant, we ask for consent instead.

What We Don't Use

We do not use any client-side analytics, tracking, or advertising cookies. Our multiplayer collaboration feature briefly uses a session identifier during your connection, but it exists only in memory for the life of that connection — it is never written to a cookie or to your browser's storage.

We do not currently use any third-party embeds (for example, chat widgets or video players) that would set their own cookies.

Your Choices

You can control or clear cookies through your browser settings at any time. Blocking the strictly necessary cookie will prevent you from staying signed in.

Changes to This Policy

We may update this policy from time to time. We will notify you of material changes by email or in-app notice.

Contact

support@nodepen.io