How to view, edit and search a binary file in your browser (hex, text and bit-sequence search)
Published:
🔢

A step-by-step guide to the ClearEvo Hex Editor - a free online hex editor: open any file, edit bytes in place, and search by hex, text, numbers or bit sequences, all in your browser with nothing uploaded. (Background in the original post.)
View and edit
- Open https://www.clearevo.com/hex/ (any modern browser) and open your file - it’s processed entirely in your browser, nothing is uploaded (Google Analytics for visit stats only).
- Click a byte and type hex digits to overwrite it. Arrow keys move around; modified bytes are highlighted.
- Save the edited copy back out. (Overwrite-only today - no insert/delete of bytes yet.)
Search four ways
- Hex sequence - e.g.
DE AD BE EF, separators optional. - Text - a plain string, encoded and searched as bytes.
- Number - type a decimal (or
0xhex) value, pick little/big endian, and it’s searched octet-aligned. The type is previewed Rust-style (u8/u16/u32/u64, automaticallyi8/i16/… when negative) - auto-picks the smallest fit, or select one yourself. - Bit sequence at any bit offset - paste a pattern like
101100111and it’s found even when it straddles octet boundaries, reported as byte offset + bit offset. This is the one I built it for: bit-packed telecom/GNSS payloads where fields don’t align to bytes.
Searches wrap around; Enter or C-s jumps to the next match. There’s also a goto-offset box (hex).
This tool is free software and open source: ykasidit/clearevo_online_tools - issues and pull requests welcome.
คู่มือการใช้งาน ClearEvo Hex Editor ทีละขั้นตอน - hex editor ออนไลน์ฟรี: เปิดไฟล์อะไรก็ได้ แก้ไข byte ได้ในตัว และค้นหาด้วย hex ข้อความ ตัวเลข หรือ bit sequence ทั้งหมดทำงานในเบราว์เซอร์ของคุณโดยไม่มีการอัปโหลดไฟล์ (อ่านที่มาของเครื่องมือนี้ได้ในโพสต์ต้นทาง)
ดูและแก้ไข
- เปิด https://www.clearevo.com/hex/ (ใช้เบราว์เซอร์รุ่นใหม่ตัวไหนก็ได้) แล้วเปิดไฟล์ของคุณ - ไฟล์ถูกประมวลผลในเบราว์เซอร์ทั้งหมด ไม่มีการอัปโหลด (มีเพียง Google Analytics สำหรับนับสถิติผู้เข้าชมเท่านั้น)
- คลิกที่ byte แล้วพิมพ์เลข hex เพื่อเขียนทับ ใช้ปุ่มลูกศรเลื่อนตำแหน่งได้ byte ที่ถูกแก้ไขจะถูกไฮไลต์ให้เห็น
- บันทึกสำเนาที่แก้ไขแล้วออกมาเป็นไฟล์ใหม่ (ตอนนี้ทำได้เฉพาะเขียนทับ - ยังแทรกหรือลบ byte ไม่ได้)
ค้นหาได้ 4 แบบ
- Hex sequence - เช่น
DE AD BE EFจะใส่ตัวคั่นหรือไม่ก็ได้ - ข้อความ - พิมพ์สตริงธรรมดา ระบบจะ encode แล้วค้นหาเป็น byte
- ตัวเลข - พิมพ์ค่าฐานสิบ (หรือ hex ขึ้นต้นด้วย
0x) เลือก little/big endian แล้วระบบจะค้นหาแบบตรงขอบ octet มีพรีวิวชนิดข้อมูลแบบ Rust ให้ดู (u8/u16/u32/u64และเปลี่ยนเป็นi8/i16/… อัตโนมัติเมื่อค่าติดลบ) - ระบบเลือกชนิดที่เล็กที่สุดที่พอดีให้อัตโนมัติ หรือจะเลือกเองก็ได้ - Bit sequence ที่ bit offset ใดก็ได้ - วางแพตเทิร์นอย่าง
101100111แล้วระบบจะหาเจอแม้แพตเทิร์นจะคร่อมขอบ octet โดยรายงานผลเป็น byte offset + bit offset ฟีเจอร์นี้คือเหตุผลหลักที่ผมสร้างเครื่องมือนี้ขึ้นมา: payload ด้านโทรคมนาคม/GNSS ที่อัดข้อมูลแบบ bit-packed ซึ่งฟิลด์ไม่ตรงขอบ byte
การค้นหาวนกลับไปต้นไฟล์ให้เอง กด Enter หรือ C-s เพื่อกระโดดไปผลลัพธ์ถัดไป และมีช่อง goto offset (เป็นเลข hex) ให้ด้วย
เครื่องมือนี้เป็นซอฟต์แวร์เสรีและโอเพนซอร์ส: ykasidit/clearevo_online_tools - ยินดีรับ issue และ pull request ครับ
คำแปลภาษาไทยนี้มี AI ช่วยเรียบเรียง — หากพบจุดที่อ่านแล้วขัด แจ้งได้ในคอมเมนต์ครับ
Full disclosure: this post - and any code or tool it describes - was co-authored with Claude (Anthropic’s AI, via Claude Code). I directed, guided and reviewed. I don’t want to pretend otherwise.
Leave a Comment