Binary File Viewer
Decode any file's structure — inspect bytes as int8/16/32/64, uint, float32/64, ASCII, UTF-8, and hex. Big/little endian toggle, byte range selection, PNG/JPEG/ZIP/PDF structure templates, magic bytes detection, entropy stats. 100% client-side.
About Binary File Viewer
Decode any file's structure — inspect bytes as int8/16/32/64, uint, float32/64, ASCII, UTF-8, and hex. Big/little endian toggle, byte range selection, PNG/JPEG/ZIP/PDF structure templates, magic bytes detection, entropy stats. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
What does the Binary File Viewer do?
It reads any file as a Uint8Array and lets you inspect the bytes in many representations: signed/unsigned int8/16/32/64, float32/64, ASCII, UTF-8, and classic hex dump. You can toggle big/little endian, select byte ranges, and decode structures like PNG, JPEG, ZIP, or PDF headers using built-in templates.
How do structure templates work?
Pick a template (e.g. PNG, JPEG, ZIP, PDF) and the viewer applies a parser that maps the first N bytes to named fields with their offsets and decoded values. Each template knows the file's magic bytes, header layout, and key offsets.
What is the endian toggle for?
Different CPU architectures store multi-byte integers differently. x86 (Intel/AMD) is little-endian, while many network protocols and ARM (configurable) are big-endian. The toggle reinterprets the same bytes both ways so you can spot which the file uses.
What extra features does this tool have?
10 extras: (1) Drag-drop file. (2) Configurable bytes per line (8/16/32). (3) Search by hex string. (4) Search by ASCII string. (5) Jump to offset (decimal or hex). (6) Data type preview at cursor. (7) File stats (size, type, entropy). (8) Copy selection as hex / ASCII / C-array. (9) History (localStorage — last 10 inspected). (10) Shareable URL with options.
Is my file uploaded anywhere?
No. All byte reading runs in your browser using ArrayBuffer. Your file never leaves your device.
What's the maximum file size?
There's no hard limit, but files larger than 100MB may slow the browser. The viewer reads the whole file into memory for full-text search; for larger files, use a chunked hex viewer instead.
Related tools
7Z Extractor
Inspect and extract files from 7z archives. Detects the 7z signature (0x37 0x7A 0xBC 0xAF 0x27 0x1C), parses the SignatureHeader and StartHeader, lists files from the archive metadata, and extracts STORE-method files when possible. Honest about LZMA compression limitations. 100% client-side.
APK Extractor
Extract and inspect Android APK files in the browser — pure JavaScript APK (ZIP) parser. View AndroidManifest.xml (binary XML detection), list DEX files, resources, and assets, extract individual files, detect app info (package name, version) from manifest. 100% client-side.
ARJ Extractor
Inspect ARJ archives. Detects the ARJ magic (0x60 0xEA), parses header structures, lists file entries with sizes and CRCs, and extracts STORE-method files when possible. Honest about ARJ compression limitations. 100% client-side.