Home › Developer Tools › File Info Viewer

File Info Viewer

Last updated:

Check a file's exact size, type, last modified date and MD5 or SHA checksum. Your files are read locally in your browser and never uploaded.

Checksums:

Files

Advertisement
Advertisement

How to check file information

  1. Add your files. Drag files onto the box or click to choose them. You can add several at once.
  2. Pick checksums. MD5 and SHA-256 are on by default. Tick SHA-1 or SHA-512 if you need them.
  3. Read the details. See the exact size, MIME type, the real file type detected from the file's contents, the last modified date and the hashes.
  4. Verify a download. Paste the checksum from the publisher's website into the verify box. A matching hash turns green.

What is a file checksum?

A checksum (or hash) is a short fingerprint calculated from every byte of a file. If even one byte changes, the hash changes completely. Software publishers list MD5, SHA-1 or SHA-256 hashes so you can confirm a download is complete and has not been tampered with. SHA-256 is the most common choice today. MD5 and SHA-1 are fine for spotting accidental corruption but are no longer considered secure against deliberate tampering.

Why the "real file type" can differ from the extension

Your browser guesses the MIME type from the file name, so a renamed file can be reported wrongly. This tool also reads the first bytes of the file (its "magic number") to identify common formats such as PNG, JPEG, PDF, ZIP, MP3 and MP4. If the detected type does not match the extension, the file may have been renamed or saved in a different format.

Frequently asked questions

Are my files uploaded to a server?

No. Files are read directly by your browser on your own device. Nothing is uploaded, so it works with private and very large files.

How do I check the size of a file?

Drop the file in the box. The tool shows the exact size in bytes and in KB, MB or GB, using both 1000-based and 1024-based units.

Is there a file size limit?

MD5, SHA-1 and SHA-256 are calculated in small chunks, so even multi-gigabyte files work. SHA-512 uses your browser's built-in crypto engine and is limited to files up to 1 GB.

How do I verify a SHA-256 checksum?

Add the file, then paste the publisher's SHA-256 value into the verify box. The tool compares it with every calculated hash and tells you if it matches.

Why is the last modified date different from when I downloaded the file?

Browsers report the file's last modified time from your file system. Some downloads and archive tools keep the original date set by the publisher.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

ZIP File CreatorCompress files and folders into a ZIP.Unzip FilesOpen and extract ZIP files online.Excel to CSVConvert XLSX spreadsheets to CSV.Password GeneratorCreate strong passwords and passphrases.Base64 Encoder DecoderEncode or decode Base64 text and files, and make data URIs.JSON FormatterBeautify, minify and validate JSON, with a collapsible tree view.Meta Tag GeneratorCreate SEO, Open Graph and X meta tags with live previews.URL Encoder DecoderPercent-encode or decode URLs, query strings and form data.Regex TesterTest and debug regular expressions live.SQLite ViewerOpen .db and .sqlite files in your browser, browse tables and run SQL queries.DOCX ViewerOpen and read Word .docx files in your browser, then print or save them as HTML.Font ViewerPreview TTF, OTF, WOFF and WOFF2 fonts with sample text, waterfall, glyphs and metadata.Markdown EditorWrite Markdown with a toolbar, live split preview, autosave and .md or HTML export.Regex Cheat Sheet75+ ready-to-use regex patterns for emails, URLs, IPs and dates, each with a live test box.JavaScript Keycode FinderPress any key to see its JavaScript key, code, keyCode, which, location and modifiers.JSONPath TesterTest JSONPath expressions live: filters, slices, wildcards and recursive search, with matches highlighted.Mermaid Diagram EditorWrite Mermaid code and see flowcharts, sequence, Gantt and ER diagrams live. Export SVG or PNG.Country Codes ListSearch ISO 3166 alpha-2, alpha-3 and numeric country codes with calling codes and TLDs.CSS Selector TesterTest CSS selectors on your HTML: highlighted matches, match count and specificity.Git Cheat SheetSearchable Git command reference by task, with copy buttons and an undo/rename/fix wizard.HAR File ViewerOpen a .har file to see a waterfall timeline, headers, bodies, timings and size totals.jq PlaygroundRun jq filters on JSON in your browser with live output, flags and an example library.Markdown Cheat SheetInteractive Markdown syntax reference: edit every example and see the live rendered preview.Regex ExplainerPaste a regular expression and get a plain-English breakdown, railroad diagram and flag notes.XPath TesterTest XPath expressions on XML or HTML: highlighted matches, node paths, values and examples.
See all 53 Code Playgrounds & Testers →

How file types are recognized from their first bytes

Most formats begin with a fixed signature. These are some of the common ones:

FormatFirst bytes (hex)As text
PNG89 50 4E 47.PNG
JPEGFF D8 FF-
GIF47 49 46 38GIF8
PDF25 50 44 46%PDF
ZIP50 4B 03 04PK..
MP3 with tags49 44 33ID3
MP4 / MOV66 74 79 70 at byte 4ftyp

One surprise: DOCX, XLSX, PPTX, EPUB and APK files are all ZIP archives inside, so a signature check sees them as ZIP. That is expected and does not mean the file is damaged. You can open such a file with Unzip Files to see its contents.

Why the size looks different in different places

File sizes are shown two ways. Decimal units use 1,000 (1 MB = 1,000,000 bytes), and binary units use 1,024 (1 MiB = 1,048,576 bytes). A file of 1,500,000 bytes is 1.5 MB but only about 1.43 MiB. Windows Explorer uses the 1,024-based value but labels it MB, while macOS and most download pages use decimal MB. The difference grows with size: 1.5 billion bytes is 1.5 GB but about 1.40 GiB. The byte count is the only exact figure, so compare that when two sizes disagree.

When a checksum does not match

You can cross-check from the command line: certutil -hashfile file SHA256 on Windows, shasum -a 256 file on macOS, or sha256sum file on Linux. To hash text rather than a file, use the Hash Generator.

More questions about File Info Viewer

Can two different files have the same checksum?

For SHA-256 and SHA-512, no accidental match has ever been found, so matching hashes mean identical files in practice. For MD5 and SHA-1, researchers can deliberately create different files with the same hash, which is why they should not be trusted against tampering.

Does renaming a file change its checksum?

No. The hash is calculated from the file's contents only. The name, location and modified date do not affect it.

Why does a file show no detected type?

Plain text files, CSV, JSON and many less common formats have no fixed signature at the start, so they cannot be identified from their first bytes. In that case the extension is the best guide.

Can a checksum tell me whether a file is safe?

Only that it is the same file the publisher released. A matching hash confirms the download is intact and unchanged, but it says nothing about whether the original software is trustworthy.