Online Hex Editor

Inspect and patch binary files in your browser: hex and ASCII side by side, byte search, a data inspector and download of the edited file.

Free, no sign-upRuns in your browserUpdated November 2026
Open a fileDrop any file here or click to choose. It is read locally and never uploaded.

Click a byte, then use the arrow keys, Page Up/Down and Home/End (Ctrl+Home/End for start and end of file). Type two hex digits to overwrite the selected byte.

Selected offset
—
TypeLittle-endianBig-endian

How to use the Hex Editor

  1. Drop a file onto the box or click it to choose one. Any type and size your browser can hold in memory works, and the file stays on your device.
  2. Scroll, or click a byte and move with the arrow keys, Page Up/Down and Home/End. Use Go to offset with a decimal number or a hex value like 0x1F4.
  3. Use Search to find hex bytes (e.g. FF D8 FF) or text. Press Find again for the next match.
  4. To edit, type two hex digits on a selected byte, or enter bytes in Overwrite from selected offset. Edited bytes are shown in bold red.
  5. Check values in the data inspector, then click Download file to save the modified copy.

A hex editor that runs in your browser

A hex editor shows a file as it really is: a sequence of bytes, each written as two hexadecimal digits from 00 to FF. Text editors hide most of this. They decode bytes into characters, convert line endings and refuse binary data. A hex view hides nothing, which makes it the right tool for checking a file signature, finding a corrupted header, reading a binary format, patching a single byte in a save game or ROM, or seeing why a "text" file has invisible characters in it.

This editor opens the file with the browser's File API and keeps it in memory on your device. Nothing is uploaded, and it works offline once the page has loaded.

Reading the hex view

offset (hex) | 16 bytes as hex pairs | the same 16 bytes as ASCII

Each row starts with the offset, the position of its first byte counted from zero and written in hexadecimal. The middle shows the bytes in hex, with an extra gap after the eighth byte to make counting easier. The right column shows the same bytes as ASCII: printable characters (0x20 to 0x7E) appear as themselves and everything else as a dot. Zero bytes are dimmed so padding stands out.

For example, every PNG file starts with the 8-byte signature 89 50 4E 47 0D 0A 1A 0A. In the ASCII column this reads .PNG....: 0x50, 0x4E and 0x47 are the letters P, N and G. Some other common signatures:

FormatFirst bytes (hex)ASCII
PNG image89 50 4E 47 0D 0A 1A 0A.PNG....
JPEG imageFF D8 FF...
PDF document25 50 44 46 2D%PDF-
ZIP, DOCX, XLSX, JAR50 4B 03 04PK..
GIF image47 49 46 38GIF8
UTF-8 text with BOMEF BB BF...

Large files stay fast

A 50 MB file has more than three million rows at 16 bytes per row. Creating that many page elements would freeze any browser, so the editor uses virtualized rendering and only draws the couple of dozen rows that are visible. Scrolling, jumping to an offset or moving the cursor redraws just those rows. Search uses the browser's native typed-array scan to find the first byte and then checks the rest of the pattern, so it searches tens of megabytes quickly. The practical limit is memory: the whole file is loaded into RAM, so multi-gigabyte files may fail on phones or 32-bit browsers.

The data inspector: one byte, many meanings

Bytes have no type of their own. The same four bytes can be a number, part of a string or a colour. The inspector reads the bytes starting at the selected offset as common types, in both byte orders:

  • Int8 / UInt8: one byte, signed (−128 to 127) or unsigned (0 to 255).
  • Int16 / Int32 and their unsigned forms: two or four bytes. Little-endian puts the least significant byte first and is used by x86, ARM in its usual mode, and formats like BMP, WAV and ZIP. Big-endian puts the most significant byte first and is used by PNG, JPEG markers and network protocols.
  • Float32 / Float64: IEEE 754 single and double precision.
  • Binary: the eight bits of the selected byte, in two groups of four.

Worked example: the bytes 01 02 read as UInt16 little-endian are 0x0201 = 513, and big-endian they are 0x0102 = 258. If a width field in a header shows a sensible value in one byte order and nonsense in the other, you have found the file's endianness.

Editing safely

Edits overwrite bytes in place and never insert or delete them, so every offset in the file stays where it was. That is what you want when patching structured binaries. Changed bytes are shown in bold red and underlined, the original value appears next to the selected offset, and you can revert one byte or all edits. The original file on your disk is not modified. Download file saves a new copy with -edited added to its name.

Tips: back up anything important before patching it, remember that many formats carry checksums (a PNG chunk CRC, a ZIP CRC-32) that become invalid if you edit the bytes they cover, and use the number base converter to translate between hex, decimal and binary. To compare two versions of a text file, the diff checker is usually clearer.

Frequently asked questions

Is my file uploaded when I open it in this hex editor?
No. The file is read with the browser’s File API into memory on your device. Viewing, searching, editing and downloading all happen locally, and nothing is sent to a server.
Can it open large files?
Yes. Only the visible rows are rendered, so files of 50 MB, 100 MB or more scroll smoothly. The limit is your device’s memory, because the whole file is loaded into RAM. Very large files (several GB) may not open on phones.
How do I edit a byte?
Click the byte (or move to it with the arrow keys) and type two hex digits, for example 4 then 1 to write 0x41. You can also type several bytes such as DE AD BE EF into the overwrite box and click Apply. Then click Download file.
Can I insert or delete bytes?
No. This editor works in overwrite mode only, so the file size and every offset stay unchanged. That is the safe choice for patching binary formats, where moving data usually breaks internal pointers.
How do I search for a hex value or a string?
Type the bytes in the Search box with Hex selected (spaces optional, e.g. FFD8FF), or choose Text to search for a UTF-8 string. Press Enter or Find for the next match. The search wraps around to the start of the file.
What is the difference between little-endian and big-endian?
They are byte orders for multi-byte numbers. Little-endian stores the least significant byte first (bytes 01 02 = 513); big-endian stores the most significant byte first (01 02 = 258). The data inspector shows both so you can see which makes sense.
How do I go to a specific offset?
Enter it in Go to offset: plain digits are decimal (500), and hex needs a 0x prefix or h suffix (0x1F4 or 1F4h). Values containing the letters A to F are treated as hex.

Last reviewed November 2026. Results are estimates for information only — see our disclaimer.