Definition
Metadata means "data about data." It's extra information attached to a file or piece of information so it can be described and managed. A photo is a good example: besides the colored dots of the picture itself, it carries details like when it was taken, where, and with which camera.
It works like the label on a package
When you order clothes online, the clothes arrive inside a box, and a shipping label is stuck on the outside. The label shows the sender, the recipient's address, the weight of the box, and the ship date. The delivery driver doesn't need to open every box. One look at the label tells them where it should go.
Files in the digital world work the same way. A single photo from your smartphone holds lots of colored dots (pixels), but it also carries information you can't see. The date and time it was taken, the phone model, the aperture setting, and even the GPS location are saved along with it.
This kind of information, which isn't the real contents but extra information that describes the contents, is called metadata. With metadata, a computer can figure out what a file is almost instantly, without opening it and reading it from start to finish.
Metadata helps you find things much faster
Imagine a library with hundreds of thousands of books. If no book had a label on its cover with the title, author, publisher, and call number, how would you find the one you want? You'd have to read every book from the first page to the last.
Computers and phones are the same. When you type "last summer" or "photos from Hawaii" into your phone's photo app and the right pictures pop up in a few seconds, metadata is the secret. The computer doesn't dig through every pixel. It reads the shooting date and location data first and quickly narrows down the photos you want. One caveat: searching by what's actually in a photo, like "dog," doesn't use metadata. That feature uses recognition results (automatic tags) that your device creates by analyzing the pixels with AI.
The singer's name, album cover, release year, and genre you see on screen in a music streaming app are also metadata attached to the song. Sometimes it's recorded inside the file itself, and sometimes it's stored separately in the service's database. Web search engines you use every day read the whole text of a page to index it, and they also take metadata like the title and summary into account when organizing the results they show you.
To be more precise: personal information hiding behind the convenience
To be more precise, metadata is much more than a simple file description. It's a very broad concept used all across computer science, from database management and security to training artificial intelligence. Computer systems use metadata to keep track of who created a file and who is allowed to edit it, and to control data in an organized way.
But with that convenience comes something to watch out for. If you post a photo you took at home to an online forum in its original form, the location coordinates stored in its EXIF metadata can be exposed to everyone who sees it.
That's why many social media platforms now automatically strip sensitive metadata, such as location and camera details, when you upload a photo. Metadata is a great tool that helps computers handle data efficiently, but it's also a double-edged sword, because it can carry private information.
Common misconceptions
Metadata only means simple information like a file's name or size.
A file name is just one piece. The author, the program used to edit it, detailed camera settings, GPS coordinates, a summary of a web page, access permissions, and any other in-depth information that describes the data all count as metadata.
Where you meet it
The shooting date, time, camera model, and GPS location hidden inside a smartphone photo (EXIF data)
The artist name, album title, release year, and track number stored inside a music file (ID3 tags)
The page summary written in a web page's code that tells search crawlers what the site is about (HTML meta tags)
In one sentence
Metadata is "data that describes data." It's a label that helps computers search, sort, and manage files quickly.