Free Tool

Free Hex Editor Online

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.

Show off the hours you spend in the bytes

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.

Get Code Card

How to use it

  1. 1

    Open a file

    Drop a file onto the editor or press Open file. It is read in your browser and never uploaded.

  2. 2

    Find the bytes

    Search for hex bytes or text, or jump to an offset in hex (0x1F) or decimal.

  3. 3

    Edit

    Click a byte and type two hex digits, switch to text typing, or write several bytes at the cursor. Undo any step.

  4. 4

    Download

    Download the edited copy, or copy a change report that lists each changed offset.

Common file signatures

The first bytes of a file usually identify its format. Search for them, or open a file and check the File signature panel.

FormatFirst bytes (hex)
PNG89 50 4E 47 0D 0A 1A 0A
JPEGFF D8 FF
GIF47 49 46 38 (GIF8)
PDF25 50 44 46 2D (%PDF-)
ZIP, DOCX, XLSX, JAR50 4B 03 04 (PK)
Gzip1F 8B
ELF (Linux)7F 45 4C 46
Windows EXE/DLL4D 5A (MZ)
WebAssembly00 61 73 6D

FAQ

Hex editor questions

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.

Is my file uploaded anywhere?

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.

Can I insert or delete bytes?

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.

What is little-endian vs big-endian?

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.

What is a file signature or magic number?

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.