Hex Editor
Free online hex editor and binary file viewer. Upload a file to view and edit raw bytes in hex/ASCII, inspect int/float/string values with endianness, search hex or text, and export. 100% client-side.
Free Online Hex Editor & Binary File Viewer
This online hex editor lets you open and edit binary files directly in your browser. Use it as a binary file viewer to read the raw bytes of any file in hexadecimal and ASCII, as a bin file editor to change individual bytes and export the result, or as a quick editor hexadecimal online for pasted hex snippets.
What you can do
- View binary files in a synchronized hex + ASCII layout with byte-type color coding.
- Edit bytes in place and export the modified file or a code-ready byte array.
- Inspect data — decode the selected offset as int8/16/32/64, uint, float32/64, and ASCII/UTF-8 text, with a little/big-endian toggle.
- Search for hex patterns or ASCII strings and jump to any offset.
- Handle large files thanks to a virtualized hex view that only renders what is on screen.
100% client-side and private
Files are read in your browser via the File API and processed entirely on your device. Nothing is uploaded to any server. That makes this hex editor safe for analyzing sensitive binaries, firmware, and forensic artifacts.
Professional Security Analysis
Our security team performs deep analysis and testing to find vulnerabilities before attackers.
What Is a Hex Editor
A hex editor displays and edits binary file data in hexadecimal (base-16) format, alongside an ASCII/Unicode text view. Unlike text editors that interpret a file as readable characters, a hex editor shows the raw bytes that compose a file — letting you inspect and modify any file at the binary level, regardless of format or extension.
This is a free online hex editor and binary file viewer that runs entirely in your browser. You can open a file from disk (drag-and-drop or file picker) or paste a hex string directly, then view, navigate, search, edit, and export the bytes. Nothing is uploaded — file reads happen locally via the browser File API.
Hex editors are indispensable for reverse engineering, forensic analysis, malware research, file-format investigation, data recovery, firmware inspection, and low-level debugging.
Opening and Viewing Binary Files
- Upload a file: drag a file onto the drop zone or click Choose File. The file is read in-memory with the File API — it never leaves your machine.
- Paste hex: drop in a hex string such as
48 65 6C 6C 6For0x48,0x65,0x6Cto inspect a snippet without creating a file. - Large files: the hex view is virtualized — it renders only the rows currently in view and slides the window as you scroll, so multi-megabyte binaries stay responsive instead of freezing the page. Every byte remains reachable via scrolling, Jump to Offset, search, and bookmarks.
- Display width: switch between 8, 16, or 32 bytes per row to match the structure you are analyzing.
How Hexadecimal Representation Works
Each byte (8 bits) is shown as two hexadecimal digits (00–FF), representing values 0–255:
| Decimal | Binary | Hex | ASCII |
|---|---|---|---|
| 0 | 00000000 | 00 | NUL |
| 65 | 01000001 | 41 | A |
| 90 | 01011010 | 5A | Z |
| 97 | 01100001 | 61 | a |
| 255 | 11111111 | FF | (non-printable) |
The view has three columns: offset (position), hexadecimal bytes, and the ASCII interpretation. Non-printable bytes appear as dots in the ASCII column. Color coding distinguishes null, printable, control, whitespace, and extended (0x80–0xFF) bytes at a glance.
The Data Inspector
Select any byte and the data inspector decodes the bytes starting at that offset into the values a binary format would store there:
- Integers: int8/uint8, int16/uint16, int32/uint32, and int64/uint64 (signed and unsigned).
- Floating point: float32 (IEEE-754 single) and float64 (double).
- Text: the ASCII character and a UTF-8 string preview.
- Endianness toggle: switch between little-endian (x86, ARM default) and big-endian (network byte order, many MIPS/SPARC formats). Multi-byte numbers are reinterpreted instantly so you read the value the format actually intends.
This turns the editor into a quick struct/header decoder — point at a length field, timestamp, or pointer and read it without manual math.
Editing and Exporting
- Edit a byte: double-click any byte and enter a new hex value (00–FF). Modified bytes are highlighted so you can see exactly what changed.
- Export the modified file: download the edited bytes back out as a binary file.
- Export as code: emit the selected range (or whole file) as a C, Python, JavaScript, Go, Rust, or C# byte array, ready to paste into source.
- Permalink: for small inputs, copy a shareable link that encodes the bytes in the URL — open it anywhere to reload the same data. (Uploaded/large files are not encoded in the URL; use Export instead.)
Common Use Cases
- File format analysis: examine headers, magic numbers, and internal structure to understand or reverse-engineer a format.
- Malware analysis: inspect suspicious executables for embedded strings, URLs, IPs, and encoded payloads without executing them.
- Data recovery: locate and extract fragments from corrupted files or disk images by searching for known byte patterns.
- Firmware inspection: examine embedded firmware for hardcoded credentials, certificates, and configuration.
- Forensic investigation: search media for file signatures, keywords, or data fragments.
- Game modding: modify save files, resource files, and configuration data.
Best Practices
- Always work on copies — never hex-edit originals; create a working copy to avoid irreversible corruption of evidence or important data.
- Learn common magic bytes — recognizing signatures (PDF: 25 50 44 46, PNG: 89 50 4E 47, ZIP: 50 4B 03 04) speeds up file identification.
- Use the ASCII pane for string hunting — readable strings (URLs, paths, error messages) are immediately visible; search known strings to jump to relevant sections.
- Mind endianness — multi-byte values may be little-endian (x86) or big-endian (network/MIPS). The data inspector's endianness toggle prevents misreading values.
- Verify edits before export — modified bytes are highlighted; confirm the changes are what you intend before downloading.
Frequently Asked Questions
Common questions about the Hex Editor
A hex editor allows you to view and edit binary files at the byte level. It is commonly used for analyzing file formats, reverse engineering, examining malware samples, editing game saves, recovering corrupted data, patching executables, and understanding how programs store data internally.
Enter the hexadecimal offset in the Jump to Offset field and click Jump. The view will scroll to that location and select the byte at that offset. You can also click directly on any byte in the hex view to select it, and the info bar will show the offset in both hexadecimal and decimal formats.
Yes, the search feature supports both hex pattern and ASCII text search modes. For hex search, enter byte values like 48 65 6C 6C 6F (spaces are optional). For ASCII search, enter the text directly. Search results are highlighted in green, and you can navigate between matches using the arrow buttons.
Double-click on any byte in the hex view to open the edit dialog. Enter the new value in hexadecimal format (00 to FF) and click Save. Modified bytes are highlighted in yellow. Your changes are tracked separately from the original file and can be exported when you are ready.
Bookmarks let you mark important byte offsets with notes for later reference. Select a byte, click Add Bookmark, and enter a description. Bookmarked bytes are highlighted in purple. Click any bookmark in the list to jump directly to that offset. This is useful for marking file headers, important data structures, or areas of interest.
Click the Export Modified button to download a copy of the file with all your changes applied. The button shows the number of bytes you have modified. The original file remains unchanged since all editing happens in browser memory. The exported file is saved with a .modified extension.
The bytes per row setting controls how many bytes are shown on each line. 8 bytes per row is easier to read on narrow screens. 16 bytes is the traditional hex editor view. 32 bytes per row shows more data at once on wide screens. Choose the setting that best fits your screen size and preference.
Yes. This is a full online hex editor and binary file viewer — drag a file onto the drop zone or use the file picker to open it. The file is read in your browser with the File API, so it is never uploaded to a server. You see the raw bytes in hexadecimal alongside an ASCII view, with color coding for null, printable, control, whitespace, and extended bytes. You can also paste a hex string instead of uploading a file.
Select any byte and the data inspector decodes the bytes starting at that offset into the values a binary format would store there: int8/uint8, int16/uint16, int32/uint32, int64/uint64 (signed and unsigned), float32 and float64, the ASCII character, and a UTF-8 string preview. A little/big-endian toggle reinterprets multi-byte numbers instantly — use little-endian for x86/ARM data and big-endian for network byte order. This lets you read length fields, timestamps, and pointers from a header without doing the math by hand.
Yes. The hex view is virtualized: it renders only the rows currently on screen and slides that window as you scroll, so multi-megabyte binaries stay responsive instead of locking up the page. Every byte is still reachable — scroll to it, use Jump to Offset, run a hex/ASCII search, or click a bookmark. Because the file lives in memory and is processed locally, no upload step slows you down.
No file is uploaded. This hex editor is 100% client-side — files are read in your browser with the File API and all viewing, editing, inspecting, searching, and exporting happens on your device. Nothing is sent to a server, which makes it safe for analyzing sensitive binaries, firmware images, and forensic artifacts. The optional permalink feature only encodes small pasted-hex inputs into the URL; uploaded or large files are never put in a link.
ℹ️ Disclaimer
This tool is provided for informational and educational purposes only. All processing happens entirely in your browser - no data is sent to or stored on our servers. While we strive for accuracy, we make no warranties about the completeness or reliability of results. Use at your own discretion.