Cookie Preferences
Last updated: April 2, 2026
PasteBase uses a minimal set of cookies to keep you logged in, protect your account, and remember your preferences. We do not use any advertising, tracking, or analytics cookies. This page explains every cookie we use and lets you manage your preferences.
1. Your current preference
2. Strictly necessary cookies
These cookies are essential for PasteBase to function. They cannot be disabled. Under the ePrivacy Directive as implemented in Denmark (Cookiebekendtgørelsen), strictly necessary cookies do not require consent.
| Cookie | Purpose | Duration | Set by |
|---|---|---|---|
sessionid |
Keeps you logged in to your account. Without this cookie, you would need to log in on every page. | Browser session | PasteBase (server) |
csrftoken |
Protects you against cross-site request forgery attacks. This is a security measure that ensures form submissions come from PasteBase, not a malicious site. | Browser session | PasteBase (server) |
pb_consent |
Stores your cookie preference choice (either "all" or "necessary"). This cookie is set regardless of your choice so we can remember your decision. | 1 year | PasteBase (browser) |
3. Preference cookies
These cookies remember your choices and personalise your experience. They are only set when you choose "Accept all cookies". If you choose "Necessary only", these cookies are immediately deleted and will not be set again until you change your preference.
Theme and display
| Cookie | Purpose | Duration |
|---|---|---|
pb_theme |
Remembers your dark or light theme choice so it persists across sessions and page loads. | 1 year |
Sorting and filtering (app)
| Cookie | Purpose | Duration |
|---|---|---|
pb_sort2 |
Remembers how you sort your pastes (e.g., by title or category, ascending or descending). | 30 days |
pb_filter_cats |
Remembers which categories you have selected in the paste filter. | 30 days |
pb_filter_search |
Remembers your last search query in the paste search box. | 30 days |
Sorting and filtering (shared pastes page)
| Cookie | Purpose | Duration |
|---|---|---|
sp_sort2 |
Remembers sorting preferences on the shared pastes page. | 30 days |
sp_teams |
Remembers which teams are selected in the shared pastes filter. | 30 days |
sp_cats |
Remembers which categories are selected in the shared pastes filter. | 30 days |
sp_search |
Remembers the search query on the shared pastes page. | 30 days |
4. Local storage
In addition to cookies, PasteBase uses your browser's local storage for one item:
| Key | Purpose | Duration |
|---|---|---|
pb_custom_colors |
Stores your custom colour palette for the rich text editor. This data never leaves your browser and is not sent to our servers. | Permanent (until cleared) |
5. Third-party resources
PasteBase does not use any third-party cookies. However, we load resources from external services that receive your IP address and user agent when your browser requests them:
- Google Fonts (
fonts.googleapis.com,fonts.gstatic.com) — delivers the Plus Jakarta Sans typeface. Google LLC is certified under the EU-US Data Privacy Framework. - jsDelivr (
cdn.jsdelivr.net) — delivers the PicoCSS framework. Operated by Prospect One sp. z o.o. (Poland, EU). - Hetzner Online GmbH — hosts our application servers and database in Germany (EU). All stored data resides on Hetzner infrastructure.
These services do not set cookies on your device through PasteBase.
6. How cookies are protected
- HttpOnly — session and CSRF cookies cannot be accessed by JavaScript, protecting against cross-site scripting attacks.
- Secure — in production, cookies are only sent over encrypted HTTPS connections.
- SameSite=Lax — all cookies are restricted to same-site requests, preventing cross-site request forgery.
- No third-party cookies — every cookie is first-party, set by PasteBase on the pastebase.eu domain only.
7. How to delete cookies via your browser
In addition to using the controls at the top of this page, you can manage cookies through your browser settings:
- Chrome — Settings → Privacy and security → Cookies and other site data → See all cookies and site data
- Firefox — Settings → Privacy & Security → Cookies and Site Data → Manage Data
- Safari — Preferences → Privacy → Manage Website Data
- Edge — Settings → Cookies and site permissions → Manage and delete cookies and site data
Deleting sessionid will log you out. Deleting csrftoken may temporarily affect form submissions until a new token is issued.
8. Legal basis
Our use of cookies is governed by:
- ePrivacy Directive (2002/58/EC) as implemented in Denmark under the Cookiebekendtgørelsen — strictly necessary cookies are exempt from consent; preference cookies require consent.
- GDPR Article 6(1)(b) — session and CSRF cookies are necessary for performing the contract (providing the service).
- GDPR Article 6(1)(f) — preference cookies serve our legitimate interest in providing a personalised experience, and are only set with your consent.
- GDPR Article 7 — consent is freely given, specific, informed, and revocable at any time.
9. Changes to this policy
We may update this cookie policy when we add or remove cookies. The "last updated" date at the top reflects the most recent revision. Material changes will be communicated via the cookie consent banner or a notice within the app.
10. Contact
For questions about our use of cookies:
Nullbase ApS
Rougsøvej 1, 8940 Randers SV, Denmark
Email: support@pastebase.eu