# Hex Editor (File Viewer)

Upload any binary file and inspect it as a classic hex dump with offset, hex bytes, and ASCII columns (read-only)

> Canonical page: https://elysiatools.com/en/tools/hex-editor

- **Category:** Development

- **Keywords:** hex, hexdump, binary, viewer, inspector, xxd, file, byte, hex editor

## Overview

The Hex Editor (File Viewer) is a read-only binary file inspector that generates a classic hex dump showing offsets, hex bytes, and ASCII representations. It allows developers and security analysts to inspect raw file contents, customize bytes per line, highlight null bytes, and limit display sizes without installing local command-line utilities.

## Inputs

- **Upload File** (file)
- **Bytes Per Line** (select)
- **Max Bytes to Display** (number)
- **Show ASCII Column** (checkbox)
- **Uppercase Hex** (checkbox)
- **Highlight Null Bytes (00)** (checkbox)

## When to use

- When you need to inspect the raw binary structure of a file without executing it or installing local command-line tools.
- When debugging file corruption, header mismatches, or unexpected null bytes in application outputs.
- When verifying the exact byte sequence, magic numbers, or embedded ASCII strings inside compiled binaries or proprietary formats.

## How it works

- Upload any binary or text file using the file input field.
- Configure display preferences such as bytes per line, uppercase formatting, and whether to highlight null bytes.
- View the generated interactive HTML table displaying the offset, hexadecimal representation, and corresponding ASCII characters.

## Use cases

- Checking file headers (magic bytes) to identify unknown or corrupted file types.
- Inspecting compiled binaries for embedded plain-text strings or configuration values.
- Analyzing network packet captures or raw data payloads saved as binary files.

## Frequently asked questions

### Can I edit and save the file back to disk?

No, this is a read-only hex viewer designed for inspecting file contents, not modifying them.

### What is the maximum file size I can upload?

You can upload files up to 10 MB, but the display output is limited to a maximum of 512 KB (524,288 bytes) to maintain browser performance.

### Does this tool send my file data to a server?

No, the file is processed locally in your browser to ensure your data remains private and secure.

### What does the 'Highlight Null Bytes' option do?

It visually highlights '00' bytes in the hex grid, making it easier to spot padding, empty space, or null terminators.

### Can I change the layout width of the hex dump?

Yes, you can adjust the 'Bytes Per Line' setting to display 8, 16, 24, or 32 bytes per row.

## Related tools

- [File Type Detector (Magic Number)](https://elysiatools.com/en/tools/file-type-detect): Identify a file by its magic-number byte signature, not the extension. Reads the uploaded file directly across ~70 types.
- [Tagged PDF Inspector](https://elysiatools.com/en/tools/tagged-pdf-inspector): Compare StructTree-enabled and plain PDF extraction to see whether a document behaves like a tagged PDF and how much semantic structure it exposes
- [AGEX Bundle Inspector](https://elysiatools.com/en/tools/agex-bundle-inspector): Inspect AGEX bundle metadata without decrypting the file contents
- [Image Bit Depth Inspector](https://elysiatools.com/en/tools/image-bit-depth-inspector): Inspect real sample depth, stored pixel depth, channels, palette, alpha, color space, ICC, and HDR metadata.
- [X.509 Certificate Decoder](https://elysiatools.com/en/tools/certificate-decoder): Parse an X.509 SSL/TLS certificate (paste PEM or upload .pem/.crt) and inspect subject, issuer, validity period with expiry status, public key, signature algorithm, serial, SANs, key usage and fingerprint. Like openssl x509 -text, visualised. Runs locally.
- [Image Palette to Design Tokens](https://elysiatools.com/en/tools/image-to-design-tokens): Extract a dominant color palette from an image (k-means clustering), then export it as CSS variables, SCSS variables, a Tailwind config, or JSON design tokens — with named colors and an auto-generated shade scale for each
- [PDF Strikethrough Review Extractor](https://elysiatools.com/en/tools/pdf-strikethrough-review-extractor): Detect strikethrough-marked text in review PDFs and generate a report for contract, policy, and revision analysis
- [Structured Log Analyzer](https://elysiatools.com/en/tools/structured-log-analyzer): Detect common log formats, extract core fields, infer field types, and export parsed logs as JSON, CSV, or SQL inserts

## Samples

- [DWF Viewer Samples](https://elysiatools.com/en/samples/dwf-viewer-samples): A DWF CAD sample for in-browser preview
- [DXF Viewer Samples](https://elysiatools.com/en/samples/dxf-viewer-samples): A DXF CAD sample for in-browser preview
- [LHA Viewer Samples](https://elysiatools.com/en/samples/lha-viewer-samples): A LHA Archive sample for in-browser preview
- [XPS Viewer Samples](https://elysiatools.com/en/samples/xps-viewer-samples): A XPS CAD sample for in-browser preview

## Related content

- [Binary Encoding, File Forensics, and Integrity Tools](https://elysiatools.com/en/hubs/binary-encoding-file-forensics-integrity): Inspect raw bytes, convert radix and text encodings, identify file signatures, measure entropy, and verify hashes or checksums in one practical binary-data workflow.
- [Base, Radix, and Hex Text Encoding Tools](https://elysiatools.com/en/hubs/base-radix-and-hex-encoding-tools): Encode and decode text and bytes across Base32/45/58/62/64URL/Base85/Z85, arbitrary radix (2–36), and hex, plus URL, HTML-entity, and Unicode escape conversion — for JWTs, blockchain IDs, data URLs, and binary inspection.
- [Text Analysis, Readability, and Content Inspection Tools](https://elysiatools.com/en/hubs/text-analyze): Compare text statistics, language detection, readability scoring, sentiment analysis, moderation review, and pattern analysis tools in one hub.
- [Audio Measurement and Inspection Tools](https://elysiatools.com/en/hubs/audio-analyze): Compare loudness, dynamic range, peak, BPM, key detection, spectral inspection, and metadata review tools in one hub for audio analysis.
