Skip to developer tool

LOCAL BYTE INVESTIGATION · V2

File Type & Hex Inspector

Signature evidence, exact bytes, structure maps and optional comparisons—no upload, execution or original-file modification.

Reads bounded local slices. Choose any type; unknown signatures are supported as raw bytes.

No file selected
Choose a local file to begin.

How to inspect a file type and its bytes

  1. In Inspect mode choose one local file (Compare and Batch are optional). The tool samples its header and checks known signatures, independently of the filename or browser-provided MIME type.
  2. Read the evidence and extension comparison. A known signature can expose a renamed file; a generic container or text sample may not identify the exact subtype.
  3. Browse or search hex pages, inspect structure regions, or jump to decimal and 0x hexadecimal byte offsets. Copy or download a visible range, compare two files, or export an evidence report.

Supported signature families

Common images: PNG, JPEG, GIF, WebP, BMP, TIFF, BigTIFF, ICO, CUR, PSD, AVIF and HEIC/HEIF. Documents and archives: PDF, ZIP, GZIP, 7z, RAR, Bzip2, XZ, Zstandard, TAR, OLE compound files, SQLite and ISO 9660. Media: RIFF/WAVE/AVI, AIFF, FLAC, Ogg, ID3, MPEG audio, EBML and ISO-base-media families. Executables and fonts: ELF, MZ/PE, WebAssembly, WOFF, WOFF2, OpenType, TrueType and font collections.

ZIP-based Word, Excel, PowerPoint, EPUB, OpenDocument, Java and Android package hints use bounded container metadata. They do not validate the complete package or inspect macros. Conflicting subtype markers keep the generic ZIP result. WebM versus Matroska and some media codecs remain unresolved container families.

Text guesses and extension comparisons

Decodable text samples can suggest UTF-8/UTF-16 text, UTF-32 byte-order marks, JSON, XML, SVG, HTML, RTF or PEM. These are labeled as heuristics. Text extensions are reported as not conclusive. The browser-reported MIME is displayed separately because it may come from the filename or platform metadata.

Investigate an extension mismatch without rewriting the file

Compare the filename extension, browser-reported MIME and detected signature evidence separately. Renaming an image to .pdf does not turn its bytes into a PDF.

  1. Choose your own local file and read the evidence level and extension comparison. A mismatch is a reason to investigate, not a complete diagnosis of the file.
  2. Inspect the first hex page. With a 256-byte page size and a file of at least 512 bytes, the first range is bytes 0–255 and the next is 256–511.
  3. Use the offset and paging controls to inspect a particular region. The offset is a byte position, not a line number in the formatted hex display.
  4. Copy or download the visible hex range when you need to discuss those bytes. That download is a range dump, not a complete-file export or checksum.
  5. Download the JSON report separately when detection evidence is needed. It includes file details and initial header bytes, so review it before sharing.

Authored investigation and paging example, not an inspected sample file. A recognizable header can be forged or truncated; this viewer does not fully validate or repair the container. Use Checksum Calculator for complete-file digest comparison, or Text Encoding Converter for supported plain-text conversion.

Bounds and privacy

The header sample is at most 64 KiB. ZIP subtype inspection may additionally read the last 65,557 bytes and a central directory up to 256 KiB, with at most 4,096 entries. Large or unsupported ZIP directories remain generic. Each hex page contains 256 to 4,096 bytes; optional whole-file search and compare scan files in bounded chunks. Size and offsets must fit JavaScript's safe-integer range and the browser must be able to read the local file.

The tool does not hash files, validate complete files, detect every possible format, identify all polyglots, verify authenticity or scan for malware. A deliberately forged or truncated file can contain a recognizable signature. The JSON report contains the filename, scoped evidence, annotations and inspected header bytes; the separate hex download contains only the displayed range. Binary slice exports contain selected raw file bytes. Clearing removes the file reference and revokes downloads. No browser storage is used.

Frequently asked questions

Does a PNG signature mean the file is a valid, safe PNG?

No. The signature identifies header evidence. Full decoding, structural validation and security scanning are outside this tool's scope.

Why does a DOCX or MP4 sometimes show a container family?

Many formats share containers. Some subtypes need internal metadata or complete parsing. This tool reports the evidence it can establish within its read bounds rather than assuming the subtype from the extension.

Can this inspect large files?

The tool reads bounded slices for detection and paging. It does not allocate a buffer for the complete file. Actual limits depend on the browser, local filesystem and safe integer offsets.

Can I edit or repair file bytes?

This viewer is read-only. It creates separate text/JSON reports and never rewrites the original file.

Continue your workflow

Inspect signature evidence, not file safety

Choose a file, inspect detected header evidence and page through the supported byte range. Save a report or displayed hex range when useful.

Scope of this workflow

The viewer is read-only. A recognizable signature does not establish structural validity or malware safety, and shared containers can obscure a specific subtype.

File Checksum Calculator — SHA-256 & SHA-512 · All developer tools · Privacy policy · Contact PixelOkay