Start a project

Tool 333 of 425 · Files

File Type Checker (Magic Bytes)

Identifies a file from its signature bytes, gives its MIME type and warns when the extension lies.

File Type Checker (Magic Bytes)

Your input

Result

PropertyValue

    01

    What it does

    Identifies a file from its signature bytes, gives its MIME type and warns when the extension lies.

    • 40+ signatures: PNG, WebP, AVIF, PDF, ZIP, WOFF2, WASM…
    • Extension and browser-type mismatch warnings
    • Paste hex if you don't have the file
    • Only the first 4 KB is read

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    Detected type, MIME and extension, with a Copy and a Download button on every result.

    • Magic bytes
    • MIME type
    • File signature

    Why it matters

    Upload forms that trust file names are easy to fool, and mislabelled files cause confusing errors in image pipelines and CDNs.

    This checker reads the signature bytes the way the file command does and tells you what the file really is.

    How to use it

    1. Open a file or paste the input the tool asks for.
    2. Press Check file. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    Is the file uploaded?

    No. Only the first 4 KB is read, in your browser.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk