Skip to content

Menu

Hex Editor

View and edit text or files as hex dumps with byte-level inspection.

Runs entirely in your browserEncodingFree, no sign-up
Loading tool

01What is Hex Editor?

Sometimes text that looks identical on screen is not identical at all. A hidden byte order mark, a stray tab or a non-breaking space can break a parser, and you only see it when you look at the raw bytes. Hex Editor gives you that view right in the page. It shows data as a classic hex dump, the same layout xxd and hexdump -C use. A byte offset sits on the left, sixteen hex pairs fill each row, and the printable characters appear on the right. Any byte outside the printable ASCII range, 32 to 126, shows as a dot. You can load data two ways. Text Input encodes what you type as UTF-8 using the browser's TextEncoder, which follows the WHATWG Encoding Standard. That is how you can see that é is the two bytes C3 A9 and that most emoji take four. File Upload reads a file locally with the File API and loads its first 64 KB. That is plenty for headers, magic numbers and small binaries. The file never leaves your machine. Click any byte to select it. A detail panel then shows its offset plus its decimal, hex, octal and binary values and its ASCII character. Click the same hex pair again to edit it. Type one or two hex digits and press Enter or click away to apply, or press Escape to cancel. Anything that is not valid hex is simply dropped. If you edit bytes that came from typed text, the text box updates with the new bytes decoded as UTF-8. Copy Hex Dump puts the whole view on your clipboard as plain text. Each line holds an eight-digit offset, the hex pairs padded to a fixed width, and the ASCII column between pipes. It pastes cleanly into a bug report or a diff. A quick example: typing café gives one row, 63 61 66 C3 A9, with caf.. in the ASCII column. The last two dots are the two bytes of é. Now the honest limits. There is no search, no jump-to-offset and no insert or delete, only overwriting existing bytes. You also cannot download a modified file, and anything past 64 KB is not loaded. For patching real binaries, reach for a desktop hex editor or xxd -r on the command line.

Developers chasing encoding bugs, hidden characters or unknown file types who want a quick byte-level look without installing a desktop hex editor. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Hex Editor

  1. Choose Text Input and type or paste text, or choose File Upload and click Choose File (max 64KB).
  2. Read the dump: offsets on the left, sixteen hex pairs per row in the middle, ASCII on the right.
  3. Click a byte to see its decimal, hex, octal and binary values in the detail panel.
  4. Click the selected byte again, type one or two hex digits, and press Enter to apply (Escape cancels).
  5. Click Copy Hex Dump to copy the whole view as text, or Reset to start over.

03Worked examples

Input: Hi!
Result: 00000000 48 69 21 |Hi!| (3 bytes)
All three characters are printable ASCII, so each maps to one byte and appears as itself in the ASCII column. Row padding trimmed for readability.
Input: café
Result: 00000000 63 61 66 C3 A9 |caf..| (5 bytes)
Text is encoded as UTF-8, so é takes two bytes (C3 A9). Each byte outside 32-126 shows as a dot.
Input: a<Tab>b<Enter>
Result: 00000000 61 09 62 0A |a.b.| (4 bytes)
Tab (09) and line feed (0A) are control characters, so they appear as dots.
Input: <BOM>id
Result: 00000000 EF BB BF 69 64 |...id| (5 bytes)
An invisible U+FEFF byte order mark at the start becomes EF BB BF in UTF-8.
Input: Hello, hex editor world!
Result: 00000000 48 65 6C 6C 6F 2C 20 68 65 78 20 65 64 69 74 6F |Hello, hex edito| 00000010 72 20 77 6F 72 6C 64 21 |r world!| (24 bytes)
Rows hold sixteen bytes, so the second row starts at offset 10 hex, which is 16 decimal.
Input: 😀
Result: 00000000 F0 9F 98 80 |....| (4 bytes)
Emoji outside the Basic Multilingual Plane take four bytes in UTF-8.

04Common use cases

  • Identifying a file whose extension is missing or wrong by reading the magic number in its first bytes
  • Seeing exactly which UTF-8 bytes a string with accents, emoji or invisible characters contains
  • Finding a stray byte order mark (EF BB BF) at the start of a script or CSV that a tool refuses to read
  • Checking whether a text snippet uses CRLF (0D 0A) or LF (0A) line endings
  • Pasting a readable hex dump of a small binary header into an issue or code review
  • Flipping a single byte in a small test fixture to see how a parser reacts to bad input

05Tips

  • Magic numbers in the first bytes identify a format no matter what the extension says. 89 50 4E 47 is PNG, FF D8 FF is JPEG and 25 50 44 46 is PDF. 50 4B 03 04 is ZIP (so also DOCX, XLSX and JAR), and 7F 45 4C 46 is ELF. The tool does not label them, so check the first row yourself.
  • A text file starting with EF BB BF has a UTF-8 byte order mark. That can break shebang lines and confuse some CSV importers.
  • A non-breaking space shows up as C2 A0, not 20. It is a common cause of copy-pasted config values that look right but fail to match.
  • When comparing network data, remember byte order. Port 8080 is 1F 90 in network (big-endian) order but 90 1F when stored little-endian.
  • Scan the ASCII column of a binary for readable runs. Version strings, file paths and error messages often stand out between the dots.

06Related concepts

Magic numbers, Binary data, Byte offsets, Endianness, UTF-8.

Frequently Asked Questions

What is Hex Editor?

Hex Editor is a free, browser-based developer tool on AIDToolStack. View and edit text or files as hex dumps with byte-level inspection. It requires no installation or sign-up and works entirely in your browser.

Is Hex Editor free to use?

Yes. No sign-up, no fees and no usage cap.

Does Hex Editor store my data?

No. It runs in your browser; nothing is uploaded.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe