A hex viewer displays file content as hexadecimal values alongside the ASCII interpretation — the classic format used in debugging tools, disassemblers, and file inspectors. Upload any file to see its raw bytes, identify file signatures, and inspect binary structures.
Drop any file here
or click to browse — any file type
How to Use the Hex Viewer
The hex viewer renders files in the standard hex dump format used by tools like xxd, hexdump, and professional debuggers. Three columns are displayed: the byte offset (position from start), hex values (two hex digits per byte, 16 bytes per row), and ASCII characters (printable characters shown directly, non-printable shown as dots).
Uploading a File
Drop any file onto the upload zone or click to browse. The file is read locally — no upload occurs. Files up to 1MB are displayed in full; larger files show the first 1MB with a warning. Common use cases: identifying file format signatures (e.g., JPEG starts with FF D8 FF), inspecting binary protocols, and debugging corrupt files.
Searching for Patterns
Enter a hex pattern like 89 50 4E 47 (PNG magic bytes) or an ASCII string like JFIF in the search field and click Find. Matching bytes are highlighted in yellow in both the hex and ASCII columns.
Understanding Color Coding
Bytes are color-coded by type: null bytes (0x00) in dark gray, printable ASCII (0x20-0x7E) in white, control characters (0x01-0x1F) in red, and high bytes (0x80-0xFF) in blue. This makes it immediately visible whether a file region contains text, binary data, or zeros.
FAQ
Is this hex viewer free?
Yes, the hex viewer is completely free with no account required. View hex dumps of any file type without any usage limits.
Is my file safe and private?
Yes. The file is read locally in your browser using the FileReader API. Your file is never uploaded to any server — all processing happens on your device.
What is a hex dump?
A hex dump shows file content in three columns: byte offset (position from start), hexadecimal values (two hex digits per byte, 16 bytes per row), and ASCII representation (printable characters shown as-is, non-printable shown as dots). This format is standard for binary file inspection.
What file types can I inspect?
Any file type works — executables (.exe, .elf), images (.png, .jpg, .gif), audio (.mp3, .wav), documents (.pdf, .docx), archives (.zip, .gz), and any other binary format. The hex viewer shows the raw bytes regardless of file type.
How do I search for a pattern in the hex output?
Use the search field to find a hex pattern (e.g., 'FF D8 FF' to find JPEG magic bytes) or an ASCII string (e.g., 'PDF' to find the PDF header). Matching bytes are highlighted in yellow in both the hex and ASCII columns.
Why is there a 1MB file size limit?
Processing large binary files in the browser is memory-intensive. The 1MB limit prevents your browser from running out of memory when rendering the full hex view. Files larger than 1MB show a warning but still load — only the first 1MB is displayed.
What do the different colors in the hex display mean?
Null bytes (0x00) appear in gray, printable ASCII characters (0x20-0x7E) appear in white/default, control characters (0x01-0x1F, 0x7F) appear in red, and high bytes (0x80-0xFF) appear in blue. This helps quickly identify data types within the file.