File types / Images

.jpg file

JPEG image

Extensions
.jpg, .jpeg
MIME type
image/jpeg
Signature
FF D8 FFat byte offset 0
Safety
Low risk

What is a .jpg file?

JPEG is the most common format for photographs. It uses lossy compression, so files are small, but every re-save discards a little more detail. The extensions .jpg and .jpeg mean exactly the same thing.

Photos from phones and cameras are usually JPEGs and normally carry EXIF metadata: the camera model, the time the photo was taken and often the GPS location.

Used for: Photographs and web images.

How can I tell if a file is really a JPG?

Read its first bytes rather than trusting the name. A genuine JPG file has the signature FF D8 FF at byte offset 0. The File Identity tool reads these bytes in your browser, so the file is never uploaded.

To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.

Is a .jpg file safe to open?

A JPEG is an image, not a program. The practical privacy risk is the metadata inside it, not the picture itself.

Easy to confuse

A file called photo.jpg is not necessarily a JPEG. Rename any file to .jpg and it will still start with its original signature.