What is a hex editor?
A hex editor shows the raw bytes of a file as hexadecimal numbers, two digits per byte, next to their ASCII characters. It lets you read and change any byte directly, which a text editor or image viewer cannot do.
Free Tool
A hex editor shows every byte of a file as two hexadecimal digits beside its ASCII character, so you can read and change data that text editors hide. This one opens any file up to 50 MB in your browser, finds bytes or text, decodes numbers at the cursor and saves an edited copy.
Use it to check a file's real type, patch a header or a config value, or debug a binary protocol. The file never leaves your device.
Drop any file here to view its bytes
Up to 50 MB. The file is read in your browser and never uploaded.
Code Card turns your Claude Code, Codex, and OpenClaw sessions into a public profile with activity graphs, token breakdowns, badges, and shareable developer cards. Start with npx code-card.
1
Drop a file onto the editor or press Open file. It is read in your browser and never uploaded.
2
Search for hex bytes or text, or jump to an offset in hex (0x1F) or decimal.
3
Click a byte and type two hex digits, switch to text typing, or write several bytes at the cursor. Undo any step.
4
Download the edited copy, or copy a change report that lists each changed offset.
The first bytes of a file usually identify its format. Search for them, or open a file and check the File signature panel.
| Format | First bytes (hex) |
|---|---|
| PNG | 89 50 4E 47 0D 0A 1A 0A |
| JPEG | FF D8 FF |
| GIF | 47 49 46 38 (GIF8) |
| 25 50 44 46 2D (%PDF-) | |
| ZIP, DOCX, XLSX, JAR | 50 4B 03 04 (PK) |
| Gzip | 1F 8B |
| ELF (Linux) | 7F 45 4C 46 |
| Windows EXE/DLL | 4D 5A (MZ) |
| WebAssembly | 00 61 73 6D |
FAQ
A hex editor shows the raw bytes of a file as hexadecimal numbers, two digits per byte, next to their ASCII characters. It lets you read and change any byte directly, which a text editor or image viewer cannot do.
No. The file is read with your browser's File API and edited in memory on your device. Nothing is sent to a server, and closing the tab discards it.
Not in this version. Edits overwrite bytes in place, so the file keeps its exact size and every offset stays the same, which is what most patches need. Files open up to 50 MB.
Endianness is the byte order of multi-byte numbers. Little-endian stores the least significant byte first and is used by x86 and ARM; big-endian stores the most significant byte first and is used by network protocols and many file headers. The inspector decodes the bytes at the cursor both ways.
Most file formats start with a fixed byte sequence that identifies them, such as 89 50 4E 47 for PNG or 25 50 44 46 (%PDF) for PDF. The editor checks the first bytes and names the format, which helps when a file has the wrong extension.
Turn a sample JSON document into a schema you can validate files against.
Convert XML configs and feeds into JSON in your browser.
Format and validate YAML for CI pipelines and Kubernetes manifests.
Generate random hex, base64 or base62 keys with a secure random source.