Hex Editor

View and edit files or text as hexadecimal with offset, hex, and ASCII columns.

About This Tool

The Online Hex Editor lets you inspect and modify the raw bytes of any text or file directly in your browser. It displays data in the classic hex dump format used by tools like xxd, hexdump, and od — three side-by-side columns showing the byte offset, hexadecimal values, and their ASCII representation.

All processing is done entirely client-side. Your data never leaves your machine — no server requests are made and nothing is stored or logged. This makes it safe to inspect sensitive files, binary payloads, or proprietary data formats without worrying about privacy.

You can load data in two ways: paste or type text into the text input (which is converted to UTF-8 bytes), or drag-and-drop a file from your desktop. The tool handles files up to 1 MB in the display view. Each row shows 16 bytes with an extra space separating the first and second groups of eight, matching the standard hex dump convention that most developers are familiar with.

Editing is fully interactive. Click any hex byte to type a new two-digit hex value, or click an ASCII character to type a replacement directly. The built-in search supports both hex byte patterns and ASCII text, and the go-to-offset feature lets you jump to any position instantly. When you are done editing, export the modified data as a binary file download, or copy the entire hex dump as formatted text to your clipboard.

Whether you are debugging binary protocols, inspecting file headers, reverse-engineering data formats, or simply learning how text is represented in memory, this hex editor provides a fast, zero-install solution that runs anywhere a modern browser does.

How to Use

  1. Choose an input mode: Text to type or paste content, or File to load a binary file.
  2. In text mode, type or paste your text. The hex dump updates instantly as you type.
  3. In file mode, drag and drop a file onto the drop zone, or click browse to select a file from your computer.
  4. Click any hex byte in the hex column to edit it. Type a two-digit hex value and press Enter or Tab to move to the next byte.
  5. Click any character in the ASCII column to edit it directly. Type a character and the cursor advances automatically.
  6. Use the Search button to find hex byte sequences or ASCII text within the data. Navigate between matches with Prev and Next.
  7. Click Copy (or press Ctrl+Shift+C) to copy the formatted hex dump, or Export to download the modified data as a file.

Popular Hex Editor Examples

View all 20 hex editor examples →

FAQ

Is my data safe?

Yes. All processing happens in your browser. No data is transmitted to any server, and nothing is stored or logged.

What is a hex dump?

A hex dump is a representation of binary data that shows each byte as a two-digit hexadecimal number alongside its ASCII equivalent. It is the standard way to inspect raw file contents and is used by command-line tools like xxd, hexdump, and od.

How large a file can I view?

The hex display supports up to 1 MB of data. If your file is larger, only the first 1 MB is shown. This limit ensures the browser remains responsive. For most inspection tasks -- checking file headers, examining binary protocols -- the first megabyte is more than sufficient.

How do I edit a byte?

Click on any byte in the hex column. An inline editor appears where you can type a two-digit hex value (00-ff). Press Enter to confirm and advance to the next byte, or Escape to cancel. You can also click a character in the ASCII column and type a replacement character directly.

Can I search for specific bytes?

Yes. Click the Search button to open the search bar. Choose between hex mode (enter bytes like 48 65 6c 6c 6f) or ASCII mode (type text like Hello). The tool highlights all matches and lets you navigate between them.

How do I save my changes?

Click the Export button to download the modified data as a binary file. You can also click Copy to copy the formatted hex dump text to your clipboard.

What do the dots in the ASCII column mean?

Non-printable characters (bytes outside the range 0x20-0x7E) are displayed as a dot (.) in the ASCII column. This is the standard convention used by hex dump tools to keep the display readable.

Related Tools