AP® Computer Science Principles · Big Idea 2 · Topic 2.3
Metadata
Metadata is data about data: information describing a file, like when and where a photo was taken, that rides along with the file but isn't part of what you see or hear.
A photo file is really two things bundled together: the pixels that make up the image you see, and a set of extra fields attached to that file describing it. Those fields can include the timestamp, the GPS coordinates of where the shot was taken, the camera model, the exposure settings, even the software used to edit it. None of that is part of the picture itself. You could zoom into every pixel and never find a street address, but the metadata field might contain exact GPS coordinates down to a few meters.
That separation is exactly why metadata is so powerful and so risky. Because it lives apart from the visible content, it does not change how the image looks, but it still travels with the file wherever it goes. Software that reads image files knows to look for these fields and display them, which is how a photo viewer can tell you the exact moment and place a picture was taken even if the caption says nothing. Strip the metadata out, or rewrite it, and the picture renders exactly the same, pixel for pixel, because metadata never touched the actual image content to begin with.
This connects to the bigger question of what happens to personal data once it exists. A single photo can carry metadata that reveals a home address, a daily routine, or a child's school, all without a single word of text. Multiply that across every photo someone posts, and metadata becomes a quiet, continuous leak of personal information, which is why privacy-conscious tools strip it before sharing and why understanding metadata matters for understanding data privacy generally.
Key terms
- Metadata
- Data that describes another piece of data, such as a file's timestamp or location, without being part of its visible content.
- GPS coordinates
- A pair of numbers giving precise latitude and longitude, often embedded automatically in photo metadata.
- Embedded field
- A single named piece of metadata, like camera model or timestamp, stored inside a file.
- Strip metadata
- To remove the descriptive fields from a file while leaving its actual content unchanged.
Watch it explained
Check yourself
End of topic.