Hex Viewer
View any file as a hex dump with its text column, and search for bytes or text.
Processing: This tool runs entirely in your browser. Your input and any file you open stay on your device — nothing is uploaded to a server.
How to use the hex viewer
- Choose any file.
- Read the dump, or search for text or a byte sequence.
- Page through if the file is longer than one screen.
About this tool
Shows a file exactly as it is stored: sixteen bytes per line, with the offset on the left and the printable characters on the right. It is the tool for answering what a file really contains when nothing else will open it.
Bytes outside the printable ASCII range appear as full stops in the text column. That is the long-standing convention and it is not laziness — rendering a control character literally would move the cursor, ring the terminal bell or emit nothing at all, destroying the column alignment that makes a hex dump readable in the first place.
The search accepts either text or a byte sequence in hex, which covers the two things people actually look for: a string buried in a binary, or a specific signature. Searching for `ff d8 ff` finds the start of a JPEG; searching for readable text finds strings a program has embedded.
Only the first two megabytes are loaded. Reading a four-gigabyte file entirely into memory to display one screenful would achieve nothing except exhausting the tab, and file headers — the part almost anyone examining a file actually wants — live at the very start.
This views but does not edit. Writing bytes back is a different and considerably more dangerous operation.
Common uses
- Checking a file's magic bytes when the extension looks wrong.
- Finding readable strings inside a binary.
- Inspecting a file format while writing a parser.
Frequently asked questions
- Why are most characters shown as dots?
- Anything outside printable ASCII is shown as a dot by convention. Rendering control characters literally would break the column alignment that makes the dump readable.
- Can I edit the bytes?
- No. This views only. Writing bytes back to a file is a considerably more dangerous operation and needs a real hex editor.
- Why is only part of a large file shown?
- The first two megabytes are loaded. Reading a multi-gigabyte file entirely into memory to show one screen would exhaust the tab, and headers live at the start anyway.
Related tools
GZIP Compressor and Decompressor
Compress or decompress a file with gzip or deflate, using the browser's own compression.
Image Format Detector
Identify an image's real format from its bytes, with dimensions and print quality.
File Hash & Checksum
Hash any file with SHA-1, SHA-256, SHA-384 and SHA-512, and compare against a published checksum.
Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to text, with UTF-8 and URL-safe support.