Skip to content
M2TOOLKIT

Developer · free tool

Hex Viewer

Look inside any file at the byte level.

Process as many files as you want — it's free, with no sign-up and no limits.

  • Developer
  • Free
  • No sign-up
  • Files stay on your device
  • Updated

or drag and drop it here

Read on your device, never uploaded. Files over 64 MB show the first 64 MB.

Your files are processed entirely in your browser using built-in web technologies. They are not uploaded to our servers, and closing the page clears them from memory.

How to use the Hex Viewer

  1. Choose a file — it is read locally.
  2. Page through the hex dump, or change bytes per row.
  3. Search for text or a hex sequence like 504b0304.

What does this tool do?

A hex viewer shows the raw bytes behind a file: useful for checking a file's real type, debugging binary formats, spotting hidden data or confirming encodings. The detected type comes from the file's signature (magic number), not its extension. Files up to 64 MB are loaded.

The file never leaves your device.

Why use it?

  • Magic-number detection.
  • Text and hex search.
  • No upload.

Use cases

  • Check what a file really is, whatever its extension.
  • Debug binary file formats and network captures.
  • Find text strings hidden inside binary files.

Magic numbers you'll see often

The first bytes give away a file's real type:

TypeFirst bytes
PNG89 50 4E 47
PDF25 50 44 46 (%PDF)
ZIP, DOCX, XLSX50 4B 03 04 (PK)
JPEGFF D8 FF
GIF47 49 46 38 (GIF8)

Common mistakes

  • Trusting the file extension — rename a .exe to .jpg and it's still a program.
  • Reading multi-byte numbers in the wrong byte order (endianness).
  • Searching for text in the wrong encoding.

Privacy

Your files are processed entirely in your browser using built-in web technologies. They are not uploaded to our servers, and closing the page clears them from memory. There's no account to create and nothing to install.

Frequently asked questions

Why is a .docx file a ZIP?

Office files are ZIP archives of XML files, so they start with PK.

What do the dots in the ASCII column mean?

Bytes that aren't printable characters.

Is the file uploaded?

No, it's read on your device.

Content last updated . See how M2Toolkit works.

Other tools people use alongside the hex viewer.