Hex Editor guide
Getting started with Hex Editor
Hex Editor shows any file as bytes: offsets on the left, 16 bytes per row in hex, and the same bytes as text on the right. You can find, edit and save a copy. Nothing is uploaded.
Open a file
Large files open too. Hex Editor reads the parts you look at, not the whole file at once.
- Click Open a file, or Open at the top, and pick a file from this computer. You can also drop a file anywhere on the page.
- To open a file you keep in Files, click Open from Files, or choose Open from Drive in the File menu.
- The strip above the bytes shows the file name, its size, its type (read from its first bytes, such as JPEG image or PDF) and its SHA-256 hash.
Move around and find bytes
Click a byte to select it. Drag, or Shift+click, to select more. Click an offset to select its whole row. The strip shows the selection's start, end and length.
- Type an offset in the Go box, in decimal or in hex such as 0x4D2, and click Go.
- To search, choose Hex bytes or Text in the list next to it, type what you want (for example 4D 5A, or a word), and click Next.
- Click Next or Prev again for the next or previous match. The search wraps at the ends.
Edit a byte
The text column on the right is for reading only. After an edit, the SHA-256 in the strip is marked as before the edit. Click Recalculate to compute it again.
- Select a byte.
- Type two hex digits. The first sets the high half of the byte, the second the low half, and the selection moves on.
- Press Ctrl+Z to undo and Ctrl+Y to redo.
Save your changes
Nothing is saved until you ask, and the original is never overwritten.
- Save version (Ctrl+S) writes a new file to Files next to the original, named like "name (v2).ext". A file opened from this computer is saved to a Files folder you pick.
- Save as new (in the File menu) saves to a Files folder you choose.
- Download saves a copy to this computer.
Tip: Right-click the bytes for Undo, Redo, Copy selection as hex, Go to offset and Find.
Keyboard shortcuts
| Keys | What it does |
|---|---|
Ctrl+O | Open a file from this computer |
Ctrl+S | Save a version to Files |
Ctrl+Alt+S | Download |
Ctrl+G | Go to offset |
Ctrl+F | Find |
F3 / Shift+F3 | Find next / previous |
Ctrl+Z | Undo |
Ctrl+Y or Ctrl+Shift+Z | Redo |
Ctrl+C | Copy the selection as hex |
Arrows, Page Up, Page Down, Home, End | Move the selection |
Ctrl+Home / Ctrl+End | Go to the start / end of the file |