File Metadata Viewer
View file metadata and properties.
Find out what a file really is. Choose any file to see its name, size and last-modified date, the type the browser reports from the extension, and the type detected from the file's contents (its "magic bytes"), with a warning if they don't match, such as a .jpg that's actually a PNG or an executable renamed as a document. You also get the first bytes in hex and a SHA-256 hash, plus dimensions for images and line counts and line endings for text files.
or drag and drop here. Files stay on your device.
For photo EXIF data (camera, GPS, date taken) use the image metadata viewer. Files are read locally.
Common use cases
- Check what a file is when the extension is wrong or missing
- Spot a file pretending to be something else
- Get a file's hash and size for a record
How to use
- Choose a file.
- Read the detected type and any warning.
- Copy the hash or other details.
FAQ
What are magic bytes?
The first bytes of a file that identify its format. PNG files start with 89 50 4E 47, PDFs with %PDF.
Where's the camera and GPS information?
For photos, use the image metadata viewer, which reads EXIF data.
Related tools
- Image Metadata ViewerView EXIF and metadata from image files.
- Video Metadata ViewerView metadata and properties of video files.
- Regex Cheat SheetRegular expression syntax reference with a live tester: click any token to see what it matches.
- Cron Expression BuilderBuild cron expressions with interactive UI.
- Cron Expression ParserParse cron expressions to human-readable format.
- Time Unit ConverterConvert between time units (seconds, minutes, hours, days).
- File Extension LookupIn Reference
- MIME Type LookupIn Reference