Hex Editor

No data sent

View and edit any file as hex and ASCII in your browser: overwrite or insert bytes, delete ranges, undo and redo, and download the result. Search for hex bytes with ?? wildcards or for text in UTF-8 or UTF-16, see every match highlighted, and read the value at the cursor as integers or floats. Files are not uploaded.

About this tool

What is the Hex Editor?

The Hex Editor shows the raw bytes of any file: the offset of each row, the bytes in hexadecimal, and the same bytes as ASCII text. You can change bytes, insert or delete them, search the whole file, and save the edited file. Everything runs in your browser. The file is not uploaded anywhere.

How to use

  1. Drop a file onto the drop area, or click it to choose one. Click New file to start from an empty file.
  2. Click a byte in the hex column or a character in the ASCII column to move the cursor there.
  3. Type hex digits (0–9, A–F) in the hex column, or text in the ASCII column. Press Tab to switch between the columns.
  4. Press Insert or use the Overwrite / Insert switch to choose whether typing replaces bytes or inserts new ones.
  5. Click Download to save the edited file.

Searching

  • Hex: bytes such as DE AD BE EF or deadbeef. Use ?? for a byte that can be anything, for example 50 4B ?? ?? 14 00.
  • Text (UTF-8), Text (UTF-16LE) and Text (UTF-16BE): text encoded the way the file stores it. Turn on Ignore case to match upper and lower case letters (A–Z).
  • Every match in the file is counted and highlighted. Use the arrows or Enter / Shift+Enter to go to the next or previous match, or open the list of matches and click an offset.
  • Up to 100,000 matches are listed.

Features

  • Hex and ASCII columns side by side, with 8, 16 or 32 bytes per row (or chosen automatically from the width)
  • Overwrite and insert modes, delete a byte or a selected range
  • Changed bytes are highlighted until you download or revert
  • Undo and redo
  • Select a range with the mouse or with Shift and the arrow keys, then copy it as hex or text
  • Paste hex (DE AD BE EF, 0xDE,0xAD, \xde\xad) into the hex column, or text into the ASCII column
  • Go to an offset: 0x1F0 or 1F0h is hex, 496 is decimal, and +0x10 / -16 move from the cursor
  • Data inspector: the bytes at the cursor as binary, Int8–Int64, UInt8–UInt64, Float32, Float64 and a UTF-8 character, in little or big endian
  • Files larger than 100 MB open read-only: you can still scroll, search and inspect them

Keyboard shortcuts

Click the bytes first, then use:

KeyAction
Arrow keysMove the cursor (with Shift: select)
Page Up / Page DownMove one screen
Home / EndStart / end of the row (with Ctrl: of the file)
TabSwitch between the hex and ASCII columns
InsertSwitch between overwrite and insert
Backspace / DeleteDelete the selection, or the byte before / at the cursor
Ctrl+Z / Ctrl+YUndo / Redo
Ctrl+ASelect all
Ctrl+C / Ctrl+X / Ctrl+VCopy / Cut / Paste
Ctrl+FSearch
Ctrl+GGo to offset

FAQ

Is my file uploaded?

No. The file is read and edited in your browser. It is also kept in this browser together with your edits, so they are still there the next time you open the tool. Turn off keeping files in the settings if you do not want that.

Is there a size limit?

Files up to 100 MB can be edited. Larger files open read-only, because editing needs the whole file in memory.

Why does the ASCII column show dots?

Bytes outside the printable ASCII range (0x20–0x7E) are shown as .. The data inspector shows the UTF-8 character at the cursor.