Browser Hex Editor
Inspect and patch bytes locally, review the diff, then export a copy. Your original file is never touched.
Byte grid
0 bytes · No bytes loaded · 0 editsEdit diff
0 edits · 0 bytes on exportLoad bytes to start editing
Type an ASCII seed or open a local file. Nothing is uploaded.
Details
Browser Hex Editor reads a file (or an ASCII seed) into a byte grid and keeps every change in a sparse offset-to-byte overlay. Select a cell and enter a hex value, patch a printable character in the ASCII column, or paste a hex string at the cursor. The diff panel lists every changed byte with original and patched glyphs, and undo/redo works on whole batches. Export writes a byte-for-byte copy of the original with only the overlay applied; the file on disk is never modified and nothing is uploaded.
More examples
Patch printable text
Hello, hex world!
select byte 0x0000 → 4D (M)The first byte changes from 0x48 (H) to 0x4D (M); the diff shows 48 H → 4D M.
Magic bytes
MZ\x00\x00
search hex 4D 5A → offset 0x0000Hex search accepts 4D 5A, 4D5A and 0x4D, 0x5A forms and highlights the first hit.
Batch patch
select offset 2 → patch hex string 48 69The patch string writes consecutive bytes from the cursor and records one undoable batch.
Examples
Change a letter
seed Hello, select offset 0x0000, apply 4D48 H → 4D MThe diff shows the original and patched byte; ASCII text updates in the grid immediately.
Find a signature
search hex 4D 5A in a binaryOffset 0x0000Hex search ignores case and common separators and scans patch-adjusted bytes.
Batch patch
select offset 2 and paste 48 69Two consecutive bytes changed in one undo entryA hex string patch writes from the cursor and records one history batch.
About this tool
Browser Hex Editor opens a file or an ASCII seed in a 16-byte grid with an offset column, hex pairs and a printable ASCII gutter. Search accepts hex patterns and text, go-to-offset accepts decimal or 0x notation, and every changed byte is highlighted for review before export.
Edits live in a sparse overlay of offset-to-byte entries, so a tiny patch to a large file costs almost nothing. Undo and redo operate on whole batches, and the diff panel lists each byte's original and patched values with glyphs. Export streams a copy with the overlay applied at the same length; the original file is never written.
Everything runs in the tab. No binary is uploaded, no byte data is persisted, and the export is an ordinary browser download. File length is fixed: this is an overwrite editor, not an inserter.
What this tool does not do
- File length is fixed: bytes can be overwritten but not inserted or deleted.
- The practical file cap is 512 MB; very large files may be limited by browser memory.
- Search results are capped at 200 hits.
- No format-specific decoding or disassembly is provided.
How to use this tool
Load bytes
Open a local file with the picker or type an ASCII seed into the input pane.
Navigate
Use go-to-offset (decimal or 0x…), page controls, or click a hex cell to select it.
Patch
Enter a two-digit hex byte, type in the ASCII column, or paste a hex string at the cursor.
Review and export
Check the diff list, undo if needed, then download the patched copy at the original length.
Use cases
Config byte patches
Flip a flag or magic byte in a binary config without a native editor.
Security triage
Trial a byte change and inspect the diff before deciding whether to keep it.
Firmware headers
Patch a handful of header bytes in a large blob while keeping its length intact.
Input forms
| Field | Accepted input |
|---|---|
| Hex byte | 4D or 0x4D (one byte) |
| Hex pattern | 4D 5A, 4D5A, 0x4D, 0x5A |
| ASCII search | Case-sensitive text |
| Go to offset | 0x01FF or 511 |
| ASCII patch | Printable characters 0x20–0x7E |
| File size | Up to 512 MB practical cap |
Overwrite only: the exported file has exactly the same number of bytes as the original.
Common mistakes
Mistake:Expecting the original file on disk to change.
Fix:The editor only downloads a patched copy; your source file remains untouched.
Mistake:Trying to insert bytes.
Fix:This is overwrite-only; insertion changes file length and is out of scope.
Mistake:Pasting an odd-length hex string.
Fix:Hex groups must contain whole byte pairs, e.g. 4D 5A rather than 4D 5.
Mistake:Assuming non-printable bytes appear literally in the ASCII gutter.
Fix:They are shown as a dot; inspect the hex column instead.
Mistake:Forgetting to export after patching.
Fix:Edits stay in the tab until you download the patched copy.
Frequently asked questions
Does editing change my original file?
No. The browser reads your file and keeps edits in a sparse overlay of offset-to-byte entries. Export downloads a separate patched copy with the original length; the file on disk is never written or replaced.
Can I insert bytes, not just overwrite?
No. This is a fixed-length overwrite editor. Inserting or deleting bytes would change the file length and requires rebuilding the entire file, so it is deliberately out of scope.
How do I search for a byte pattern?
Choose Hex or ASCII as the search mode and enter a pattern. Hex mode accepts 4D 5A, 4D5A and 0x4D, 0x5A; ASCII mode matches printable text. The scan uses the patched overlay values and jumps to the first of up to 200 hits.
What's the size limit?
The practical cap is 512 MB. Only the visible grid window is rendered and edits are stored as a sparse map, so patching a few bytes in a large file is cheap. Browsers may still limit very large files by available memory.
Is the patched file verifiable?
Yes. The diff panel lists every changed offset with the original and new byte and their ASCII glyphs, and the export has exactly the same byte length as the input, so you can compare sizes or run your own checksum on both files.
Is my binary uploaded anywhere?
No. Reading, searching, patching and export all happen in your browser tab. No file data is sent to a server and no byte content is saved to local storage.
References & standards
Related tools
.env Secret Safety Linter
Validate .env syntax and spot likely leaked credentials or placeholder secrets.
.gitattributes Generator
Build .gitattributes rules for line endings, Git LFS, GitHub linguist marks and merge drivers — with a one-line explanation for every rule.
.htaccess Generator
Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth
2D Fluid Dynamics & Particle Physics Sandbox
A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.
A/B Test Sample Size Calculator
Compute required sample size per variant and test duration from baseline conversion rate, minimum detectable effect, alpha and power.
ABA Routing Number Validator
Validate 9-digit US ABA routing numbers with 3-7-1 Mod-10 breakdown.