What counts as personal data?
Article 4(1) of the GDPR defines personal data as any information relating to an identified or identifiable natural person. That person is called the data subject.
The definition is deliberately broad:
- Any information. Facts, but also opinions and assessments. In EDPS v SRB (2025), the EU Court of Justice confirmed that a person's personal opinions or views are personal data about that person.
- Relating to a person. Information about who someone is, what they do, what they own or how they behave.
- A natural person. A living human being. Data about companies is not personal data, but the name, email address or phone number of someone who works there is. Data of deceased persons falls outside the GDPR (recital 27), although national law can protect it.
Typical examples on a website: a name, an email address, a phone number, a postal address, an order history, an IP address, a cookie ID, a device ID, location data and a customer number.
Directly or indirectly identifiable
Someone is identified when you know who they are, for example by name. They are identifiable when they can be identified, "directly or indirectly", by reference to an identifier such as a name, an identification number, location data or an online identifier, or to factors specific to their physical, physiological, genetic, mental, economic, cultural or social identity (article 4(1)).
Recital 26 explains how far this goes. To decide whether someone is identifiable, you take account of all the means reasonably likely to be used, by you or by another person, to identify them, "such as singling out". What is reasonably likely depends on objective factors such as the cost and time needed and the technology available.
So a single piece of information does not have to reveal a name. A combination of a postcode, a date of birth and a job title can point to one person. So can a unique ID that follows one browser from page to page.
Online identifiers: IP addresses, cookie IDs and device IDs
Recital 30 of the GDPR says that people may be associated with online identifiers provided by their devices, applications, tools and protocols, "such as internet protocol addresses, cookie identifiers" or RFID tags. Combined with other information received by servers, these traces can be used to create profiles of people and identify them.
IP addresses. In Breyer (C-582/14, 19 October 2016), the EU Court of Justice ruled that a dynamic IP address, which changes with each connection, is personal data for a website operator if the operator has legal means to identify the visitor with additional information held by the visitor's internet provider. That additional information does not have to be in the website operator's hands.
Cookie IDs and device IDs. A cookie that gives a browser a unique ID, or an advertising ID on a phone, is designed to recognise the same visitor again. That is singling out, which recital 26 names as a means of identification. In IAB Europe (C-604/22, 7 March 2024), the Court ruled that even the TC string, the code in which a consent banner records a visitor's choices, is personal data when it can be linked to an identifier such as an IP address.
One point that is easy to miss: the cookie rule does not depend on personal data. Article 5(3) of the ePrivacy Directive asks for consent before storing or reading any non-essential information on a device, and the Court confirmed in Planet49 (C-673/17) that this applies whether or not the information is personal data. More on how cookies work in what are cookies?
Special categories and criminal data
Some personal data is extra sensitive. Article 9(1) prohibits processing special categories of personal data, unless one of the exceptions in article 9(2) applies, such as explicit consent:
- racial or ethnic origin
- political opinions
- religious or philosophical beliefs
- trade union membership
- genetic data
- biometric data used to uniquely identify a person
- data concerning health
- data concerning a person's sex life or sexual orientation
Personal data relating to criminal convictions and offences has its own rule: article 10 allows processing only under the control of an official authority or when EU or national law authorises it.
For a website, this matters more often than you might think. A contact form at a clinic, a donation page for a religious organisation or a tracking pixel on a page about a medical condition can all involve special categories.
Pseudonymised or anonymous?
Pseudonymisation (article 4(5)) means processing personal data so that it can no longer be attributed to a specific person without additional information, which is kept separately and protected. Replacing a name with a customer number, or an email address with a hash, are examples.
Pseudonymised data is still personal data for whoever can link it back to a person (recital 26). In its Guidelines 01/2025 on pseudonymisation, the EDPB writes that this also holds when the pseudonymised data and the additional information are in different hands. A hashed email address is a good example: anyone with the same address can compute the same hash and recognise it.
In EDPS v SRB (C-413/23 P, 4 September 2025), the EU Court of Justice nuanced this for recipients. The case concerned the EU institutions' own data protection regulation, which the Court reads in the same way as the GDPR. The Court held that pseudonymised data must not be regarded as personal data in every case and for every person: for a recipient who cannot reasonably re-identify anyone, it may not be. But for the controller that pseudonymised the data, it stays personal data, and its duty to inform people is assessed from its own point of view, at the moment it collects the data.
Anonymous data is information that no longer relates to an identifiable person, taking into account all the means reasonably likely to be used. The GDPR does not apply to it (recital 26). The bar is high: removing names is not enough if people can still be singled out or re-identified by combining data.
Personal data vs PII
PII, personally identifiable information, is a term used in the United States. There is no single legal definition; it varies between laws and guidance. NIST's guide on protecting PII (SP 800-122), for example, describes it as information that can be used to distinguish or trace a person's identity, on its own or combined with other information. In practice, PII is often read as data that identifies someone directly, such as a name, a social security number or an email address.
Personal data under the GDPR is broader. It includes everything that relates to a person who can be identified, also when you do not know their name: an IP address, a cookie ID, browsing behaviour, a purchase history or an opinion. If your privacy team thinks in PII, do not assume that data without names is out of scope.
What this means for your website
| On your website | Personal data? | What to keep in mind |
|---|---|---|
| Contact or newsletter form | Yes: name, email, message | Ask only what you need, explain it in your privacy policy |
| Server logs | Yes: IP addresses | Keep them only as long as you need them |
| Analytics (for example Google Analytics) | Yes: cookie IDs, IP addresses, behaviour | Consent for the cookies, and check data transfers |
| Advertising pixels | Yes: cookie IDs, page visits | Consent before the pixel loads |
| Cookie banner | Yes: the stored choice with an ID | Record consent so you can prove it |
| Embedded videos, maps and fonts from other servers | Yes: the visitor's IP address goes to the provider | Consent or a local copy |
| Aggregated statistics without IDs | No, if truly anonymous | Make sure no one can be singled out |
Three practical steps follow from this:
- Map what you collect. Forms, logs, cookies, pixels and embedded content all count.
- Ask consent where the cookie rule requires it, before non-essential cookies or trackers run. For analytics in particular, see Google Analytics and the GDPR.
- Explain it in your privacy policy: which data, why, on which legal basis, for how long and who receives it. Start from the privacy policy template.
Sources
- General Data Protection Regulation (EU) 2016/679, articles 4(1), 4(5), 9 and 10 and recitals 26, 27 and 30
- ePrivacy Directive 2002/58/EC (consolidated), article 5(3)
- CJEU: Case C-582/14, Breyer (19 October 2016)
- CJEU: Case C-673/17, Planet49 (1 October 2019)
- CJEU: Case C-604/22, IAB Europe (7 March 2024)
- CJEU: Case C-413/23 P, EDPS v SRB (4 September 2025)
- EDPB: Guidelines 01/2025 on pseudonymisation (adopted 16 January 2025, version for public consultation)
- NIST: SP 800-122, Guide to Protecting the Confidentiality of Personally Identifiable Information (April 2010)