Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

Hex Viewer

Inspect any file or text as a hex dump with offsets, byte values and an ASCII column. Jump to an offset, search for bytes or text, select a range to see it decoded as integers and strings, and copy or download the dump.

Everything runs locally in your browser. Your data never leaves your device.

Input

Drop any file here

Images, executables, archives, documents. Click to choose one.

Next steps

Send this tool's output straight into another tool.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more.

Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Compare two texts and see every added, removed and changed line highlighted, side by side or inline, with the changed words marked within each line. Ignore case, whitespace or blank lines, read a summary of how much changed, and export the result as a unified diff.

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.

Convert between scientific notation and full numbers as you type. Reads 1.23e5, 1.23 × 10^5 and plain numbers, shows the value written out, in normalized scientific notation and in engineering notation, and can round to any number of significant digits.

About the Hex Viewer Tool

This tool shows any file or pasted text as a classic hex dump: byte offsets, hex values and an ASCII column side by side. Drop in a file of any type, or paste text to view its UTF-8 bytes.

Click a byte or drag across a range and the data inspector decodes it live as signed and unsigned integers, floats and a UTF-8 string, in both little and big endian. Only the visible part of the dump is rendered, so files of tens of megabytes scroll smoothly.

What you can do

  • View any binary file as a hex dump with offsets and an ASCII column.
  • Search a file for text or a hex byte sequence like DE AD BE EF.
  • Jump straight to a byte offset, in hex or decimal.
  • Decode selected bytes as int8 to int64, float32, float64 and UTF-8.
  • Identify a file type from its magic bytes.
  • Copy or download an xxd-style hex dump.

How to use the Hex Viewer

  1. 1Drop in a file, or switch to Text and paste text to view its UTF-8 bytes.
  2. 2Pick 8, 16 or 32 bytes per row and hex or decimal offsets.
  3. 3Jump to an offset, or search for text or hex bytes and step through the matches.
  4. 4Click a byte or drag across a range to decode it in the data inspector.
  5. 5Copy the dump, download it as a text file or copy the selection as hex.

Reading the dump

Each row shows the offset of its first byte, the byte values in hex grouped in blocks of eight, and the same bytes as text on the right. Printable ASCII shows as-is and every other byte shows as a dot placeholder, so real dots stay distinguishable. Null bytes are dimmed in the hex column to make structure easier to spot.

The overview above the dump helps with a first guess at what you are looking at. A known signature names the file type from its magic bytes. Entropy close to 8 bits per byte usually means compressed or encrypted data, while a high printable share means text. If the bytes turn out to be encoded text, decode them with the Base64 Encoder & Decoder, and to identify and unwrap layered encodings try the Magic Decoder.

Search and selection

Text search looks for the exact UTF-8 bytes of what you type, with an optional ASCII case fold. Hex search accepts byte pairs with any common separator, so DE AD BE EF, dead beef and 0xde,0xad all work. Matches are highlighted in the dump and you can step through them, up to 10,000 per search.

The selection works like a hex editor: click a byte, drag or hold Shift to extend, and use the arrow keys to move. The inspector decodes the bytes at the selection start in little and big endian and previews the whole selection as UTF-8.

Limits

Files up to 256 MB can be loaded and browsed. The dump as text (copy, download and forwarding to other tools) is available up to 16 MB of data, since the text version is about four times the size of the file.

Enter a resolution to get its simplified aspect ratio, or start from a ratio and one side to get the missing dimension. Knows the common ratios like 16:9, 4:3 and 21:9 and shows how close your size is to each.

Create barcodes in dozens of formats, from EAN-13, UPC-A and Code 128 to QR Code, Data Matrix and PDF417. Type the content, tune the size, colors and text options, and download the result as PNG or SVG.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Hash a password with bcrypt or Argon2 and verify a password against an existing hash. Tune the cost factor, memory, iterations and parallelism, see how long the hash takes, and read the parsed parts of any hash you paste.

Calculate AND, OR, XOR, NOT and bit shifts with a live binary view of every operand and the result. Enter numbers in decimal, hex, octal or binary and see each bit line up as you type.

Verify a checksum online: drop a file, paste the expected checksum and see instantly whether they match. The hash type is detected from the checksum itself, covering MD5, SHA-1, SHA-256, SHA-512, BLAKE3, CRC-32 and more, and sha256sum lines or whole checksum files can be pasted as-is.