# 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://test.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://test.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.
- [Font File Inspector](https://test.elysiatools.com/en/tools/font-file-inspector): Inspect TTF/OTF/WOFF/WOFF2 fonts: metadata, glyph counts, metrics, style flags, Unicode coverage heatmap, glyph SVG previews, ligatures, OpenType features and variable-font axes.
- [Image Steganography Embed & Detect](https://test.elysiatools.com/en/tools/image-steganography-embed-detect): Hide text in a PNG's least-significant bits, extract it back, and run the Westfeld–Pfitzmann chi-square steganalysis with a falling-p curve and LSB plane preview.
- [Tagged PDF Inspector](https://test.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
- [Variable Font Axis Instance and CSS Font Variation Settings Builder](https://test.elysiatools.com/en/tools/variable-font-axis-instance-and-css-font-variation-settings-builder): Upload a variable font (TTF/OTF/WOFF/WOFF2) to inspect its fvar axes and named instances, preview interpolation live in the browser, and generate ready-to-paste font-variation-settings CSS plus the equivalent high-level properties and a variable @font-face block.
- [Game Save Viewer](https://test.elysiatools.com/en/tools/game-save-viewer): Drop any game save file — Minecraft NBT, Unreal Engine GVAS, Palworld containers, JSON/XML/INI/Lua text saves, SQLite profiles — and get the detected format, engine versions, key progress fields and a bounded structural tree.
- [Windows PE / Linux ELF / Mach-O Binary Header, Section, Import & Export Inspector](https://test.elysiatools.com/en/tools/windows-pe-linux-elf-mach-o-binary-header-section-import-export-inspector): Upload a PE-COFF (.exe/.dll), ELF or Mach-O binary and parse its headers end to end: DOS/PE signature, COFF machine, optional header (entry point, image base, subsystem, ASLR/NX/CFG), section table with RVA↔offset mapping, import/export directories, ELF program headers and PIE detection, dynamic symbols and DT_NEEDED, Mach-O load commands and dylibs — with cross-architecture annotations and a hex preview.
- [Podcast RSS Enclosure Checker](https://test.elysiatools.com/en/tools/audio-podcast-rss-enclosure-checker): Validate podcast episode audio against hosting expectations and cross-check it with your RSS feed: enclosure URL / length / type attributes, itunes:duration, GUID uniqueness, RFC 2822 dates, platform codecs and bitrates — byte-exact enclosure lengths included.

## Samples

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

## Related content

- [Base, Radix, and Hex Encoding Tools](https://test.elysiatools.com/en/hubs/base-radix-and-hex-encoding-tools): Convert text and bytes across Base variants, arbitrary radices, hex, and web escapes while checking reversible byte preservation.
- [Binary Encoding, File Forensics, and Integrity Tools](https://test.elysiatools.com/en/hubs/binary-encoding-file-forensics-integrity): Inspect bytes and signatures, identify file types, measure entropy, and verify hashes or checksums in one safe forensic workflow.
