Skip to content
OddsockLocal
Local
Source text

The preview shows up here.

ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Drop one file.
  2. Read detected type and the signature.
  3. Use the hex preview if you need to see the header structure.
  4. Open the hex viewer if the bytes you care about are past the first 256.

What is File inspector?

A file named report.pdf can be a zip, a text file, or nothing recognizable. The inspector reads the opening bytes, names a detected type, and shows the first 16 bytes as a signature plus a hex preview of the first 256. It also records the MIME type the browser reported, the size, and the last modified time. The name is included so you can see the disagreement.

Read more

The type detector is the shorter report: detected type and signature only. This page is the one with the preview and the dates. Neither one executes the file. A PDF, a PNG, and a ZIP are identified from magic bytes. An unknown header stays unknown rather than inheriting the extension.

The file stays in the tab. A hex viewer is the next step when you need a later offset or a search, not just the opening.

Use cases

  • A download named .pdf is checked before it is opened, because the signature is not %PDF.
  • A developer compares the browser's MIME type with the type implied by the first bytes.
  • Someone confirms a PNG by the 89 50 4E 47 signature in the preview.
  • A received ZIP is distinguished from a renamed folder of loose files.
  • A student reads the first 256 bytes of a font or a WAV without a hex editor.

A PNG whose name might be lying

logo.png, or a file renamed to logo.png.

JSON with the name, a detected image type when the bytes match, the first 16 bytes as hex, the reported MIME, the size, the modified time, and a hex preview of the first 256 bytes.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

No. The detected type comes from the leading bytes. The name is only a label in the report.